2
0
mirror of git://git.code.sf.net/p/openocd/code synced 2025-07-19 10:08:37 +10:00
openocd/src/tcl/commands.tcl
oharboe e9488b9ad8 tcl tinkering.
git-svn-id: svn://svn.berlios.de/openocd/trunk@748 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-07-04 14:05:08 +00:00

19 lines
523 B
Tcl

# implements Tcl procedures/functions
proc peek {address} {
return [openocd_throw "mdw $address"]
}
# Production command
# FIX!!! need to figure out how to feed back relevant output
# from e.g. "flash banks" command...
proc board_produce {filename serialnumber} {
openocd "reset init"
openocd "flash write_image erase $filename [flash] bin"]]
openocd "verify_image $filename [flash] bin"]]
echo "Successfully ran production procedure"
}
proc board_test {} {
echo "Production test not implemented"
}