Øyvind Harboe wrote:
> Can you show an example of scripting used in configuration?
> 
> I'm trying to come up with a killer example :-)

Not pure configuration, but IMHO configuration and commandline usage should be 
the same (as far as possible):

 - defining user-defined commands. During development, I often need a sequence 
of 3-4 commands, eg. reset targeet - erase bootloader area - program flash - 
resume target. If I could define my own command for that using the scripting 
language, this would be great.

 - Production/service environment. A script could reset the target, read the 
hardware ID, select the approproate files for that hardware, and then flash the 
target. Without scripting, this requires some intelligence wrapped around 
OpenOCD.

 - calculating special checksums before flashing, embedding serial numbers etc. 
might also be a useful application.

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

Reply via email to