Search found 573 matches

by boarchuz
Tue Oct 03, 2023 4:03 am
Forum: General Discussion
Topic: How to debug application in OTA1 partition
Replies: 2
Views: 1081

Re: How to debug application in OTA1 partition

You can give this a try: https://github.com/boarchuz/bo_cflash I've only used it with ESP32, in VS Code, and likely with a different IDF version to yours, so expect some obstacles. Anyway, if it works, it allows you to select the app partition you want to flash to and optionally update ota_data at t...
by boarchuz
Tue Oct 03, 2023 12:00 am
Forum: Hardware
Topic: ESP32-C6 IO21 Glitch on Boot
Replies: 1
Views: 1429

Re: ESP32-C6 IO21 Glitch on Boot

Check Appendix A of the datasheet, where GPIO21 is one of the pins that has pullup enabled at (but not after) reset.
by boarchuz
Tue Sep 26, 2023 11:09 pm
Forum: General Discussion
Topic: HTTPS OTA fail
Replies: 5
Views: 2308

Re: HTTPS OTA fail

urbanze wrote:
Tue Sep 26, 2023 10:05 pm
Please pay attention on the second code, I used memset().
You did for esp_http_client_config_t but not for the esp_https_ota_config_t.
by boarchuz
Fri Sep 15, 2023 9:30 am
Forum: ESP-IDF
Topic: VS code ESP IDF components issue
Replies: 5
Views: 2995

Re: VS code ESP IDF components issue

The red squiggles are courtesy of Intellisense, not the build process. Ideally the errors from both would be the same, but as you can see if there's any issue with the Intellisense configuration then you can get these annoying red herrings. The build output contains your actual error. In this case, ...
by boarchuz
Mon Sep 04, 2023 12:01 pm
Forum: ESP32 Arduino
Topic: Are 'preferences' supposed to maintain values even over uploads of new code?
Replies: 6
Views: 4401

Re: Are 'preferences' supposed to maintain values even over uploads of new code?

Minimum NVS partition size is 0x3000b, so the inconsistent results you're seeing would fall under "undefined behaviour".

Is mynvs == false with the custom 0x2000 partition? If not, an issue on the esp32-arduino repo is probably the best way to have this addressed.
by boarchuz
Sun Aug 27, 2023 4:28 am
Forum: ESP32 Arduino
Topic: ESP32 crashes when using rom\miniz decompression function
Replies: 2
Views: 1574

Re: ESP32 crashes when using rom\miniz decompression function

Debug exception reason: Stack canary watchpoint triggered (loopTask) You'll need to increase loopTask's stack size. This is the task that Arduino creates to run your code, ie. setup() and loop(). I don't know if there's an easy way to do that, so it might be easiest (at least for the purposes of te...
by boarchuz
Sun Aug 20, 2023 9:55 pm
Forum: General Discussion
Topic: Using printf with \r does not print anything
Replies: 10
Views: 4150

Re: Using printf with \r does not print anything

He's right, put a "fflush(stdout);" in there.
by boarchuz
Wed Aug 16, 2023 3:50 am
Forum: General Discussion
Topic: Multiple versions of ESP-IDF are possible?
Replies: 3
Views: 1601

Re: Multiple versions of ESP-IDF are possible?

I've got in the habit of adding ESP-IDF as a git submodule to every project. There are a lot of advantages, and it only takes a few seconds to set up a new project once you're used to it. I have a template project with git intialised and IDF added, but no commits yet, copy the directory and rename i...
by boarchuz
Mon Aug 14, 2023 1:37 pm
Forum: ESP-IDF
Topic: HTTP Server - Progress bar on front end
Replies: 3
Views: 3935

Re: HTTP Server - Progress bar on front end

Unfortunately the ESP32 httpd is not designed for multiple concurrent requests. I was surprised by how much difficulty I had trying to find an embedded C HTTP server that is! I ultimately gave up and now simply start *two* HTTP servers on the ESP32 for this purpose. When a firmware upload is sent to...
by boarchuz
Wed Jul 26, 2023 3:52 am
Forum: Hardware
Topic: ISR on pin 39 is broken by ADC / Touch Screen inputs on pin 32,33
Replies: 2
Views: 699

Re: ISR on pin 39 is broken by ADC / Touch Screen inputs on pin 32,33

Possibly ESP32 errata 3.11:
When certain RTC peripherals are powered on, the inputs of GPIO36 and GPIO39 will be pulled down for approximately 80 ns.


"Certain RTC peripherals" includes ADC1.