After doing some more resting, I found one of my pointers wasn't allocated correctly. Now the writes to the partition and reading through accessing the variable work great so looks like I'm all set!
Cheers,
Matt
Search found 7 matches
- Thu Mar 02, 2023 3:23 am
- Forum: ESP-IDF
- Topic: Using SD as (very slow) memory mapped space
- Replies: 7
- Views: 2447
- Wed Mar 01, 2023 7:20 pm
- Forum: ESP-IDF
- Topic: Using SD as (very slow) memory mapped space
- Replies: 7
- Views: 2447
Re: Using SD as (very slow) memory mapped space
Ok, so I've gotten basics of initializing and writing the flash paritition based on the paritition_mmap example (https://github.com/espressif/esp-idf/tree/master/examples/storage/partition_api/partition_mmap). On the readback, if I generate a void* pointer from esp_partition_mmap and cast it to a st...
- Wed Mar 01, 2023 5:27 pm
- Forum: ESP-IDF
- Topic: Using SD as (very slow) memory mapped space
- Replies: 7
- Views: 2447
Re: Using SD as (very slow) memory mapped space
Awesome, I'll give that a shot. That will at least give us a few MB of space to work with and test out. Thanks!
Matt
Matt
- Wed Mar 01, 2023 12:39 am
- Forum: ESP-IDF
- Topic: Using SD as (very slow) memory mapped space
- Replies: 7
- Views: 2447
Re: Using SD as (very slow) memory mapped space
Thanks ESP_Sprite, I appreciate it. Yeah, that was what I expected. We're considering some of the -S3 variants with the onboard PSRAM (ours is the MINI :-/)
On the internal flash, we do have a good chunk of our 8MB free. How would we go about memory mapping that?
Cheers,
Matt
On the internal flash, we do have a good chunk of our 8MB free. How would we go about memory mapping that?
Cheers,
Matt
- Tue Feb 28, 2023 11:38 pm
- Forum: ESP-IDF
- Topic: Using SD as (very slow) memory mapped space
- Replies: 7
- Views: 2447
Using SD as (very slow) memory mapped space
Hi all, I'd like to process some large chunks of data on the ESP32-S3, but of course running malloc() on several MB of data is well past the limit of the onboard RAM. We do have an SD card connected, so is there a way to map the SD card such that we could use it for memory space? I understand with t...
- Sat Aug 06, 2022 3:52 pm
- Forum: Hardware
- Topic: USB Programming without FTDI works on Devkit, not PCBA
- Replies: 2
- Views: 2248
Re: USB Programming without FTDI works on Devkit, not PCBA
Thanks ESP_Sprite, I found that to be true when I fully erased the devkit and the boot loop occured there as well. It's a bummer that's an issue, but I think we can live with that. As for the auto programming portion, I found that esptool wasn't auto detecting my chip, so it was setting default_rese...
- Fri Aug 05, 2022 4:18 pm
- Forum: Hardware
- Topic: USB Programming without FTDI works on Devkit, not PCBA
- Replies: 2
- Views: 2248
USB Programming without FTDI works on Devkit, not PCBA
Hi all, I'm using the ESP32-C3-MINI-1-N4 on a custom PCBA. Before designing the board, I used the ESP32-C3-DevKitM-1 devkit to prove out USB serial programming. From what I read, it's possible to program via USB using either 1) a USB-to-serial converter chip (FTDI) or 2) directly connecting to USB. ...