Skip to content

Commit da2cc76

Browse files
committed
rename keyboard firmware file name
1 parent b465637 commit da2cc76

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

File renamed without changes.

wiki/Setting-Up-Arduino-Development-for-PicoCalc-keyboard.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -78,13 +78,13 @@ DIP switches are on the back of picocalc mainboard
7878

7979
- Put DIP 1 ON
8080
- Connect PicoCalc with USB Type-C cable
81-
- sudo stm32flash -w Bin/PicoCalc_kbd_firmware_v1.1.bin -v -S 0x08000000 /dev/ttyUSB0
81+
- sudo stm32flash -w Bin/PicoCalc_BIOS_v1.2.bin -v -S 0x08000000 /dev/ttyUSB0
8282
- Put DIP 1 OFF
8383

8484
assume we got **/dev/ttyUSB0** as port of PicoCalc
8585
here is the sample correct writing firmware logs from linux:
8686
```
87-
$ sudo stm32flash -w PicoCalc_kbd_firmware_v1.1.bin -v -S 0x08000000 /dev/ttyUSB0
87+
$ sudo stm32flash -w PicoCalc_BIOS_v1.2.bin -v -S 0x08000000 /dev/ttyUSB0
8888
stm32flash 0.7
8989
9090
http://stm32flash.sourceforge.net/
@@ -115,7 +115,7 @@ we can use the official tool [STM32CubeProgrammer](https://www.st.com/en/develop
115115
- Connect PicoCalc with USB Type-C cable
116116
- Open STM32CubeProgrammer with right permissions,on linux maybe need sudo,on windows maybe need the Administrator rights
117117
- Press **Connect**
118-
- Open file ,load PicoCalc_kbd_firmware_v1.1.bin
118+
- Open file ,load PicoCalc_BIOS_v1.2.bin
119119
- Press **Download**
120120
- Press Disconnect
121121
- Put DIP 1 OFF
@@ -132,12 +132,12 @@ Also if We want extract firmware from keyboard,here is the steps:
132132

133133
- Put DIP 1 ON
134134
- Connect PicoCalc with USB Type-C cable
135-
- sudo stm32flash -r PicoCalc_kbd_firmware_v1.1.bin -S 0x08000000:65536 /dev/ttyUSB0
135+
- sudo stm32flash -r PicoCalc_BIOS_v1.2.bin -S 0x08000000:65536 /dev/ttyUSB0
136136
- Put DIP 1 OFF
137137

138138
here is sample correct extracting logs from linux :
139139
```
140-
$ sudo stm32flash -r PicoCalc_kbd_firmware_v1.1.bin -S 0x08000000:65536 /dev/ttyUSB0
140+
$ sudo stm32flash -r PicoCalc_BIOS_v1.2.bin -S 0x08000000:65536 /dev/ttyUSB0
141141
stm32flash 0.7
142142
143143
http://stm32flash.sourceforge.net/
@@ -158,7 +158,7 @@ Read address 0x08010000 (100.00%) Done.
158158
### Write firmware bin file back to the keyboard
159159

160160
```
161-
sudo stm32flash -w PicoCalc_kbd_firmware_v1.1.bin -v -S 0x08000000 /dev/ttyUSB0
161+
sudo stm32flash -w PicoCalc_BIOS_v1.2.bin -v -S 0x08000000 /dev/ttyUSB0
162162
```
163163

164164
sample writing back log:
@@ -186,7 +186,7 @@ Wrote and verified address 0x08010000 (100.00%) Done.
186186

187187
### Convert firmware bin to intel hex format
188188
```
189-
srec_cat PicoCalc_kbd_firmware_v1.1.bin -Binary -offset 0x08000000 -output PicoCalc_kbd_firmware_v1.1.hex -Intel
189+
srec_cat PicoCalc_BIOS_v1.2.bin -Binary -offset 0x08000000 -output PicoCalc_BIOS_factory_v1.2.hex -Intel
190190
```
191191

192192

0 commit comments

Comments
 (0)