Hi, i have a proprietary hardware with Netx100 128MB of SDRAM and a SPI flash SST25VF016B of 16Mbit.
The problem is that bootwizard fail to detect SPI flash.
I have append in netx.xml the SDRAM parameter and a SPI flash parameter (speed = 25MHz).
Bootwizard correctly download the bootloader into SDRAM and the flasher into Internal RAM but when the flasher is executed it fail to detect SPI flash.
The message from bootwizard is:
> 10.47.28: read_data32 from 00000000: ea080002 10.47.28: romloader_uart(01CA1C88): reset vector: 0xEA080002 10.47.28: read_data32 from 00200008: 00003002 10.47.28: romloader_uart(01CA1C88): version value: 0x00003002 10.47.28: romloader(01CA1C88): found chip netX100 with romcode ABoot 10.47.28: write_data32 10001ff0=00000000 10.47.28: write_data32 10001ff4=00000000 10.47.28: write_data32 10001ff8=00000000 10.47.28: write_data32 10001ffc=00000000 10.47.28: connected 10.47.28: getSdramParams: SD_2xMT48LC32M16A2P 1 10.47.28: SDRAM type: SD_2xMT48LC32M16A2P Ctrl: 30d0221 Timing: 3c233a2 Size: 8000000 10.47.28: configuring SDRAM on netx100/500: ctrl=30d0221 timing=3c233a2 10.47.28: write_data32 00100140=00000000 10.47.28: write_data32 00100144=03c233a2 10.47.28: write_data32 00100140=030d0221 10.47.28: uploading image to sdram 10.47.28: romloader_uart(01CA1C88): write_image 80000000 10.47.28: romloader_uart(01CA1C88): Command: LOAD 80000000 0001F000 8A41 10.47.39: ../bootwizard/flasher_netx500.bin normalised to: C:\Programmi\Hilscher GmbH\Bootwizard\bootwizard\flasher_netx500.bin OK 10.47.39: reading file C:\Programmi\Hilscher GmbH\Bootwizard\bootwizard\flasher_netx500.bin 10.47.39: 31800 bytes read 10.47.39: uploading flasher to intram 10.47.39: romloader_uart(01CA1C88): write_image 00008000 10.47.39: romloader_uart(01CA1C88): Command: LOAD 00008000 00007C38 15F1 10.47.42: writing parameters 10.47.42: write_data32 00018000=ffffffff 10.47.42: write_data32 00018004=0001800c 10.47.42: write_data32 00018008=00000000 10.47.42: write_data32 0001800c=00010000 10.47.42: write_data32 00018010=00000000 10.47.42: write_data32 00018014=80000000 10.47.42: write_data32 00018018=0001f000 10.47.42: write_data32 0001801c=00000002 10.47.42: write_data32 00018020=00000000 10.47.42: running flasher 10.47.42: romloader_uart(01CA1C88): call 00008000(00018000) 10.47.43: . *** Flasher start *** 10.47.43: . Data pointer: 0x00018000 10.47.43: . Init parameter: 0x0001800C 10.47.43: . Application parameters: 10.47.43: . parameter version: 0x00010000 10.47.43: . operation mode: 0x00000000 10.47.43: . data start: 0x80000000 10.47.43: . data size: 0x0001F000 10.47.43: . boot type: 0x00000002 10.47.43: . device offset: 0x00000000 10.47.43: . Operation Mode: Flash 10.47.43: . Device :SPI flash 10.47.43: . Detecting SPI flash... 10.47.43: ! failed to detect flash! 10.47.43: progressCall: > 10.47.43: read_data32 from 00018000: 00000001 10.47.43: Failed: Error during flashing or verify error. 10.47.45: romloader_uart(01CA1C88): disconnect 10.47.45: romloader_uart(01CA1C88): destructor 10.47.45: romloader_uart: close instance COM4 10.47.45: deleted romloader at 01CA1C88
The SPI flash is correctly supplied and Netx correctly supply the clock @ 25MHz.
The question is: what kind of operation bootwizard does when "Detecting SPI Flash...." ???
Thank's.
Matias
Andreas Jacob
Hilscher Gesellschaft fuer Systemautomation mbH
Hi matias,
I am very sorry, but your used type of SPI Flash is not supported by the Bootwizard.
That is the reason, why the Bootwizard can not detect your SPI flash.
AFAIK can the Bootwizard only support flash types with page erase.
Currently are the following flash types supported by the Bootwizard:
Atmel:
AT25F1024A
AT26DF161A
AT26DF161
AT26DF321
AT45DB011B
AT45DB021B
AT45DB041B
AT45DB081D
AT45DB081B
AT45DB161D
AT45DB161B
AT45DB321B
AT45DB321C
AT45DB321D
AT45DB642D
NexFlash:
NX25P10
NX25P20
NX25P40
SST:
SST25VF020
SST25VF020A
SST25VF040
SST25VF040A
SST25LF80A
SST25VF010
SST25VF010A
SST25VF512
SST25VF512A
PMC:
PM25LV512
PM25LV010
SA25F005
Saifun:
SA25F010
SA25F020
M25P40
ST:
M45PE40
M45PE80
M25P32
M25P64
M25PE80
Spansion:
S25FL016A
S25FL032A