Search found 12 matches

by uzer123
Fri Jul 28, 2023 10:18 am
Forum: Documentation
Topic: esptool --erase-all vs erase_flash
Replies: 0
Views: 43629

esptool --erase-all vs erase_flash

I want to give the "simplest" command as instruction for people to flash our firmware. I prefer this: esptool.py -p COMX --erase-all .... But is this the exact same as the following?: esptool.py -p COMX erase_flash && esptool.py -p COMX ... It's not completely clear to me from the documentation http...
by uzer123
Tue Mar 14, 2023 11:26 am
Forum: ESP-IDF
Topic: Necessary files for debuggging
Replies: 2
Views: 1524

Re: Necessary files for debuggging

Thanks for the extra info!
by uzer123
Tue Mar 07, 2023 4:32 pm
Forum: ESP-IDF
Topic: ESP-IDF Container: ERROR: Cannot establish a connection to the component registry. Are you connected to the internet?
Replies: 0
Views: 2209

ESP-IDF Container: ERROR: Cannot establish a connection to the component registry. Are you connected to the internet?

I try to build inside esp-idf docker container. I try the blink example and i leave only CMakeLists.txt, README.md, main folder and pytest_blink.py files in the project folder as the example. When i run idf.py set-target esp32s3 inside the container (latest espidf) i get: Adding "set-target"'s depen...
by uzer123
Sun Mar 05, 2023 8:25 pm
Forum: ESP-IDF
Topic: Necessary files for debuggging
Replies: 2
Views: 1524

Necessary files for debuggging

I am building the projects in a remote machine and i want to transfer only the necessary files from the build folder, in order to debug my board locally. From this page https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/jtag-debugging/using-debugger.html i understand that i only ...
by uzer123
Sun Mar 05, 2023 8:16 pm
Forum: ESP-IDF
Topic: ESP-IDF Docker: Keep env variables from entrypoint
Replies: 2
Views: 1868

Re: ESP-IDF Docker: Keep env variables from entrypoint

When you do exec you are not running in the same context where the entrypoint script executed on your docker "run" which exported all of the env variables for idf.py build. That's why that doesn't work. So you either have to do it the way you are or use docker run for every command you want to exec...
by uzer123
Sat Mar 04, 2023 5:01 pm
Forum: ESP-IDF
Topic: ESP-IDF Docker: Keep env variables from entrypoint
Replies: 2
Views: 1868

ESP-IDF Docker: Keep env variables from entrypoint

I’ve searched for long, and i found it strange i cannot find a solution. I create a docker container like this: docker run -dit --name test -w /project espressif/idf bash Then i try to build my app like: docker exec -it test idf.py build but idf.py is not recognized. If i rerun the entrypoint, every...
by uzer123
Tue Apr 27, 2021 4:05 pm
Forum: ESP32 Arduino
Topic: ESP32 Not connecting to WiFi consistently
Replies: 14
Views: 66372

Re: ESP32 Not connecting to WiFi consistently

increase the wait to 5000
delay(5000);
i didnt double tested, but the change from 1s to 5s shows to improve the fails..

Actually, i try 4-5 times with 1s delay, then i try another 5 times, with 5s. If all these attempts fail, i continue.
by uzer123
Thu Nov 26, 2020 1:47 am
Forum: ESP32 Arduino
Topic: ngrok wifisecure [SOLVED]
Replies: 3
Views: 4622

Re: ngrok wifisecure

After many hours I ended up that ngrok was the problem..
by uzer123
Wed Nov 25, 2020 5:30 pm
Forum: ESP32 Arduino
Topic: ngrok wifisecure [SOLVED]
Replies: 3
Views: 4622

Re: ngrok wifisecure

I set the debug level to 5 and this is the output.. the issue persists.. [V][ssl_client.cpp:58] start_ssl_client(): Starting socket [V][ssl_client.cpp:93] start_ssl_client(): Seeding the random number generator [V][ssl_client.cpp:102] start_ssl_client(): Setting up the SSL/TLS structure... [V][ssl_c...
by uzer123
Wed Nov 25, 2020 4:57 am
Forum: ESP32 Arduino
Topic: ngrok wifisecure [SOLVED]
Replies: 3
Views: 4622

ngrok wifisecure [SOLVED]

I used https://github.com/espressif/arduino-esp32/blob/master/libraries/WiFiClientSecure/examples/WiFiClientSecure/WiFiClientSecure.ino for a long time with ngrok root CA, and everything worked fine. Now i try to do the same but i get this error: [E][ssl_client.cpp:33] _handle_error(): [start_ssl_cl...