Sure, I made the changes to the sketch to add the two commands to clear the “do not call” list. I put the device into DFU mode and flashed the Boron successfully but the device got stuck in DFU mode. This sent me on a search of the community site where I found this thread.
I followed the instructions to reflash the bootloader and System part 1 but, the RGB LED went out and the device is now unresponsive. If I try to reflash the bootloader now, I get this error:
cmcclell-OSX:0.11.2-adhoc6ea4372.0 chipmc$ bin/openocd -f interface/cmsis-dap.cfg -f target/nrf52-particle.cfg \
> -c "adapter_khz 1000" \
> -c "transport select swd" \
> -c "init" \
> -c "program /Users/chipmc/Downloads/boron-bootloader@1.4.4.bin 0xf4000 verify reset" \
> -c "exit"
Open On-Chip Debugger 0.10.0+dev-00920-g6ea43726 (2019-07-09-20:03)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
Info : auto-selecting first available session transport "swd". To override use 'transport select <transport>'.
adapter speed: 1000 kHz
Warn : Transport "swd" was already selected
swd
Info : CMSIS-DAP: SWD Supported
Info : CMSIS-DAP: FW Version = 1.10
Info : CMSIS-DAP: Interface Initialised (SWD)
Info : SWCLK/TCK = 1 SWDIO/TMS = 1 TDI = 0 TDO = 0 nTRST = 0 nRESET = 1
Info : CMSIS-DAP: Interface ready
Info : clock speed 1000 kHz
Info : SWD DPIDR 0x2ba01477
Info : nrf52.cpu: hardware has 6 breakpoints, 4 watchpoints
Error: nrf52.cpu -- clearing lockup after double fault
Polling target nrf52.cpu failed, trying to reexamine
Info : nrf52.cpu: hardware has 6 breakpoints, 4 watchpoints
Info : Listening on port 3333 for gdb connections
target halted due to debug-request, current mode: Thread
xPSR: 00000000 pc: 0x000265d4 msp: 0x00001000
** Programming Started **
Info : nRF52840-QIAA(build code: C0) 1024kB Flash
Warn : using fast async flash loader. This is currently supported
Warn : only with ST-Link and CMSIS-DAP. If you have issues, add
Warn : "set WORKAREASIZE 0" before sourcing nrf51.cfg/nrf52.cfg to disable it
** Programming Finished **
** Verify Started **
** Verified OK **
** Resetting Target **
Error: nrf52.cpu -- clearing lockup after double fault
target halted due to debug-request, current mode: Handler HardFault
xPSR: 0x01000003 pc: 0xfea7f7fe msp: 0x00000fd8
Polling target nrf52.cpu failed, trying to reexamine
Info : nrf52.cpu: hardware has 6 breakpoints, 4 watchpoints
So, not sure what else to try. Suggestions welcome.
Chip