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

How do you use SES to debug nrf/samples/nrf_rpc/entropy_nrf53/cpunet?

I'm trying to get setup to debug an application that uses both the app and net cores.  For now I'm using the example nrf/samples/nrf_rpc/entropy_nrf53/cpunet.  I'm trying:

1) cd cpuapp && west build --board nrf5340dk_nrf5340_cpuapp && west flash

2) Open the cpunet project in SES and select nrf5340dk_nrf5340_cpunet.  Build Solution.  Debug Go.

At this point SES has errors:

Preparing target for download
Executing Reset script TargetInterface.resetAndStop()
ResetTarget() start
ResetTarget() end
Downloading ‘zephyr.elf’ to J-Link
Programming 37.6 KB of addresses 01000000 — 010096a3
Programming 0.4 KB of addresses 010096a4 — 01009847
Programming 0.0 KB of nrf_rpc addresses 01009848 — 010098a8
Failed to prepare for programming.
RAM check failed @ addr 0x210005FC.
RAM check failed while testing 0x0860 bytes @ addr 0x210005FC.
Download failed
Failed to download application.
Generic error.
Please check J-Link and target connection.
Illegal value 0x21005630 written to register 67 (PSP_NS) ignored
Cannot read register 20 (CFBP) while CPU is running

What am I missing?

Related