AnsweredAssumed Answered

OpenOCD GDB usage issues

Question asked by lukma on Jun 22, 2017
Latest reply on Sep 20, 2017 by Gregchen

Dear All,

 

I'm using the official openOCD with ICE-1000 (with the newest FW) on the ADSP-584-lpc development board:

 

/opt/analog/cces/2.3.0/ARM/arm-none-eabi/bin/arm-none-eabi-gdb

sudo /opt/analog/cces/2.3.0/ARM/arm-none-eabi/bin/openocd -f interface/ice1000.cfg -f target/adspsc58x.cfg

 

I do experience two problems:

1. The GDB's "monitor reset halt" is not working (the board hangs)

 

2. I cannot set GDB's HW breakpoint when I'm in u-boot to stop execution in the Linux kernel (the 0xCxxxxxxx address - after MMU enabled). I've disabled PERF functionality code in Linux (to avoid wiping out debug registers). The board just hangs.

 

Please find attached logs for both cases.

 

The second problem is quite severe, since I cannot debug early kernel driver code.

 

Thanks in advance,

Łukasz

Attachments

Outcomes