esp32c3 arduino ide my code is not executed
esp32c3 arduino ide my code is not executed
Hello,
I have two module esp32C3, i develop my code to manage lcd screen and connect to my network.
I upload on the module but i get any traces on serial monitor. My code is good.
The module works fine with esp-idf toolchain get with github repository.
Where is the problem?
Thank you.
I have two module esp32C3, i develop my code to manage lcd screen and connect to my network.
I upload on the module but i get any traces on serial monitor. My code is good.
The module works fine with esp-idf toolchain get with github repository.
Where is the problem?
Thank you.
- Attachments
-
- Capture d’écran de 2021-08-01 10-22-14.png (147.67 KiB) Viewed 11006 times
Re: esp32c3 arduino ide my code is not executed
Anyone have an idea? Is it possible to compile my arduino code with esp-idf toolchain and flash it ?
Re: esp32c3 arduino ide my code is not executed
From information you provided is hard to say what is wrong.
There is no crash, logs from boot are not complete, which suggest some problem, but there is no way to say what problem.
Did you try to flash simple sketch using arduino IDE? I tested with master branch and "all" work fine.
There is no crash, logs from boot are not complete, which suggest some problem, but there is no way to say what problem.
Did you try to flash simple sketch using arduino IDE? I tested with master branch and "all" work fine.
Re: esp32c3 arduino ide my code is not executed
Yes i try a simple sketch with Arduino IDE, same problem. Very strange.
I try esp-idf repository example, hello-world it's works. I try other Arduino IDE v2 same problem. Other solution to use sketch without Arduino IDE if this is the problem for ESP-C3-13?
I try esp-idf repository example, hello-world it's works. I try other Arduino IDE v2 same problem. Other solution to use sketch without Arduino IDE if this is the problem for ESP-C3-13?
- Attachments
-
- 226288599_987291228699124_5775597291488554108_n.jpg (264.9 KiB) Viewed 10591 times
Re: esp32c3 arduino ide my code is not executed
It is working to me and other users, so in that case my suggestion is to re-install arduino-esp32.
If you upgraded from earlier version, like v1.0.4 or 1.0.6, did you re-run get.exe?
Next thing i would do is to update arduino-esp32 to master branch if you are on RC1 or alpha, which have few updates.
EDIT also change core log level to Info or Debug
If you upgraded from earlier version, like v1.0.4 or 1.0.6, did you re-run get.exe?
Next thing i would do is to update arduino-esp32 to master branch if you are on RC1 or alpha, which have few updates.
EDIT also change core log level to Info or Debug
Re: esp32c3 arduino ide my code is not executed
I have 2 things:
1) On the first side toolchaine esp32-idf, which i try example
2) The second side Arduino IDE, esp32 boards release rc1 which i see my code is not running.
My board:
1) On the first side toolchaine esp32-idf, which i try example
2) The second side Arduino IDE, esp32 boards release rc1 which i see my code is not running.
My board:
- Attachments
-
- ESP32-C3-ESP-C3-ESP-C3-C3S-12F-13-13U-01M-32S-Mini-WiFi-BLE-5.jpg_Q90.jpg (72.49 KiB) Viewed 10426 times
-
- Posts: 53
- Joined: Sat Feb 22, 2020 8:16 pm
Re: esp32c3 arduino ide my code is not executed
This happens to some ESP32_C3 boards from some companies, I think, because of bad or incompatible bootloader.
Try first upload to C3 board, using normal way (select ESP32C3_DEV, 480600, 2MB, Minimal(1.3+700), etc.). You can see some garbage on terminal after finishing upload.
Then select ESP32_DEV, and reupload. You'll get some complaint in Arduino IDE, but the board will run normally with the previous sketch now.
Very funny and inconvenient way to use. But it works anyway
Try first upload to C3 board, using normal way (select ESP32C3_DEV, 480600, 2MB, Minimal(1.3+700), etc.). You can see some garbage on terminal after finishing upload.
Then select ESP32_DEV, and reupload. You'll get some complaint in Arduino IDE, but the board will run normally with the previous sketch now.
Very funny and inconvenient way to use. But it works anyway
Re: esp32c3 arduino ide my code is not executed
I try as you explain, its works now. I need only unplug/usb to execute my code after reupload with "ESP32 Dev module" selected.
If the problems comes from bootloader, is it possible to flash other bootloader?
If the problems comes from bootloader, is it possible to flash other bootloader?
-
- Posts: 53
- Joined: Sat Feb 22, 2020 8:16 pm
Re: esp32c3 arduino ide my code is not executed
I'm glad it's working for you now. I really don't know where the problem is now as I haven't spent time to research. Just my wild guess that the bootloader is not fully compatible with Arduino IDE.
We just have to leave this issue for concerning experts to solve.
We just have to leave this issue for concerning experts to solve.
Re: esp32c3 arduino ide my code is not executed
Thank you for this help.khoih-prog wrote: ↑Tue Aug 17, 2021 3:10 pmI'm glad it's working for you now. I really don't know where the problem is now as I haven't spent time to research. Just my wild guess that the bootloader is not fully compatible with Arduino IDE.
We just have to leave this issue for concerning experts to solve.
Who is online
Users browsing this forum: Baidu [Spider] and 82 guests