Hello,
I using Segger JLink V6 with GDB Server V3.80a. I have install the Yagarto from 08.04.2008. I use the controller LPC2366.
Sometimes, I can debug, most comes errors like this:
Performing single step...
...Target halted (PC = 0x00005A80)
Reading all registers
Setting breakpoint @ address 0x00005A7C, Size = 4, BPHandle = 0x0006
Starting target CPU...
Debugger requested to halt target...
ERROR: Unable to halt ARM core
Connection to debugger closed !
WARNING: PC of target system has unexpected value of 0xEFFFFFD8 after reset. Resetting target
Writing register (PC = 0x00000000)
Resetting target
Read 4 bytes @ address 0x00000AE0 (Data = 0xE1A03000)
Read 4 bytes @ address 0x4000453C (Data = 0x3AEF5CDE)
WARNING: Failed to read memory @ address 0x3AEF5CDE
Read 4 bytes @ address 0x3AEF5CDE (Data = 0xAAAAAAAA)
My Debug Settings for ARM-ELF-GDB:
target remote localhost:2331
monitor endian little
monitor speed auto
monitor reset
monitor flash download = 1
monitor flash device = LPC2366
monitor long 0xE01FC040 = 1
load
monitor reset
I have set with Eclipse a Breakpoint, then the Debugger or GDB Server generate an Error and the GDB leaves.
Or why is the PC after Reset not at 0x00000000? What is in the address 0x4000453C?
Have I set a wrong parameters for GDB connection?
Thank you very much for any Idea.
Regards Markus.
I using Segger JLink V6 with GDB Server V3.80a. I have install the Yagarto from 08.04.2008. I use the controller LPC2366.
Sometimes, I can debug, most comes errors like this:
Performing single step...
...Target halted (PC = 0x00005A80)
Reading all registers
Setting breakpoint @ address 0x00005A7C, Size = 4, BPHandle = 0x0006
Starting target CPU...
Debugger requested to halt target...
ERROR: Unable to halt ARM core
Connection to debugger closed !
WARNING: PC of target system has unexpected value of 0xEFFFFFD8 after reset. Resetting target
Writing register (PC = 0x00000000)
Resetting target
Read 4 bytes @ address 0x00000AE0 (Data = 0xE1A03000)
Read 4 bytes @ address 0x4000453C (Data = 0x3AEF5CDE)
WARNING: Failed to read memory @ address 0x3AEF5CDE
Read 4 bytes @ address 0x3AEF5CDE (Data = 0xAAAAAAAA)
My Debug Settings for ARM-ELF-GDB:
target remote localhost:2331
monitor endian little
monitor speed auto
monitor reset
monitor flash download = 1
monitor flash device = LPC2366
monitor long 0xE01FC040 = 1
load
monitor reset
I have set with Eclipse a Breakpoint, then the Debugger or GDB Server generate an Error and the GDB leaves.
Or why is the PC after Reset not at 0x00000000? What is in the address 0x4000453C?
Have I set a wrong parameters for GDB connection?
Thank you very much for any Idea.
Regards Markus.