I've been dealing with an issue for a week or two now where I can't get any of my breakpoints to work. Here is what I'm using:
- JLink Plus
- JLink_V622c
- LPC1857
- JTAG
- gcc-arm-none-eabi 4.9
I've tried various debugging tools (eclipce MCU, VisualGDB, command line) and setups and no breakpoints are being hit. I have tried hardware, software (program not in RAM anyways), and flash breakpoints. I can tell the program is running because halting it will show a valid program counter and the symbols associated with it.
I would share a log but it basically looks all good and just says "Starting target CPU" then nothing is hit.
The only anomaly about my system is that there is a low-level bootloader that I do not have the source-code too (provided by contractor). This code has a "bkpt #0" instruction that IS being hit before main. After this, I am forced to "stepi" ("continue" takes back to same spot, I think this is known issue), and then continue. My program code executes as normal but no breakpoints are hit. I can view all registers,step instruction to instruction, halt, continue.
Let me know what other information could help solve this. Thanks!
- JLink Plus
- JLink_V622c
- LPC1857
- JTAG
- gcc-arm-none-eabi 4.9
I've tried various debugging tools (eclipce MCU, VisualGDB, command line) and setups and no breakpoints are being hit. I have tried hardware, software (program not in RAM anyways), and flash breakpoints. I can tell the program is running because halting it will show a valid program counter and the symbols associated with it.
I would share a log but it basically looks all good and just says "Starting target CPU" then nothing is hit.
The only anomaly about my system is that there is a low-level bootloader that I do not have the source-code too (provided by contractor). This code has a "bkpt #0" instruction that IS being hit before main. After this, I am forced to "stepi" ("continue" takes back to same spot, I think this is known issue), and then continue. My program code executes as normal but no breakpoints are hit. I can view all registers,step instruction to instruction, halt, continue.
Let me know what other information could help solve this. Thanks!