You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[Usage (For STM32 Blue Pill)](#usage-for-stm32-blue-pill)
42
+
-[Compatibility](#compatibility)
42
43
-[Troubleshooting](#troubleshooting)
43
44
-[Contributors](#contributors)
44
45
-[Acknowledgements and Resources](#acknowledgements-and-resources)
@@ -48,7 +49,7 @@
48
49
49
50
The project aims at enabling firmware update of STM32Fxx and STM32Gxx series MCUs Over-the-Air using ESP32.
50
51
51
-
Testing was done with ESP32-DevKitC v4 board and STM32F103C8T6 ([Blue Pill](https://www.st.com/en/microcontrollers-microprocessors/stm32f103.html)), [STM32F072C8T6](https://www.st.com/en/microcontrollers-microprocessors/stm32f072c8.html) and STM32G431KB ([NUCLEO-G431KB](https://www.st.com/en/evaluation-tools/nucleo-g431kb.html)). You can try with any other STM32Fxx/STM32Gxx MCUs and let us know how it worked out.
52
+
Testing was done with ESP32-DevKitC v4 board and STM32F103C8T6 ([Blue Pill](https://www.st.com/en/microcontrollers-microprocessors/stm32f103.html)), [STM32F072C8T6](https://www.st.com/en/microcontrollers-microprocessors/stm32f072c8.html) and STM32G431KB ([NUCLEO-G431KB](https://www.st.com/en/evaluation-tools/nucleo-g431kb.html)). You can try with any other STM32Fxx/STM32Gxx MCUs and let us know how it worked out.
52
53
53
54
### Code
54
55
@@ -76,7 +77,7 @@ To run the OTA demo, you need an ESP32 dev board (e.g. ESP32-WROVER Kit) or ESP3
76
77
77
78
You can also use [**CubeIDE**]((https://stackoverflow.com/questions/57017703/how-do-i-generate-a-binary-file-of-the-stm32-code)) or [**Keil**](https://www2.keil.com/stmicroelectronics-stm32) for generation of **.bin** files.
78
79
79
-
80
+
80
81
### Setting Up
81
82
82
83
1. Wire your STM32 (e.g. Blue Pill) to the ESP32 as follows:
@@ -96,16 +97,18 @@ We have assumed that the STM32 is already in boot mode before flashing the code
96
97
97
98
The program code uses only the path of the binary file to be flashed as a parameter. Thus, it can be easily integrated into any other projects as the file can be sent to ESP32 over any protocol (MQTT, HTTP Client, WebSockets).
98
99
100
+
Read carefully the Boot Mode Procedure ([AN2606](https://www.st.com/content/ccc/resource/technical/document/application_note/b9/9b/16/3a/12/1e/40/0c/CD00167594.pdf/files/CD00167594.pdf/jcr:content/translations/en.CD00167594.pdf)) and the USART protocol used in Bootloader Mode ([AN3105](https://www.st.com/content/ccc/resource/technical/document/application_note/51/5f/03/1e/bd/9b/45/be/CD00264342.pdf/files/CD00264342.pdf/jcr:content/translations/en.CD00264342.pdf)) in order to deeply understand how to use this project with other STM32 microcontrollers.
101
+
99
102
## Usage (For STM32 Blue Pill)
100
103
101
-
1. Make sure the BOOT0 jumper pin on the board is set to 1 (programming mode) while uploading the code. Once the code is flashed this pin can be changed back to initial position (operating mode). This procedure with your STM32Fxx MCU varies according with your MCU version.
102
-
104
+
1. Make sure the BOOT0 jumper pin on the board is set to 1 (programming mode) while uploading the code. Once the code is flashed this pin can be changed back to initial position (operating mode). This procedure with your STM32Fxx MCU varies according with your MCU version.
105
+
103
106
Refer this [documentation](https://www.st.com/content/ccc/resource/technical/document/application_note/b9/9b/16/3a/12/1e/40/0c/CD00167594.pdf/files/CD00167594.pdf/jcr:content/translations/en.CD00167594.pdf) for help.
2. Open the project configuration menu (`idf.py menuconfig`) go to `Example Connection Configuration` ->
110
113
1. WiFi SSID: WiFi network to which your PC is also connected to.
111
114
2. WiFi Password: WiFi password
@@ -138,7 +141,7 @@ The program code uses only the path of the binary file to be flashed as a parame
138
141
6. Voila! your STM32 is now running the code you uploaded Over-the-Air!
139
142
140
143
## Compatibility
141
-
According to ST documentation this project could be compatible with a wide range of microcontrollers, **prior to some customization**:
144
+
According to STM documentation, this project could be compatible with a wide range of microcontrollers, **prior to some customization**:
142
145
-**STM32F0 Series (verified)**
143
146
-**STM32F1 Series (verified)**
144
147
- STM32F2 Series
@@ -174,8 +177,6 @@ According to ST documentation this project could be compatible with a wide range
174
177
175
178
## Acknowledgements and Resources
176
179
177
-
Read carefully the Boot Mode Procedure (AN2606) and the USART protocol used in Bootloader Mode (AN3105) in order to deeply understand how use this script with other SMT32 micros.
0 commit comments