Øyvind Harboe wrote: >> Øyvind Harboe wrote: >>> Can anyone come up with a good example of how scripting >>> could be useful in configuration scripts? >> just as was mentioned already - mass production flash programming ant >> testing, >> but this is pretty important task in my point of view. > > Please explain "ant testing". (I use ant everyday, but I'm not sure it's > the same ant as you are referring to :-)
...and... of course, just a typo ;-) I do not know how it got there, despite I type with all 10 fingers but I should be more careful and read it back what. Spell checker certainly did not complain, as it is a valid word :-) > Could you explain the mass production scenario a bit more? Briefly a script which does steps like: 1) upload a routine doing basic hw tests and run it 2) check for result when the testing routine finishes 3) STOP if something went wrong - CONDITIONAL STEP, cannot be done with current batch command processing! 4) programming of flash memory 5) verification, STOP on error 6) generate serial number, program it to EEPROM and append it along with date and time to a file 7) return OK to calling process so that we can go on with next part I am sure that more complex examples may be found for hw containing more than one target or an FPGA etc... Pavel _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development