I want to get started with nRF52832 in Arduino. I have a Ebyte development board with E73 module containing the NRF chip.
The hardware is quite similar to Adafruit NRF52 Feather.
But for use in Arduino with serial interface I have to program the boot loader once.
What I have is a STM Nucleo board with ST-Link Interface. The Arduino already has nrfjprog.exe, which interfaces to a J-Link from Segger.
I found that I can update the ST-Link to J-Link and did that.
I connected VCC, GND, SWCLK, SWDIO, RESET and tried:
nrfjprog --program bl.hex -f nrf52 --reset
ERROR: The operation attempted is unavailable due to readback protection in
ERROR: your device. Please use --recover to unlock the device.
nrfjprog --recover
Recovering device. This operation might take 30s.
ERROR: Recover failed. Please make sure that the correct device family is given
ERROR: and try again.
nrfjprog --program bl.hex -f nrf52 --reset
ERROR: Cannot connect to any nRF device. Please make sure a device is
ERROR: connected to the debugger and supplied.
It seems that something has changed, but to the worse, the interface can not talk to the chip anymore.
Is this problem related to the STM based interface which should only be used with ST chips ?
Do I have a chance using openOCD and ST-Link for this?
As a fallback I also have a Raspberry Pi, I heard that it can be used without interface. But I need info about installation and connection.
Thanks for help....