Flash settings, help

I use Atmel AT77SM0101BCB02VEK (ARM920t) board and I want to debug my application on it with help of openocd, gdb, amontec JTAG-TINY.

I’d like to know howto set flash related commands in openocd config file.

I dont understand which driver to use in flash bank command, which address and size, I also dont understand “working_area” command. Does exist some doc/howto containing basics for flashing with openocd ?

Thanks,

Spape

spape:
I use Atmel AT77SM0101BCB02VEK (ARM920t) board and I want to debug my application on it with help of openocd, gdb, amontec JTAG-TINY.

I’d like to know howto set flash related commands in openocd config file.

I dont understand which driver to use in flash bank command, which address and size, I also dont understand “working_area” command. Does exist some doc/howto containing basics for flashing with openocd ?

Thanks,

Spape

Martin Thomas has a nice howto for FLASHing with OpenOCD.

http://www.siwawi.arubi.uni-kl.de/avr_p … index.html

The “working_area” command is related to the fact that FLASH programming requires downloading a small application into RAM to do the actual programming. The command allows you to specify where in RAM you want it to go, and also to specify if you want that RAM backed up before it is overwritten.

–Dave