Hi,

I just wanted to report success in writing a GPIO (bitbanging) JTAG driver to 
program a PIC32 coprocessor from our ARM board - thanks to OpenOCD!

Because the driver is fairly system specific (and I don't have time to re-work 
it ATM) I deem it not worthy for submission back upstream. However if someone 
feels it could be of use to them, feel free to email me.

As a side note, when launching openocd, is there a way to pass in a variable 
that can be referenced in scripts? Specifically, I want to be able to just 
specify a file name of the file I want to write to flash, rather than hardcode 
it into the script. (Or write it to a temp file)

For example, a script along the lines of:

init
reset init
flash write_image erase $FILENAME hex 

Could be launched with:

openocd -f program_script.oocd -s FILENAME=blah.hex


Anyway, thanks!

Cheers
Marc
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to