EmbDev.net

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


Author: Miroslav Fiala (Guest)
Posted on:

Rate this post
0 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

Author: Martin Thomas (mthomas) (Moderator)
Posted on:

Rate this post
0 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.

Reply

Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]




Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.