Dear Forum,
We obtained a nrf52840DK in HW rev. 2.0.1 some time ago. This HW-revision worked in every aspect as expected, which means:
1) It could be adressed;
read deviceversion:
>>nrfjprog --deviceversion
NRF52840_xxAA_REV2
read MAC:
>>nrfjprog --memrd 0x100000A4 --n 8
[MACBYTES]
2) It's memory could be read out with the nordic programmer:
Select Device-->(read button enabled)
Code compiled for pci10056 could be uploaded and run on the DK.
4) Segger Embedded Studio's debugger could run code on BM833 devices connected via PINs VTG, SWD IO, SWD CLK and GND DETECT as well as on the DK. This fails, the PINs no longer are available and the DK is not detected by the debugger.
Now we needed further DKs and reordered them, they came as nrf52840DK in HW rev. 3.0.1, they operate on a 5340 chip, as can be seen on the PCB.
This revision failed to worked in every aspect as expected, which means:
1) It cannot be adressed;
read deviceversion:
>>nrfjprog --deviceversion
ERROR: The operation attempted is unavailable due to readback protection in
ERROR: your device. Please use --recover to unlock the device.
read MAC:
>>nrfjprog --memrd 0x100000A4 --n 8
ERROR: The operation attempted is unavailable due to readback protection in
ERROR: your device. Please use --recover to unlock the device.
2) It's memory could be read out with the nordic programmer:
Select Device-->(read button disabled)
Code compiled for pci10056 could be uploaded and run.
After forcedly clearing the device, code compiled for pci10056 can be be uploaded, but will not run.
After each unplug/replug, the forced clearing has to be done again, else the state will be as described above for rev. 3.0.1
3) Segger Embedded Studio's debugger running code: This fails, the named PINs no longer are available and the DK is generally not detected by the debugger, even standalone.
Question: How must the rev. 3.0.1 DK be prepared and adressed to behave as a nrf52840 DK rev. 2.0.1?
***********************************************************************************************************************
Additional Info:
Using Ubuntu Linux, 20.04.6 LTS
nrfjprog --version
nrfjprog version: 10.12.1
JLinkARM.dll version: 6.88a
nrfConnect for Desktop: 3.11.0
Programmer: 2.3.3
Segger Embedded Studio: 5.4.4
Best regards,
Richard