On Mon, Jan 13, 2014 at 6:29 PM, Ram Bhamidipaty <[email protected]> wrote:
>
> The TCL instruction sequence looks like this:
>
> reset halt
> load_image ...
> reg 15 0x...
>
> sleep 1000
>
> resume
>
> ---------
>
> I'm using a versaloon JTAG adapter:
>
> interface vsllink
> vsllink_usb_serial "0123456789ABCDEF00000000"
> transport select jtag
>
> adapter_khz 1000
>
> jtag newtap auto0 tap -expected-id 0x4ba00477 -irlen 4
> target create npcd314h cortex_m -chain-position auto0.tap
>
> cortex_m reset_config vectreset
>
> init
>
> ---------
>
> I can get the same error even if I use a TI ICDI eval board as my JTAG
> adapter.
>
> The -d3 debug output is below.
>
>
> The overrun appears to happen after I call resume.
So what does the code you're resuming do? It's expected for the debugger to
lose debug connectivity if the code puts the core into sleep mode. Or
disable JTAG pins for that matter. Try stepping instead of resuming and see
how far you get.
/Andreas
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel