Problems debugging from internal flash

Started by miklospflancer September 12, 2006
Can anyone help with this problem

I am using openocd/wiggler and gcc tools. The program is flashed and
works fine out of reset. However when I try to debug/step through the
code using GDB/wiggler, I get an error from gdb

"Connection reset by peer"

Openocd gives error "cpsr contains invalid mode value - communications
error, gdb requested registers but were not halted"

This only happens when the PLL is enabled. If it is not enabled
everytinhing is OK and I can step through the code

Any ideas?

An Engineer's Guide to the LPC2100 Series

Hi,

Which version of the OpenOCD are you using? Please send the debug output from
OpenOCD (run with -d -l , compress it if's getting too large), your
config file, and any commands you entered in the GDB to my email address.

Regards,

Dominic

On Tuesday 12 September 2006 11:38, miklospflancer wrote:
> Can anyone help with this problem
>
> I am using openocd/wiggler and gcc tools. The program is flashed and
> works fine out of reset. However when I try to debug/step through the
> code using GDB/wiggler, I get an error from gdb
>
> "Connection reset by peer"
>
> Openocd gives error "cpsr contains invalid mode value - communications
> error, gdb requested registers but were not halted"
>
> This only happens when the PLL is enabled. If it is not enabled
> everytinhing is OK and I can step through the code
>
> Any ideas?