Hi I am new to this forum, so please let me know any corrections I need to make moving forward.
Anyways here's the issue. I am trying to flash a program onto my esp board, but I think the flash is not actually working correctly. when I run the "idf.py flash" it comes back successful, but when I launch the monitor the code just calls and returns from main immediately, not running any of the code inside of main(). I have had a little success by making new projects when the problem occurs, but this is annoying to have to do so frequently.
In addition, I tried flashing the board with some of my older programs and they worked fine. I even tried just blinking an LED using my old project file and it works, but when I try to blink an LED in my new project file, the program will flash on the board, but I don't think it is really running. I already doubled checked and don't see any crashs. Any help would be greatly appreciated. I just bought this board not too long ago and am quite frustrated by the issues I've been facing with it since them.
There is not error message as i don
ESP32 WRover Flashs but does NOT Execute Code
-
- Posts: 2
- Joined: Sun Jul 30, 2023 8:47 am
-
- Posts: 1708
- Joined: Mon Oct 17, 2022 7:38 pm
- Location: Europe, Germany
Re: ESP32 WRover Flashs but does NOT Execute Code
I think differently.youngblacksage wrote: ↑Sun Jul 30, 2023 8:58 amI think the flash is not actually working correctly.
Do you build your project (idf.py build) before you flash it?
-
- Posts: 2
- Joined: Sun Jul 30, 2023 8:47 am
Re: ESP32 WRover Flashs but does NOT Execute Code
Yes the project builds and I don’t see any errors or warning. I’m not by my laptop otherwise I would add a screen shot of the build command.
The only issue I can think that’s build related is the following. When I set device the project will not build successfully. However in the past, I have never had to set the device and the program will build and flash just fine.
The only issue I can think that’s build related is the following. When I set device the project will not build successfully. However in the past, I have never had to set the device and the program will build and flash just fine.
Who is online
Users browsing this forum: No registered users and 73 guests