Search found 7 matches
- Mon Feb 19, 2024 12:17 am
- Forum: ESP-IDF
- Topic: Do we need bad block management, and if so is there something in the API for it?
- Replies: 3
- Views: 889
Re: Do we need bad block management, and if so is there something in the API for it?
Oh, great... no we are implementing a circular log over a span of blocks using the Partitions API, which will be sort of naturally wear-leveled. So I'm glad to hear that that eliminates the need for bad block management. I thought I remembered that the bad blocks could appear over time, and was a di...
- Sun Feb 18, 2024 3:17 pm
- Forum: ESP-IDF
- Topic: Do we need bad block management, and if so is there something in the API for it?
- Replies: 3
- Views: 889
Do we need bad block management, and if so is there something in the API for it?
We are using a ESP-32 dev kit (ESP32-C6-DevKitC-1), and using the partitions API to read and write to FLASH, and it works well. It's been a while since I've written code for nonvolatile FLASH... I seem to recall the need for a mechanism called bad block management, in which you scan for blocks that ...
- Sun Feb 18, 2024 3:11 pm
- Forum: ESP-IDF
- Topic: Can receive characters via UART1, but not UART0
- Replies: 3
- Views: 1018
Re: Can receive characters via UART1, but not UART0
Thank you ok-home, you are right that was the problem. Not sure why the dev kit would come shipped with this problem...
- Wed Feb 07, 2024 2:20 pm
- Forum: ESP-IDF
- Topic: Can receive characters via UART1, but not UART0
- Replies: 3
- Views: 1018
Can receive characters via UART1, but not UART0
UPDATE: this is happening on two different boards, and I don't seem to be able to find ANY example code that sets up UART0 for receiving. This is getting absurd, the most basic function on a controller and I can't get it to work. Does anyone have any theories, or a pointer to some code that should r...
- Thu Feb 01, 2024 8:24 pm
- Forum: ESP-IDF
- Topic: Do I need to do something special to talk to dev kit UART0?
- Replies: 0
- Views: 600
Do I need to do something special to talk to dev kit UART0?
Hello, I'm trying to write some UART code to talk to my ESP32c6-DEVKITC1. I am able to read and write through UART1 through pins 10 and 11, with the first code snippet below. But I am not able to talk through UART0 through pins U0TXD/GPIO16, U0RXD/GPIO17, using the second code snippet below. Is ther...
- Wed Jan 24, 2024 1:50 am
- Forum: ESP-IDF
- Topic: Best library/API to use for custom nonvolatile database
- Replies: 4
- Views: 1632
Re: Best library/API to use for custom nonvolatile database
Thank you MicroController. I do get that, that FLASH memory generally requires erasing a page at a time, and we have some reusable roll-your-own code that manages that (copies page out, edits, erases original page, writes modified page). I will definitely look into the libraries you mention (SPIFFS,...
- Tue Jan 23, 2024 4:57 pm
- Forum: ESP-IDF
- Topic: Best library/API to use for custom nonvolatile database
- Replies: 4
- Views: 1632
Best library/API to use for custom nonvolatile database
Hello, we are getting started using an ESP32c6, and we would like to implement some light custom database functionality, using nonvolatile storage. I see that the NVS library is available, but that it's "designed to store key-value pairs in flash." I think that's (key value pairs) not exactly the mo...