@@ -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
8484assume we got ** /dev/ttyUSB0** as port of PicoCalc
8585here 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
8888stm32flash 0.7
8989
9090http://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
138138here 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
141141stm32flash 0.7
142142
143143http://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
164164sample 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