Skip to content

Commit

Permalink
update instructions for BNO055 firmware update
Browse files Browse the repository at this point in the history
  • Loading branch information
corruptbear committed Jul 19, 2024
1 parent 2680402 commit f13de71
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion doc/BNO055_Firmware_Update.md
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
```

0 comments on commit f13de71

Please sign in to comment.