Programming SuperMini via NRF52 DK - Could not read a coherent value from ctrl-ap idr registers

Hey all,

I try to flash the SuperMini nRF52840 using my NRF52-DK over Debug HW (SWDIO pins). I try to flash the Zephyr blinky example.

I think I already got it (at least the connection) working as I was able to read out the flash regions with the nRF Connect for Desktop (Programmer) and the SuperMini has the Adafruit Bootloader which I seem to have erased as well (LED is not blinking anymore).

However, I suddenly face issues flashing the SuperMini. When I try to flash it (based on the Build Configuration of the NRF52832) I get the following error: 


And another question I have is, the SuperMini came preflashed with the Adafruit Bootloader. I think I already ereased that one as no LED are flashing anymore.
When I build and flash using the Connect SDK (Zephyr) via VS Code, will the MCUBoot be automatically flashed as well? And is it a separate binary or is it part of the main image?
The following default devicetree:


boot_partition: partition@0 {
label = "mcuboot";
reg = <0x00000000 0xc000>;
};
slot0_partition: partition@10000 {
label = "image-0";
reg = <0x000010000 0x30000>;
};

Suggests that this would be two images, but where can I find it? Also, I strangely do not see the gap between 0xc000 and 0x10000 when using nRF Connect for Desktop (Programmer), but only one flashed region, why?

Related