Difference between revisions of "STM32 OFF-PROG"

From ElectroDragon Wiki
 
Line 1: Line 1:
== Software ==
Preloaded offline firmware, and relevant flash methods, ready to use
<br>
For offline flashing:
* Power board by powerbank or other USB power supply
* Connect target via SWD four pins: SWD CLK 3V3 GND
* Target will be automatically detected and displayed "connected"
* Select correct flash methods, *.v file
* select correct firmware bin file
* and upload by click "start"
* target will be auto reset
<br>
== Folders ==
* IVS - devices configuration folders
* KEY - flash key encryption folders
* Root-folder - put your flash file bin here, use hex2bin convert beforehand
== Buttons ==
* PB1 = ON -> mode select online + menu select
* PB2 = OFF -> mode select offline + menu next
If you want to enter into online mode, hold down PB1 and power up via USB<br>
In the menu you can choose item via PB1 button, or switch to next one via PB2 button
== Re-flash firmware only ==
* Flash bootloader, BL by st-link
* Drag and upgrade either ONLINE or OFFLINE firmware into emulated DAP disk
<br>
For offline firmware
* upload "target flash methods" for different kinds of target into emulated DAP disk
<br>
Mode seletct:
* hold down button ON or OFF and then power up to enter into relevant mode
<br>




Line 63: Line 24:
|}
|}


== Pin header ==
* Front top-bottom: 3V3 DIO CLK GND RESET
* Back Top-bottom: 3V3 TXD RXD GND +5V
* Button only use side ON and OFF button, reset button is not necessary to use
== Working Mode ==
* Online Mode: CMSIS-DAP + serial + USB Disk Mode
* Offline Mode: Offline Batch programming mode
== Demo ==
* demo using video please see here: https://twitter.com/electro_phoenix/status/1394564729524432900?s=19
* search in our [[social]] channels


[[category: Programmer]]
[[category: Programmer]]

Revision as of 16:00, 3 September 2024


Flash Methods Options

Header text Header text Header text
STM32F0XX ALL F0XX
STM32F10X 512K or less F10X_MD
STM32F10X 512K or more F10X_HD
STM32F3XX ROM 256K F3XX_MD
STM32F3XX ROM 512K F3XX_HD
STM32F4XX 512K or less F4XX_LD
STM32F4XX 1024K F4XX_MD
STM32F4XX 2048K F4XX_HD