This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Unable to debug with Eclipse nRF51822 chip

Hi,

I'm developing some projects with the nRF51822 chip and I am not able to debug them successfully any more. However, I have previously debugged correctly some projects following the steps on nAN-29 document.

I have realized about it lately, after having been working with the "ble_app_hrs" example project of SDK_8.0.0. Debugging doesn´t work neither with SoftDevice (S110) nor without it. I've also noticed I can't debug the projects I could debug in the past. I am starting to think that it may be due to some software updates, because now I even can not debug older projects.My IDE is Eclipse Kepler, and I've downloaded and installed the latest version of everything: JLink GDB server for SEGGER (v4.98c), SDK (8.0.0), toolchain (4.8 2014q3)...

I do not think it is a hardware issue. This is what happens when I try to debug; it stops alternately in: - MOVS R1, #NRF_POWER_RAMONx_RAMxON_ONMODE_Msk /* Make sure ALL RAM banks are powered on */ - No source available for "0x6d0" (if i read softdevice address 0x04 (reset address) with the instruction "nrfjprog.exe --memrd 0x04" this is the output "0x00000004: 000006D1"). Based on this link: devzone.nordicsemi.com/.../

I have tried different configurations in Eclipse (debug configurations), even tried with "ddd" and "arm-none-eabi-gdb" together as suggested in some threads. None of them seem to work.

I would need any help because programming without debugging does not makes sense.

Could it be a problem with any software update? What would you suggest me to do? Upgrade or downgrade?

Thank you in advance.

Related