Hello,
I get the following output when I try to debug the Zephyr's button sample with SEGGER Embedded Studio:
Preparing target for download
Executing Reset script TargetInterface.resetAndStop()
Reset: Halt core after reset via DEMCR.VC_CORERESET.
Reset: Reset device via AIRCR.SYSRESETREQ.
Reading register 29 failed: Unspecified error
Reading register 30 failed: Unspecified error
Reading register 31 failed: Unspecified error
Downloading ‘zephyr.elf’ to J-Link
Programming 12.2 KB of addresses 00000000 — 000030ef
Programming 0.1 KB of addresses 000030f0 — 0000319b
J-Link: Flash download: Bank 1 @ 0x00000000: 1 range affected (16384 bytes)
J-Link: Flash download: Total time needed: 0.540s (Prepare: 0.034s, Compare: 0.006s, Erase: 0.351s, Program: 0.140s, Verify: 0.000s, Restore: 0.006s)
Download successful
Reading register 29 failed: Unspecified error
Reading register 30 failed: Unspecified error
Reading register 31 failed: Unspecified error
However, the software runs on the board as I can see the correct UART output when I push buttons.
Following is the information over my development environment:
SEGGER Version: V4.42a (64 Bit)
Ncs Version: master commit 4bc7b215
Zephyr Version: manifest-rev commit 4bc7b215
JLink Version: JLink v6.62a
Dev-Kit: nRF5340 PCA1005
Already done:
- Tried hello_world sample and get the same result.
- Checked out to the current latest version of ncs, i.e master branch commit a297ff and performed west update. However, this didn't help as well.