Re: [Openocd-development] TCL unkown ocd_mem2array, was: dap command for OMAP and tcl scripting

2009-05-10 Thread Zach Welch
On Sun, 2009-05-10 at 22:31 +0200, Magnus Lundin wrote: > > > > So some progress, but nothing more ;) > > > > (all: Above error is from TCL script containing "ocd_mem2array > > romtable_cid 32 [expr ($debugbase&0xF000) + 0xFF0] 4") > > > > Do you have any special patches or do I need any speci

Re: [Openocd-development] TCL unkown ocd_mem2array, was: dap command for OMAP and tcl scripting

2009-05-10 Thread Magnus Lundin
> > So some progress, but nothing more ;) > > (all: Above error is from TCL script containing "ocd_mem2array > romtable_cid 32 [expr ($debugbase&0xF000) + 0xFF0] 4") > > Do you have any special patches or do I need any special configure > option to enable (& compile) tclapi.c? > Standard bui

Re: [Openocd-development] TCL unkown ocd_mem2array, was: dap command for OMAP and tcl scripting

2009-05-10 Thread Zach Welch
On Sun, 2009-05-10 at 15:20 +0200, Dirk Behme wrote: [snip] > As already mentioned, looking into the code: ocd_mem2array is > registered in tclapi_register_commands() in tclapi.c. But: It seems to > me that tclapi_register_commands() isn't called anywhere, and even > worse, tclapi.c isn't compi

[Openocd-development] TCL unkown ocd_mem2array, was: dap command for OMAP and tcl scripting

2009-05-10 Thread Dirk Behme
Magnus Lundin wrote: > Dirk Behme wrote: >> Magnus Lundin wrote: >>> Hi >>> Rev 1547, Added two commands that just returns values in hex, good for >>> scripting. >>> >>> >dap baseaddr >>> >dap apid >>> >>> Next I started playing with Tcl scripts that scans the ROM table and >>> installed compo