From f13de71de9a3e4f9ad863629ff5a13686d0fd91f Mon Sep 17 00:00:00 2001 From: corruptbear Date: Fri, 19 Jul 2024 14:51:30 -0700 Subject: [PATCH] update instructions for BNO055 firmware update --- doc/BNO055_Firmware_Update.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/doc/BNO055_Firmware_Update.md b/doc/BNO055_Firmware_Update.md index 49081d5b..ca4ed082 100644 --- a/doc/BNO055_Firmware_Update.md +++ b/doc/BNO055_Firmware_Update.md @@ -1,11 +1,15 @@ ## update procedure +Before updating BNO055 firmware via the `9DOF Debug` debugging interface, the Ambiq chip should be flashed with a firmware (such as `test_buzzer.c`) that does not activate BNO055, otherwise the JLink connection would not be established. + ```bash #start JLink JLinkExe -Device ATSAMD20J18A -if SWD -speed 4000 -AutoConnect 1 #inside JLink program +#this load the new firmware, not including the bootloader loadbin mybno.bin 0x4000 + ``` ## save older firmware @@ -14,7 +18,8 @@ you can save the original bootloader or the firmware, just incase something goes ``` savebin bl.bin 0x0000 0x4000 //save the bootloader, from start up to address 0x4000 -savebin saved.bin 0x4000 0x3C000 //save the firmware +savebin saved.bin 0x4000 0x3C000 //save the firmware, not including the bootloader +savebin full.bin 0x0000 0x3c00 //save the full firmware, including the bootloader ``` on a trial device, load the saved firmware @@ -48,4 +53,9 @@ at91samd bootloader 0 after unlocking the protected memory, use jlink to load the original bootloader ``` loadbin bl.bin 0x0000 +``` + +or load the full saved firmware including the bootloader +``` +loadbin full.bin 0x0000 ``` \ No newline at end of file