Hi,
I used to use the nRF51 with Keil, so not too much experience with new SDK, but I have followed the "nRF connect SDK fundamentals" and "BLE fundamentals".
I am trying to FLASH the ACN52840 module with the hex builded for nRF52840 Dongle.
Circuit is simplest as it can be, so:
3xVCC shorted
3xGND shorted
470uF capacitor across supply
Reset pulled-up by 10kohm.
Jlink pro connected to SWDIO, SWDCLK, GND, Vcc
prj.conf has additional line "CONFIG_BOARD_ENABLE_DCDC_HV=n"
terminal output:
---------------------------------------------------------------------------------------------------------------------------------------------------------------
-- west flash: using runner nrfjprog
-- runners.nrfjprog: reset after flashing requested
-- runners.nrfjprog: Flashing file: d:\nordic\ncs-fund\v2.x.x\lesson2\fund_less2_exer1_kopia\build_3\zephyr\zephyr.hex
[ #################### ] 1.554s | Erase file - Done erasing
[error] [ JLink] - Communication timed out: Requested 4 bytes, received 0 bytes !
[error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[error] [ nRF52] - The write access failed due to memory protection.
[error] [ nRF52] - Failed writing to code!
[error] [ nRF52] - Failed to program flash
[error] [ nRF52] - Failed while programming file d:\nordic\ncs-fund\v2.x.x\lesson2\fund_less2_exer1_kopia\build_3\zephyr\zephyr.hex.
[error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[error] [SeggerBackend] - Failed while ensuring debug power was enabled for device connection.
[error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
ERROR: The JLinkARM DLL timed out while communicating to the J-Link probe.
ERROR: If the error condition persists, run the same command again with
ERROR: argument -- log, contact Nordic Semiconductor and provide the generated
ERROR: log.log file to them.
NOTE: For additional output, try running again with logging enabled (--log).
NOTE: Any generated log error messages will be displayed.
FATAL ERROR: command exited with status 35: nrfjprog --program 'd:\nordic\ncs-fund\v2.x.x\lesson2\fund_less2_exer1_kopia\build_3\zephyr\zephyr.hex' --sectoranduicrerase --verify -f NRF52 --snr 174403914
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
line: [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". was displayed several times in a row.
What am I doing wrong here ?