Hi Segger folks,
I'm trying to boot a custom board based on the Atmel AT91SAM9261. I have a 16-bit NOR flash on CS0 which appears to work (I can boot into a GPIO toggler application running directly out of Flash) but I'm not sure how to get booted into the embOS environment. I'm using the IAR development environment.
My attempts to boot from flash have yielded an unresponsive board. When I reattach to it with the J-Link, it appears to be stuck in a loop hitting the undefined instruction exception vector repeatedly.
Is there any sample code that shows booting from NOR flash, copying the application into internal SRAM, and remapping?
Thanks much.
Michael
I'm trying to boot a custom board based on the Atmel AT91SAM9261. I have a 16-bit NOR flash on CS0 which appears to work (I can boot into a GPIO toggler application running directly out of Flash) but I'm not sure how to get booted into the embOS environment. I'm using the IAR development environment.
My attempts to boot from flash have yielded an unresponsive board. When I reattach to it with the J-Link, it appears to be stuck in a loop hitting the undefined instruction exception vector repeatedly.
Is there any sample code that shows booting from NOR flash, copying the application into internal SRAM, and remapping?
Thanks much.
Michael