EDIT: My mistake, I should of read the errata on the datasheet more closely. It states that NANDFlash boot isn't functional with my revision of the at91sam9261.
Thanks, NB
------------------------------------------------------
----------------------OLD----------------------------
------------------------------------------------------
An update; I read a few of the older posts here (~1 year) and they (
viewtopic.php?p=8606) seem to say that the AT91SAM9261 doesn't support NAND flash booting? Is this true? The references provided don't match up with what is being said.
Looking at the Preliminary Summary for the AT91SAM9261 it says "8.1.2.1 BMS = 1, Boot on Embedded ROM; DataFlash Boot > NANDFlash Boot > SAM-BA Boot Loader". The Preliminary also states "The NANDFlash Boot program searches for a valid application in the NANDFlash memory."
I do indeed have BMS=1 (Open), J21 Jumper Removed > Reset > J21 Jumper Placed on Pin 1 & 2, Flashing.
By looking at the log, it looks like the command "NANDFLASH::sendBootFile nandflash_at91sam9261ek.bin" is run successfully; Is the "buffer addr : 0x200047FC" the problem?
-----LogFile-----
[SNIP]
-I- === Load the bootstrap: nandflash_at91sam9-ek in the first sector ===
GENERIC::SendFile nandflash_at91sam9261ek.bin at address 0x0
-I- File size : 0x1244 byte(s)
-I- Writing: 0x1244 bytes at 0x0 (buffer addr : 0x200047FC)
-I- 0x1244 bytes written by applet
[SNIP]
However with a reset, only the "ROMBoot" message is shown in the HyperTerminal for me. This means it doesn't find a valid program in DataFlash, then doesn't find a valid program in NANDFlash. Is there something special I have to do after sending the nandflash_at91sam9261ek.bin file via the SAM-BA's NANDFlash Send Bootfile Script?
I've also tried buildroots AT91Bootstraps (at91sam9261ek-nandflashboot-2.3.4.bin), and it results in the same as the 1st.
Would anyone have any possible suggestions, or confirm that NAND Flash Boot isn't supported? Thanks
------------------------------------------------------