Search found 8873 matches
- Mon Mar 18, 2024 2:10 pm
- Forum: ESP-IDF
- Topic: WIFI sockets fail after a while
- Replies: 8
- Views: 327
Re: WIFI sockets fail after a while
That sounds like your issue. WiFi in particular needs some things to be in SRAM rather than external RAM, and that 12K that is left is likely fragmented enough not to be able to give up a buffer. Note that your total heap is SRAM plus external RAM, that's why it's so big.
- Mon Mar 18, 2024 2:52 am
- Forum: General Discussion
- Topic: ESP32-C3-MINI SPI and I2C
- Replies: 5
- Views: 399
Re: ESP32-C3-MINI SPI and I2C
I mean the pins the (internal) flash is connected, again, check the datasheet. Aside from that, if you want to be able to re-flash your ESP32-C3, it's obviously good to also keep from using the pins you need to do that, yes.
- Mon Mar 18, 2024 2:50 am
- Forum: ESP-IDF
- Topic: WIFI sockets fail after a while
- Replies: 8
- Views: 327
Re: WIFI sockets fail after a while
Maybe a memory leak? You could try spinning up a separate task that prints the amount of available memory every x seconds, see if that goes down.
- Mon Mar 18, 2024 2:45 am
- Forum: General Discussion
- Topic: Best practices for USB Vendor / Product ID
- Replies: 6
- Views: 451
Re: Best practices for USB Vendor / Product ID
I'm the guy who hands out the PIDs there. If you make any number (>=1) of devices you give away or sell or whatever, as long as you're willing to answer the questions in the readme of that repo, you'll get a PID.
- Mon Mar 18, 2024 2:39 am
- Forum: General Discussion
- Topic: How to get the max speed out of ESP32 for hardware related tasks?
- Replies: 2
- Views: 139
Re: How to get the max speed out of ESP32 for hardware related tasks?
The issue is that 'older' microcontrollers like AVRs etc are simpler devices, with the peripherals very close to the CPU core, and in the same clock domain as the CPU core only works at a few MHz. That doesn't work for faster CPUs; you need bus logic, clock domain crossings, etc, and the GPIO subsys...
- Sun Mar 17, 2024 6:56 am
- Forum: General Discussion
- Topic: ESP32-C3-MINI SPI and I2C
- Replies: 5
- Views: 399
Re: ESP32-C3-MINI SPI and I2C
Sorry for the late reply! Does that mean that I can use *any* pin? I know there are many precautions around other ESP32 SoCs because sometimes the SPI flash is connected and some pins are used for strapping. Yep, hence my (not otherwise used/assigned) remark. Check the datasheet for the flash pins ...
- Sun Mar 17, 2024 3:40 am
- Forum: ESP-IDF
- Topic: Simple socket and errno = 11, No more processes
- Replies: 28
- Views: 1882
Re: Simple socket and errno = 11, No more processes
Heh, I can entirely understand why that'd make you pull your hair out. Glad you fixed it and thanks for sharing the solution!
- Sun Mar 17, 2024 3:38 am
- Forum: ESP-IDF
- Topic: Can't stop watchdog reset (devkit C v4, ESP32-WROOM-32D)
- Replies: 2
- Views: 117
Re: Can't stop watchdog reset (devkit C v4, ESP32-WROOM-32D)
The watchdog is there for a reason; rather than trying to kill it, you're generally better off figuring out why it's unhappy in the first place.
- Sat Mar 16, 2024 5:56 am
- Forum: ESP-IDF
- Topic: abort() inside ESP_LOGI
- Replies: 2
- Views: 2202
Re: abort() inside ESP_LOGI
Sounds like out-of-memory is a possibility, especially given it works for the first 30 mins...
- Sat Mar 16, 2024 5:49 am
- Forum: ESP-IDF
- Topic: IRQ Handling Best Practices
- Replies: 1
- Views: 126
Re: IRQ Handling Best Practices
The GPIO subsystem only has one interrupt available (well, technically two on some chips, but I'm not sure if software supports using them both), so whatever option you pick goes for all GPIOs.