I made several tests, and the software breakpoint works with the Segger tools version 5.10m, but it doesn't with the latest version.
I use the same software, hardware, and debug probe. This is my setup:
In exactly the same environment, with the same project, with multiple SEGGER J-Link software installed in separate folders, if you change the path (in Preferences -> Run/Debug -> SEGGER J-Link) and with 5.10m it works and with 5.12f it does not.
This is the code I use:
static inline void break_here(void) {
/* __asm volatile(
"bkpt #0x01\n\t"
"mov pc, lr\n\t"
); */
__BKPT(0);
}
Please find attached the full log files for both version. Can you help me to analyze these files and figure-out why it is not more working with the latest version of the Segger tools ?
Thanks in advance.
I use the same software, hardware, and debug probe. This is my setup:
- JLinkARM.dll version `V5.12f`
- Target device `nRF51822_xxAA`
- Firmware: J-Link Lite-Cortex-M V8
- GNU ARM C/C++ J-Link Debugging version `3.2.1.201604190915`
- arm-none-eabi-gcc.exe (GNU Tools for ARM Embedded Processors) version `5.3.1 20160307`
In exactly the same environment, with the same project, with multiple SEGGER J-Link software installed in separate folders, if you change the path (in Preferences -> Run/Debug -> SEGGER J-Link) and with 5.10m it works and with 5.12f it does not.
This is the code I use:
static inline void break_here(void) {
/* __asm volatile(
"bkpt #0x01\n\t"
"mov pc, lr\n\t"
); */
__BKPT(0);
}
Please find attached the full log files for both version. Can you help me to analyze these files and figure-out why it is not more working with the latest version of the Segger tools ?
Thanks in advance.