Re: [Openocd-development] arm11: imx31: Push Instructions freeze the debugger

2010-03-12 Thread Alberto Panizzo
On mer, 2010-03-10 at 23:59 +0100, Alberto Panizzo wrote: > But when a "push"(STMDB) instruction is raised, OpenOCD can not step > over that instruction: > it maintain the target status "running". > > A breakpoint over that instruction is never reached. Sorry,

Re: [Openocd-development] imx31.cpu: ran after reset and before halt ...

2010-03-11 Thread Alberto Panizzo
On mer, 2010-03-10 at 15:34 +0100, Alberto Panizzo wrote: > Thanks David, > On mar, 2010-03-09 at 09:17 -0800, David Brownell wrote: > > On Tuesday 09 March 2010, Alberto Panizzo wrote: > > > The first problem I am facing is the Warning: "ran after reset an before >

[Openocd-development] arm11: imx31: Push Instructions freeze the debugger

2010-03-11 Thread Alberto Panizzo
I am working with an i.MX31 based board (Armadillo500) with a JtagKey-2 dongle. I have setup an OpenOcd connection where I can: - read/write to the board NOR flash - read/write the memory - connect the gdb - set/clear breakpoints But when a "push"(STMDB) instruction is raised, OpenOCD can not ste

Re: [Openocd-development] imx31.cpu: ran after reset and before halt ...

2010-03-10 Thread Alberto Panizzo
Thanks David, On mar, 2010-03-09 at 09:17 -0800, David Brownell wrote: > On Tuesday 09 March 2010, Alberto Panizzo wrote: > > The first problem I am facing is the Warning: "ran after reset an before > > halt" > > > > What can I do to halt the CPU early? &

Re: [Openocd-development] Amontec JtagKey2 ??

2010-03-10 Thread Alberto Panizzo
On mer, 2010-03-10 at 08:56 +0100, Flemming Futtrup wrote: > Hi Alain > > I am no expert so other people may achieve better results. > > But... > > JtagKey2 is running nicely with OpenOCD at least for flashloding > purposes. I have not tried debugging. > > JtagKey2 consist of not much other tha

[Openocd-development] imx31.cpu: ran after reset and before halt ...

2010-03-09 Thread Alberto Panizzo
Hi all! First of all thank you for the great work in OpenOCD. I am trying to setup a JTAG debug connection with a Freescale i.MX31 based board (Atmark Armadillo 500) with the Amontec JtagKey-2 interface. I'm using the latest git sources. The board is provided with a full 20 pin JTAG connector very