Hi guys,
I've made a mistake and erased the bootloader from my brand new Application Board 3.0 with J-link while I was trying to debug my firmware. Could you please help me with this? Is there a .bin or .hex file in COINES SDK? How do I flash the bootloader?
Thanks!
Hugo
Solved! Go to Solution.
Hi Hlopes,
There is bootloader update in \COINES\v2.6.0\firmware\app3.0\bootloader_update
Thank you.
As of COINES v2.6, only bootloader update package is available. Hence, no way to restore the board to original state. You can take a flash memory image of another Application Board 3.0 and apply on yours.
I have created a HEX image of my APP3.0 board memory - Bosch_Sensortec_APP3.0_board_image.hex
# Write APP3.0 board image
nrfjprog -f nrf52 --program Bosch_Sensortec_APP3.0_board_image.hex --sectorerase --verify
# Write Bootloader start address 0xF0000 to UICR.BOOTLOADERADDR(0x10001014)
nrfjprog -f nrf52 --memwr 0x10001014 --val 0x000F0000
All done!
Thank you so much!