Comments (14)
Hello, @Benedito821. Glad to see the project helped you.
Both the directories are different examples, you can build individually them according to your purpose. Refer this section for more info.
from ota_update_stm32_using_esp32.
Hello, @Benedito821
Is this similar to what you are looking for: https://github.com/versamodule/ESP32-OTA-Webserver
I am closing this issue now, if you face any other problems with our project, please feel free to raise another issue.
from ota_update_stm32_using_esp32.
I am facing a very annoying problem now: the compiler can't find the file stm_flash.h although it is in the folder components. I tried to add the path in .json file but nothing actually changed. Do you have any suggestions on how to solve this?
{
"configurations": [
{
"name": "Linux",
"includePath": [
"${workspaceFolder}/**",
"/home/.../.../OTA_update_STM32_using_ESP32/components/stm_flash/include"
],
"defines": [],
"compilerPath": "/usr/bin/gcc",
"cStandard": "gnu17",
"cppStandard": "gnu++14",
"intelliSenseMode": "linux-gcc-x64",
"compileCommands": "${workspaceFolder}/build/compile_commands.json"
}
],
"version": 4
}
from ota_update_stm32_using_esp32.
can I use this project to flash not stm but esp itself(if don't switch the jumper)?
from ota_update_stm32_using_esp32.
how could I solve this issue ?
E (5613) SPIFFS: spiffs partition could not be found
E (5613) : stm_pro_mode (initSPIFFS:45) Failed to find SPIFFS partition
from ota_update_stm32_using_esp32.
Hello, @Benedito821
You cannot use this project to flash an ESP32 using another. You can take a look at this project for more information and play with it according to your use case.
Regarding the SPIFFS issue, can you run this example and check if you get the same problem? Also, check your flash size and modify the partition table accordingly. (I had a 4MB flash model, you might have a 2MB one).
from ota_update_stm32_using_esp32.
thanks for your reply! I meant not one esp flashing another, but flashing that esp that was supposed to program the stm(the esp itself) as I have only one esp.
from ota_update_stm32_using_esp32.
I runned the SPIFFS example and it worked as expected.Could you please give a hint on how to modify my partition table? I found an article Partition tables of esp but I just named my csv file and I don't know what to do further.
Here is my partition table:
Name, Type, SubType, Offset, Size, Flags
nvs,data,nvs,0x9000,24K,
phy_init,data,phy,0xf000,4K,
factory,app,factory,0x10000,1M,
from ota_update_stm32_using_esp32.
Hello, @Benedito821
Here is the csv from the example. Reduce the SPIFFS partition size if you have 2MB flash. Check this out for finding that.
from ota_update_stm32_using_esp32.
Everything has worked but one: the flash failed(probably because I didin't connect a stm32 board). So, could you please respond this quaestion, once it is probably the reason of the error? Thanks for the help so far!
thanks for your reply! I meant not one esp flashing another, but flashing that esp that was supposed to program the stm(the esp itself) as I have only one esp.
from ota_update_stm32_using_esp32.
Hello, @Benedito821
You can flash the ESP using OTA. There are examples in ESP-IDF and also many applications from other users.
from ota_update_stm32_using_esp32.
I honestly saw the esp OTA example. But the problem is that it doesn't have a file server as in your project, so the bin file upload is a bit awkward. Do you know an OTA example that has a file server?
from ota_update_stm32_using_esp32.
Hello, @Benedito821
What are you looking for exactly? Do you want to flash ESP32 instead of STM32 after uploading the file to the file server?
from ota_update_stm32_using_esp32.
Yes!!!
from ota_update_stm32_using_esp32.
Related Issues (17)
- Replacing UART by RS485 HOT 2
- control BOOT0 pin from ESP HOT 2
- Port to B-L475E-IOT01A HOT 1
- URI Header too long HOT 2
- Flashing with DFU HOT 1
- Thanks for your sharing HOT 1
- Firmware Update Over The Air (FOTA) for ECU (STM32) via ESP32 (HTTP - CAN protocols)
- How can we make this work with STM32H7 baords ?
- fatal error: driver/uart.h: No such file or directory HOT 1
- Compatibility with F407
- How to build and flash using esp-idf command prompt HOT 5
- Serial Timeout ERROR HOT 25
- For OTA updates for AVR MCUs, you can follow this project: ESP-LINK (ESP8266 it's cheaper)
- Header fields are too long for server to interpret HOT 4
- flash ESP32 instead of STM32 after uploading the file to the file server HOT 3
- ESP32 can't using other Serial? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ota_update_stm32_using_esp32.