hi Paul:
2013/5/8 Paul Fertser <fercer...@gmail.com>
> 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,
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and
their applications. This 200-page book is written by three acclaimed
leaders in the field. The early access version is available now.
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel