Wed Jun 22 03:00:38 CEST 2011

Trouble with JTAG clock

If I read correctly, the macro __main_clock_init__ in:

Will switch the clock back to slow clock for a bit, which might be the
reason why the JTAG gets messed up for single stepping through that
region for clocks higher than say 10 kHz.

Looks like this is eCosPro 3.0.9 only, for eCos it has been fixed[1].

Anyways, stepping through this clock switching code at 100kHz still
works, though 1000kHz doesn't.  The following gdb command is quite

define vstepi
       x/10i $pc-8

[1] http://www.mail-archive.com/ecos-patches@ecos.sourceware.org/msg01790.html