I use AT92sam9160-EK developing kit and have a small boot loader file that I am trying to load in to NandFlash via samba tool.
I do the following via samba tool.
I enable the Nandflash and write the boot file into Nandflash,
i can see the .bin file in SDRam but not in Nandflash.
the following response I get from the processor.
-I- NANDFLASH::Init (trace level : 5)
-I- Loading applet isp-nandflash-at91sam9260.bin at address 0x20000000
-I- Memory Size : 0x10000000 bytes
-I- Buffer address : 0x200047E4
-I- Buffer size: 0x20000 bytes
-I- Applet initialization done
Write file to NandFlash:
-I- Send File C:/Projects/Dameca WinGM ARM/FirstBootLoader/BootLoader.bin at address 0x0
GENERIC::SendFile C:/Projects/Dameca WinGM ARM/FirstBootLoader/BootLoader.bin at address 0x0
-I- File size : 0x99C byte(s)
-I- Writing: 0x99C bytes at 0x0 (buffer addr : 0x200047E4)
-I- 0x99C bytes written by applet
When i Hardware reset the system I can't find the .bin file in the Memory Display in samba tool.
I have hugged the scope to the CS pin and it seems write the file to the Nandfalsh, but can’t verify that the code is located in the Nadflash otherwise.
Any help will be appreciated.
This forum is for users of Atmel's SAM Series and who are interested in using WinCE OS.
2 posts • Page 1 of 1
- Location: Mounds View, MN
Item 1, the boot file has to have a special vector set in order to boot properly. This is done automatically by the "Send Boot File" command in Sam-ba. Also, I don't think Sam-Ba can view NAND Flash because it is not random access, but I could be wrong. It can download or compare to a file, but you have to use a modified boot file withthe special vector set to compare it against.
Who is online
Users browsing this forum: No registered users and 1 guest