diff --git a/bin/nrf52-gdbserver.sh b/bin/nrf52832-gdbserver.sh similarity index 100% rename from bin/nrf52-gdbserver.sh rename to bin/nrf52832-gdbserver.sh diff --git a/bin/nrf52840-gdbserver.sh b/bin/nrf52840-gdbserver.sh new file mode 100755 index 000000000..122a43301 --- /dev/null +++ b/bin/nrf52840-gdbserver.sh @@ -0,0 +1,3 @@ + + +JLinkGDBServerCLExe -if SWD -select USB -port 2331 -device NRF52832_XXAA diff --git a/docs/software/nrf52-TODO.md b/docs/software/nrf52-TODO.md index d6d91868f..ecb7a6afd 100644 --- a/docs/software/nrf52-TODO.md +++ b/docs/software/nrf52-TODO.md @@ -1,5 +1,36 @@ # NRF52 TODO + +## RAK815 + +### Bootloader +Installing the adafruit bootloader is optional - I think the stock bootloader will work okay for most. + +``` +kevinh@kevin-server:~/development/meshtastic/Adafruit_nRF52_Bootloader$ make BOARD=rak815 flash +LD rak815_bootloader-0.3.2-111-g9478eb7-dirty.out + text data bss dec hex filename + 20888 1124 15006 37018 909a _build/build-rak815/rak815_bootloader-0.3.2-111-g9478eb7-dirty.out +Create rak815_bootloader-0.3.2-111-g9478eb7-dirty.hex +Create rak815_bootloader-0.3.2-111-g9478eb7-dirty-nosd.hex +Flashing: rak815_bootloader-0.3.2-111-g9478eb7-dirty-nosd.hex +nrfjprog --program _build/build-rak815/rak815_bootloader-0.3.2-111-g9478eb7-dirty-nosd.hex --sectoranduicrerase -f nrf52 --reset +Parsing hex file. +Erasing page at address 0x0. +Erasing page at address 0x74000. +Erasing page at address 0x75000. +Erasing page at address 0x76000. +Erasing page at address 0x77000. +Erasing page at address 0x78000. +Erasing page at address 0x79000. +Erasing UICR flash area. +Applying system reset. +Checking that the area to write is not protected. +Programming device. +Applying system reset. +Run. +``` + ## Misc work items RAM investigation.