Search found 109 matches

by phatpaul
Fri Mar 15, 2024 2:00 pm
Forum: Hardware
Topic: GPIO4 can't be used for UART when Ethernet is enabled
Replies: 6
Views: 659

Re: GPIO4 can't be used for UART when Ethernet is enabled

Not sure if relevant or helpful, but I previously found that JTAG was unusable when the EMAC is enabled, even though they don't share any pins. I never figured out why, but configured my project with macros to disable EMAC when I need to debug with JTAG.
by phatpaul
Fri Mar 15, 2024 1:44 pm
Forum: Hardware
Topic: ESP32 - IO33 - levels - 2V
Replies: 2
Views: 311

Re: ESP32 - IO33 - levels - 2V

My guess is that the pin is initialized to Hi-Z (floating) at power-on-reset. Then it takes some time for the CPU to start running your code and set the level high.
You could try adding an external pull-up resistor to 3.3V so it goes high when the pin is hi-Z / floating.
by phatpaul
Fri Mar 15, 2024 1:32 pm
Forum: Hardware
Topic: In-Package Quad SPI Flash
Replies: 1
Views: 147

Re: In-Package Quad SPI Flash

Yep! And some ESP32 variants also have PSRAM / SPI RAM inside the same chip package.
by phatpaul
Fri Mar 15, 2024 1:25 pm
Forum: Hardware
Topic: Hardware Flash Corruption Issue
Replies: 55
Views: 38865

Re: Hardware Flash Corruption Issue

If you can recover after reflashing the code, then it is NOT the same issue as covered in this thread/topic.
You should start a new topic.
by phatpaul
Thu Aug 17, 2023 8:10 pm
Forum: General Discussion
Topic: ESP-IDF very slow compilation from vscode
Replies: 3
Views: 4246

Re: ESP-IDF very slow compilation from vscode

Whoa! adding --ccache makes a huge difference. Wonder why that isn't the default?
Thanks for the tips.
by phatpaul
Thu Jul 27, 2023 2:33 pm
Forum: ESP-IDF
Topic: [Answered] Maximum number of open sockets supported
Replies: 7
Views: 17048

Re: [Answered] Maximum number of open sockets supported

The way I've dealt with this limitation is to set the HTTP header "Connection: close\r\n". That tells the client to close every connection as soon as it is finished being used. This has allowed me to serve static content and some APIs to several browsers and keep several websockets alive at once. I'...
by phatpaul
Wed Jun 07, 2023 6:41 pm
Forum: ESP-IDF
Topic: Can single fw support multiple hardware variants? (Ethernet RMII vs. SPI)
Replies: 2
Views: 1198

Re: Can single fw support multiple hardware variants? (Ethernet RMII vs. SPI)

Thanks ESP_ondrej for your confirmation that this could work.

I already have a method to detect the HW version at run-time (on our production-line, we write a hardware version code to a special NVS partition).
by phatpaul
Thu Apr 20, 2023 7:15 pm
Forum: ESP-IDF
Topic: Can single fw support multiple hardware variants? (Ethernet RMII vs. SPI)
Replies: 2
Views: 1198

Can single fw support multiple hardware variants? (Ethernet RMII vs. SPI)

I have this scenario: We have existing products in the field that we continue to support with OTA FW updates. And we want to develop the next generation product which uses some different components. We would like to distribute a single FW binary that can support both old and new hardware. Specifical...
by phatpaul
Thu Apr 20, 2023 6:50 pm
Forum: ESP-IDF
Topic: Using OTA with multi-partition application
Replies: 6
Views: 3546

Re: Using OTA with multi-partition application

If you want a read-only filesystem that is compiled into your firmware binary, I use EspFs (a.k.a. FrogFs) and it is fast and easy to use.

https://github.com/jkent/frogfs
by phatpaul
Thu Apr 20, 2023 6:42 pm
Forum: ESP-IDF
Topic: How a gatt server can get th name of a connected gatt client
Replies: 3
Views: 1486

Re: How a gatt server can get th name of a connected gatt client

I went through this same issue previously. I wanted to show a "Bonded Devices" list on my ESP32 product with the names of i.e. cellphones that had paired to it. I didn't find a standard way to do that. I think it is up to you to add a method at the application level to send a name to the GATT server...