gornekich f05153ed5c [FL-1816] Fix ble radio stack is alive check (#707) il y a 4 ans
..
flipper 4456982e27 [FL-1699, FL-1700] Scripts: new radio firmware bundling scheme, manifest for resources. (#700) il y a 4 ans
ReadMe.md ecff31d228 [FL-1643] NFC emv assets (#661) il y a 4 ans
assets.py 4456982e27 [FL-1699, FL-1700] Scripts: new radio firmware bundling scheme, manifest for resources. (#700) il y a 4 ans
flash_core1_main_swd.sh 202c1d4b0e Improved reliability of shell scripts (#699) il y a 4 ans
flash_core2_ble_swd.sh 202c1d4b0e Improved reliability of shell scripts (#699) il y a 4 ans
flash_otp_version_dfu.sh 202c1d4b0e Improved reliability of shell scripts (#699) il y a 4 ans
flash_otp_version_swd.sh 202c1d4b0e Improved reliability of shell scripts (#699) il y a 4 ans
flash_wipe_swd.sh 8116bfcbab [FL-1443, FL-1289] Move assets compilation to separate Makefile. Add scripts folder. Add OTP flashing with DFU. (#531) il y a 4 ans
ob.data f02cec45a0 [FL-1473, FL-1651] Update STM32CubeWB to latest version. Radio firmware bundle. (#642) il y a 4 ans
ob.py 7ca89256eb [FL-1430] New OTP format #595 il y a 4 ans
otp.py 8073992925 [FL-1587] RFID: Clock for emulation timer from antenna (#622) il y a 4 ans
storage.py f05153ed5c [FL-1816] Fix ble radio stack is alive check (#707) il y a 4 ans

ReadMe.md

About

This folder contains differnt scripts that automates routine actions. Flashing scripts are based on cli version of STM32CubeProgrammer. You will need to add STM32_Programmer_CLI to your path to use them.

Flashing empty MCU/Flipper

Always flash your device in the folllowing sequence:

  • OTP (Only on empty MCU)
  • Core2 firmware
  • Core1 firmware
  • Option Bytes

Otp flashing

!!! Flashing incorrect OTP may permanently brick your device !!!

Normally OTP data generated and flashed at factory. In case if MCU was replaced you'll need correct OTP data to be able to use companion applications. Use otp.py to generate OTP data and flash_otp_version_* to flash OTP zone. You will need exact main board revision to genrate OTP data. It can be found on main PCB.

!!! Flashing incorrect OTP may permanently brick your device !!!

Core2 flashing

Script blindly updates FUS and Radiostack. This operation is going to corrupt bootloader and firmware. Reflash Core1 after Core2.

Core1 flashing

Script compiles and flashes both bootloader and firmware.

Option Bytes

!!! Setting incorrect Otion Bytes may brick your MCU !!!

Defaults are mostly OK, but there are couple things that we'd like to tune. Also OB may be damaged, so we've made couple scripts to check and set option bytes.

!!! Setting incorrect Otion Bytes may brick your MCU !!!

Checking option bytes:

ob.py check

Setting option bytes:

ob.py set

Assets delivery

Run in the root folder of the repo:

python scripts/storage.py -p <flipper_cli_port> send assets/resources /ext