SparkFun Forums 

Where electronics enthusiasts find answers.

Open source ARM Debugger
By grichard
#16202
Well I get stuck with my jtagkey and openOCD, i'm looking for some instructions, and I wonder also if with GDB it's possible to load firmware directly into flash memory.

Best regards.

Hardware: JTAGKey Amontec, ARM7 devBoard STR711.
Software: Eclipse, OpenOCD, Telnet, GDB, Insight
OS+tools: windows, cygwin, tortoiseSVN
User avatar
By ntfreak
#16325
it is possible, but the flash driver is quite slow within openocd. I am meaning to update it, but busy with other stuff at the moment - STR9 support.

flash bank str7x 0x40000000 0x00040000 0 0 STR71x 0
flash bank str7x 0x400C0000 0x00004000 0 0 STR71x 0
The above lines will anable the flash for the str71x.

Also have a look at Martin Thomas's website:
http://www.siwawi.arubi.uni-kl.de/avr_p ... index.html

Flash programming can also be done with IDEaliST - this is a free ide/toolchain from Anglia - www.anglia.com/columbus. Openocd is included as part of the toolchain.

Regards
Spen