OK, this is a very old thread now, but I what I think the original poster was after is a way to reset an espidf device so that it boots from the factory partition.
So this thread probably answers the need: viewtopic.php?t=31090
Search found 108 matches
- Thu Jan 23, 2025 5:40 am
- Forum: ESP-IDF
- Topic: How to erase the application directly from... itself?
- Replies: 8
- Views: 14207
- Sun Mar 17, 2024 11:09 pm
- Forum: ESP-IDF
- Topic: Reducing RAM usage
- Replies: 6
- Views: 6604
Re: Reducing RAM usage
I can't recall, sorry.
What does the static allocation for the various libraries look like on the 2 SOCs?
Is there an obvious extra library or jump in library size?
What does the static allocation for the various libraries look like on the 2 SOCs?
Is there an obvious extra library or jump in library size?
- Sat Aug 05, 2023 2:55 am
- Forum: ESP-IDF
- Topic: Why doesn't uart_read_bytes() return immediately when data is available?
- Replies: 3
- Views: 2641
Re: Why doesn't uart_read_bytes() return immediately when data is available?
Thanks for the confirm.
I had already switched to using the Events and that is working fine. But the API and doco makes it's use non obvious. I would have saved a lot of time. with just a bit of clarity in the doco.
I had already switched to using the Events and that is working fine. But the API and doco makes it's use non obvious. I would have saved a lot of time. with just a bit of clarity in the doco.
- Fri Aug 04, 2023 2:39 am
- Forum: ESP-IDF
- Topic: Why doesn't uart_read_bytes() return immediately when data is available?
- Replies: 3
- Views: 2641
Re: Why doesn't uart_read_bytes() return immediately when data is available?
Am I correct in thinking that the length param specifies the number of bytes that MUST be read before the function returns (if it doesn't time out)?
I had been reading it as the length of the buffer that could be filled.
I had been reading it as the length of the buffer that could be filled.
- Fri Aug 04, 2023 2:19 am
- Forum: ESP-IDF
- Topic: Why doesn't uart_read_bytes() return immediately when data is available?
- Replies: 3
- Views: 2641
Why doesn't uart_read_bytes() return immediately when data is available?
The docs for uart_read_bytes() imply that if data is available it will return immediately, otherwise it will wait for ticks_to_wait. But this is not the behaviour I am seeing on ESPIDF v4.4.
Instead it always waits for (at least) ticks_to_wait before returning. And if more data is added to the ...
Instead it always waits for (at least) ticks_to_wait before returning. And if more data is added to the ...
CRC funcs
\rom\crc.h lists a number of CRC funcs and provides the polys used for them.
What are the other CRC initialisation values used for each of the funcs? Ie
width
init
refin
refout
xorout
It would make it useful when trying to match CRCs calculated on other systems.
Also it mentions that "we ...
What are the other CRC initialisation values used for each of the funcs? Ie
width
init
refin
refout
xorout
It would make it useful when trying to match CRCs calculated on other systems.
Also it mentions that "we ...
- Fri Jul 21, 2023 5:39 am
- Forum: ESP-IDF
- Topic: xQueueReceive is timing out early
- Replies: 2
- Views: 1482
Re: xQueueReceive is timing out early
OK, looks like this is being caused by CONFIG_FREERTOS_HZ defaulting to 100 (Hz) which means that a request to wait for 497ms will be rounded down to 49 ticks (490ms) and we will wake up 7ms too early.
Changing CONFIG_FREERTOS_HZ to 1000 fixed the issue.
Changing CONFIG_FREERTOS_HZ to 1000 fixed the issue.
- Fri Jul 21, 2023 5:07 am
- Forum: ESP-IDF
- Topic: xQueueReceive is timing out early
- Replies: 2
- Views: 1482
xQueueReceive is timing out early
I have a task that is either grabbing events from a queue or timing out after 500ms. But I am finding that when `xQueueReceive` times out is it sometimes timing out before the 500ms have expired.
I can add code to work around that, but I would like to know why that is occurring as according to the ...
I can add code to work around that, but I would like to know why that is occurring as according to the ...
- Fri Mar 24, 2023 1:04 pm
- Forum: ESP-IDF
- Topic: How to flash everything except the SPIFFs partition
- Replies: 3
- Views: 2144
Re: How to flash everything except the SPIFFs partition
Huh thanks.
I was sure that when I tried that previously it still wrote the SPIFFs partition.
I was sure that when I tried that previously it still wrote the SPIFFs partition.
- Fri Mar 24, 2023 7:03 am
- Forum: ESP-IDF
- Topic: How to flash everything except the SPIFFs partition
- Replies: 3
- Views: 2144
Re: How to flash everything except the SPIFFs partition
Anyone?
Or is this the wrong part of the forum for this question?
Or is this the wrong part of the forum for this question?