Hello,
I'm using the Yagarto toolchain with OpenOCD for debugging and flashing
my Olimex SAM7-P256 devel board. This far everything works just fine.
What I would like to do is to "flash" my binary into the RAM of the
AT91SAM7S256 and not into FLASH. Is that possible using OpenOCD or do I
have to use SAM-BA for that ?
Thanks and best regards,
Mike

Mike Kriegel wrote:
> Hello,>> I'm using the Yagarto toolchain with OpenOCD for debugging and flashing> my Olimex SAM7-P256 devel board. This far everything works just fine.> What I would like to do is to "flash" my binary into the RAM of the> AT91SAM7S256 and not into FLASH. Is that possible using OpenOCD or do I> have to use SAM-BA for that ?
OpenOCD can be used to place a load image into RAM, see for example
http://svn.berlios.de/wsvn/openocd/trunk/testing/e...
Take care to configure the remapping correctly when using interrupts.
See the Atmel software-package AT91SAM7S-EK for examples how this can be
done.

Martin Thomas wrote:
> Mike Kriegel wrote:>> Hello,>>>> I'm using the Yagarto toolchain with OpenOCD for debugging and flashing>> my Olimex SAM7-P256 devel board. This far everything works just fine.>> What I would like to do is to "flash" my binary into the RAM of the>> AT91SAM7S256 and not into FLASH. Is that possible using OpenOCD or do I>> have to use SAM-BA for that ?>> OpenOCD can be used to place a load image into RAM, see for example> http://svn.berlios.de/wsvn/openocd/trunk/testing/e...> Take care to configure the remapping correctly when using interrupts.> See the Atmel software-package AT91SAM7S-EK for examples how this can be> done.
Thanks for your quick reply, Martin! I'll try it when I get back from
work. I've already read a couple of things about that remapping, but
haven't understood it completely yet. I just started using ARM a couple
of days ago and I've just managed to blink some LED's and to read some
buttons so far. No interrupts yet, but I'll get there....
thanks by now ...
Mike