(optica) added JLink script to program bootloader

This commit is contained in:
2025-07-20 10:45:12 +02:00
parent 010b66de0c
commit 8e5ad9ba1d
2 changed files with 19 additions and 0 deletions
@@ -0,0 +1,9 @@
# Change Bootloader
When using a `JLink` you can use the `./commands.jlink` script to program the bootloader binary.
Use the following command:
```sh
JLinkExe -NoGui 1 -ExitOnError 1 -CommandFile commands.jlink
```
@@ -0,0 +1,10 @@
device APM32F103CB
selectinterface SWD
speed 4000
reset
halt
loadfile ./bootloader_only_binaries/generic-none_bootloader.bin, 0x08000000
exit