From: loody <mi...@gm...> - 2013-05-09 05:57:32
|
hi Paul: 2013/5/8 Paul Fertser <fer...@gm...> > On Wed, May 08, 2013 at 09:26:09PM +0800, loody wrote: > > I add below 2 lines at omap4460.cfg > > etm config $_TARGETNAME 16 normal full etb > > etb config $_TARGETNAME $_CHIPNAME.etb > > but it said > > Runtime Error: ./build/share/openocd/scripts/target/omap4460.cfg:129: > invalid > > command name "etm" > > The idea is correct but in current OpenOCD sources these commands are > enabled only for arm7-arm9 and arm11 targets, not for cortex-a. > > You can try to add .chain = etm_command_handlers to cortex_a.c if you > believe it's compatible. > I follow up your instructions and I get below message Error: Invalid command argument ETB: TAP omap4460.etb does not exist Runtime Error: ./build/share/openocd/scripts/target/omap4460.cfg:130: in procedure 'script' at file "embedded:startup.tcl", line 58 at file "ti_pandaboard_es.cfg", line 3 in procedure 'etb' called at file ".//build/share/openocd/scripts/target/omap4460.cfg", line 130 should I add .chain = etb_command_handlers as well? Meanwhile, shall we let openocd know where the base address of etm/etb is? if so far openocd doesn't support etm/etb in cortex, do I have the pleasure try to realize it? ^^ Appreciate your kind help, |