Hi I am using Keil ARM with JLINK to debug the NRF52832. I can download the flash on the PCBA but when I try to debug step-by step, it only runs on the assembly window but not the source code window. Please help.
Hi I am using Keil ARM with JLINK to debug the NRF52832. I can download the flash on the PCBA but when I try to debug step-by step, it only runs on the assembly window but not the source code window. Please help.
Hi,
Please let me know what SDK version you use. Also, did you make sure to program the Softdevice (Programming SoftDevices)?
Thanks for your reply. I am using SDK16. Since I am experiment with the LED Blink (GPIO only), I don't need to download the SoftDevice. Is that right?
Thanks for your reply. I am using SDK16. Since I am experiment with the LED Blink (GPIO only), I don't need to download the SoftDevice. Is that right?
Yes, if you use the example in \nRF5_SDK_16.0.0_98a08e2\examples\peripheral\blinky\pca10040\blank. But your screenshot is showing an app that uses the Softdevice.
Hi,
I erased the Softdevice and download the correct Blink code to the debugger, it is working now.
For the other program on the screen dump, the assembly code was the softdevice when the program starts. I set a break point on the C code and run the program, it stops in the C code window after running the Softdevice (I think) then it can debug on the source code window now.
Thanks for your help.