For people who want to upload the NRF52 hex to the device with a Raspberry 400, see files attached.
In general there is a shorthand command for uploading hex/bin/elf file to your device, see code below:
source [find interface/raspberrypi4-native.cfg]
transport select swd
set CHIPNAME nrf52
source [find target/nrf52.cfg]
adapter speed 100
reset_config srst_nogate
adapter srst delay 100
adapter srst pulse_width 100
program /home/pi/bootloader/espruino_2v01_nrf52832.hex
reset
shutdown
The program line is enough with the path to your file. In the attachments there is also an interface for the raspberrypi 400 that should be placed in /usr/local/shared/openocd/scripts/interfaces/raspberrypi4-native.cfg
Good luck
Search Options
Types to Display
Espruino
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.
For people who want to upload the NRF52 hex to the device with a Raspberry 400, see files attached.
In general there is a shorthand command for uploading hex/bin/elf file to your device, see code below:
The
program
line is enough with the path to your file. In the attachments there is also an interface for the raspberrypi 400 that should be placed in /usr/local/shared/openocd/scripts/interfaces/raspberrypi4-native.cfgGood luck