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

Unable to debug an nrf52840 device

Hello, I want to program and debug the nrf52840 device but I'm kind of stuck at the programing range/address issue.

I'm using my customized board so I doubt Nordic Semi's SDK will provide a over-the-counter solution, since I'm downloading everything with SWD port.

I can download the softdevice using nrfjprog, and my app using keil uv5, but I can't do both, that is, download the app using keil after programming the softdevice, I need to do this because to enter debug mode, I have to.

Is there a tutorial somewhere that can teach me how to properly configure keil uv5 for debugging the nrf52840? Specifically, how to setup the memory range etc.

Thanks.

Related