I'm now connected via SWD and my RPI. I can successfully read registers, and the target shows me "nrf52840.cpu, cortex_m". So I think the connection should be fine right?
I tried to read the flash into a file via
flash read_bank 0 bank0.bin
, but I only get the message "Couldn't read CONFIGID register"
Do you know how I can now read the flash such that I can provide the hex file to you?
For writing I will then use "nrf5 mass_erase" followed by "flash write_image YOUR_HEX_FILE" right?
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Hi @Gordon,
I'm now connected via SWD and my RPI. I can successfully read registers, and the target shows me "nrf52840.cpu, cortex_m". So I think the connection should be fine right?
I tried to read the flash into a file via
, but I only get the message "Couldn't read CONFIGID register"
Do you know how I can now read the flash such that I can provide the hex file to you?
For writing I will then use "nrf5 mass_erase" followed by "flash write_image YOUR_HEX_FILE" right?
Thanks a lot,
David