> For example, a script along the lines of:
>
> init
> reset init
> flash write_image erase $FILENAME hex
Use Tcl?
Write a proc:
proc someproc {FILENAME} {
init
reset init
flash write_image erase $FILENAME hex
}
openocd -f program_script.oocd -c "someproc blah.hex"
--
Øyvind Harboe
Can Zylin Consulting help on your project?
US toll free 1-866-980-3434 / International +47 51 87 40 27
http://www.zylin.com/zy1000.html
ARM7 ARM9 ARM11 XScale Cortex
JTAG debugger and flash programmer
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development