Dear All,
I am a beginner in this area, so …
I have this new Connect ME Development Kit and a digi ConnectME with JTAG.
I have tried to compile(gnu and cygwin) some examples in NetOS 6.3 and run it thru the Raven and gdbtk debuger. Everything works.
Now I want to burn the original factory-defaults image back into the connectME and don’t have the luck.
I followed the instruction on the “NET+Works with GNU Tools Programmer’s Guide” regarding “Restoring the contents of flash ROM”(page 74). I make the rom.bin in bsp/platforms/connectme and use the naftpapp(The ram based ftp server) to burn the rom.bin into the flash first. The ftp client complains nothing but the hyperterminal responds “ftp_flash_stor NAFlashWrite() error -2.” when I quit the ftp client. Well, then I thought I could just ignore it and restart the naftpapp and burn the image.bin of naftpapp, the ftp client complains this time and the Hyperterminal show the “ftp_flash_stor NAFlashWrite() error -2.” again. Following is a snip of my ftp client screen…
$ ftp 10.1.3.222
Connected to 10.1.3.222.
220 NET+OS 6.3 FTP server ready.
Name (10.1.3.222:henrichen): (none)
230 User (none) logged in.
Remote system type is NAFTPAPP.
ftp> bin
200 Type set to I.
ftp> put image.bin
200 PORT command Ok.
150 About to open data connection.
ftp: netout: Connection reset by peer
552 Requested file action aborted. Exceeded storage allocation.
I checked the naftpapp.c source code and found the Hyperterminal error is a result of NAFlashWrite().
Can you experts give me a hint on how to solve this problem? Thanks.
Henri