AnsweredAssumed Answered

Tcl-scripting the Debugger Shell

Question asked by Konrad Anton on Jun 5, 2012
Latest reply on Jun 6, 2012 by Konrad Anton

Hello all,

 

I've read Erich Styger's article http://blogs.freescale.com/2012/04/27/scripting-welcome-to-the-debugger-shell/ on the Debugger Shell. Apparently, the Debugger Shell is based on Tcl. 

 

Is there a way to read registers and memory values into Tcl variables so that I can write a script which automatically parses Kinetis exception stack traces and tells me the last known PC (7th register in exception stack frame on either SP_MAIN or SP_PROCESS)?  

Outcomes