I test it with SAM-BA v2.15 and SAM4S-EK2
compiled a very simple bin image just print out board information.
write this image to 0x400000 (Bank 0).
Also write it to 0x500000 (Bank 1).
Reset board, I can see information from UART.
Then connect SAM-BA again,
Under "Scripts", select "Select Flash1 for boot (GPNVM2)" and click "Execute" button. Reset board, no information out from UART.
Board can not boot up from Bank1.
Can anyone help me to figure it out my problem please?
8.1.4 Boot Strategies
The system always boots at address 0x0. To ensure maximum boot possibilities, the memory layout can be changed via
A general purpose NVM (GPNVM) bit is used to boot either on the ROM (default) or from the Flash.
The GPNVM bit can be cleared or set respectively through the commands “Clear General-purpose NVM Bit” and “Set
General-purpose NVM Bit” of the EEFC User Interface.
Setting GPNVM Bit 1 selects the boot from the Flash, clearing it selects the boot from the ROM. Asserting ERASE clears
the GPNVM Bit 1 and thus selects the boot from the ROM by default.
Setting the GPNVM Bit 2 selects bank 1, clearing it selects the boot from bank 0. Asserting ERASE clears the GPNVM
Bit 2 and thus selects the boot from bank 0 by default.
Discussion around product based on ARM Cortex M4 core.
1 post • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest