Skip to content

Commit 251cfd4

Browse files
authored
Information on bookworm GPIO numbers for Pis.
1 parent c45ec69 commit 251cfd4

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,13 @@ Next, you will need to disable bluetooth on the board. Edit ```/boot/config.txt`
3232

3333
> Most sets of instructions reccomend to download stm32flash from online, however we have found the prepackaged version to work fine.
3434
35-
Once the hotspot is back on, navigate to the build folder where you compiled the firmware. Put a jumper across the J1 points on the board, and the RED heartbeat LED should stop flashing. Run the below command to flash.
35+
Once the hotspot is back on, navigate to the build folder where you compiled the firmware. Put a jumper across the J1 points on the board, and the RED heartbeat LED should stop flashing. Run the below command to flash. Sudo is required on most systems to access GPIO pins.
3636

37-
```stm32flash -v -w dvm-firmware-hs_f1.bin -i 20,-21,21,-20 -R /dev/ttyAMA0```
37+
```sudo stm32flash -v -w dvm-firmware-hs_f1.bin -i 20,-21,21,-20 -R /dev/ttyAMA0```
38+
39+
Note that on newer raspbian versions, the way GPIO chips are numbered has changed. If you're using raspbian bookworm (debian 12) or greater, use this command instead:
40+
41+
```sudo stm32flash -v -w dvm-firmware-hs_f1.bin -i 532,-533,533,-520 -R /dev/ttyAMA0```
3842

3943
You should see the below output if the board flashed successfully.
4044
```

0 commit comments

Comments
 (0)