EmbDev.net

Forum: ARM programming with GCC/GNU tools AT91SAM7X128 don't run after reset, ARM


von Miroslav Fiala (Guest)


Rate this post
useful
not useful
Hello, I have a problem with IAR and SAM7X128, I've tried to download
IAR example into the SAM and it works fine (blinks LEDs...) but only as
long as I don't switch the power off. After I reset the MCU by power
down, it does nothing. When I download the program into the MCU againt,
it starts to work again (till I reset it again). The program runs on
adresses about 0x00000500 so it is in FLASH not RAM...

Thank You a lot, Mirek

von Martin T. (mthomas) (Moderator)


Rate this post
useful
not useful
Miroslav Fiala wrote:
>...
> The program runs on
> adresses about 0x00000500 so it is in FLASH not RAM...
>...

Sure? Check the settings in the IDE again, maybe it's a "RAM-debug"
setting so Code gets uploaded and remapping is done and SRAM is mapped
to 0x0. You may also check the bits in the NVM.

Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
No account? Register here.