Search found 28 matches

by themindfactory
Mon Aug 13, 2018 9:22 pm
Forum: ESP32 Arduino
Topic: Please help, 2 different SPI libraries not getting along with one another....
Replies: 0
Views: 2534

Please help, 2 different SPI libraries not getting along with one another....

I had to use 2 different SPI libraries because the SD class needs SPIClass and my WS2812 controller needed another so it could support the continuos sending of data with no breaks, it did this by ways of DMA, DMA was not required by me, but this is how it did it.... If I could make SPI Class send a ...
by themindfactory
Wed Jun 06, 2018 7:20 pm
Forum: ESP32 Arduino
Topic: SD card memory use
Replies: 12
Views: 17578

Re: SD card memory use

OK let me know, I could test for you guys also, I have a fairly large project right now running out of RAM! :-)

I need to get my hands on some WROVERS however, I should use the also the 16MBytes versions, Arduino supports the larger flash too?

RichardS
by themindfactory
Wed Jun 06, 2018 5:30 pm
Forum: ESP32 Arduino
Topic: SD card memory use
Replies: 12
Views: 17578

Re: SD card memory use

When might that be ??
by themindfactory
Wed Jun 06, 2018 1:49 pm
Forum: ESP32 Arduino
Topic: SD card memory use
Replies: 12
Views: 17578

Re: SD card memory use

And that seems to only be in the SD_MMC lib, I am using SD lib and accessing over SPI....

I have a large project and am out of memory, hence the issue....

Whats the status of WROVER and the extra PSRAM?? Has that been worked into Arduino IDE?

RichardS
by themindfactory
Wed Jun 06, 2018 12:06 pm
Forum: ESP32 Arduino
Topic: SD card memory use
Replies: 12
Views: 17578

Re: SD card memory use

By default, sd_card example in IDF uses 27K as you have mentioned. First of all, if you only need 1 file and not 5 files open at the same time, you can modify ".max_files = 5" to ".max_files = 1" in the example source code. Next, if you are not using wear_levelling library in your application, you ...
by themindfactory
Wed Jun 06, 2018 4:40 am
Forum: ESP32 Arduino
Topic: SD card memory use
Replies: 12
Views: 17578

SD card memory use

Is it possible to cut the 27K required for the SD card to function to a more reasonable level when all you need is one file open! :-)

I wrote a FAT32 driver years back that handled many files and used under 2K, a couple 512 byte buffers and some overhead....

Thanks!
RichardS
by themindfactory
Thu May 17, 2018 2:25 pm
Forum: ESP32 Arduino
Topic: Out of memory?? huh?
Replies: 2
Views: 5060

Re: Out of memory?? huh?

Thanks!

Is there a way to reclaim the 64k used for BT when BT is not used?

RichardS
by themindfactory
Thu May 17, 2018 4:41 am
Forum: ESP32 Arduino
Topic: Out of memory?? huh?
Replies: 2
Views: 5060

Out of memory?? huh?

I compile my code and get: Global variables use 103200 bytes (34%) of dynamic memory, leaving 191712 bytes for local variables. Then I change an array from int array[16][64] to array[64][64] this is 12K more RAM, but I get a linker error of: region `dram0_0_seg' overflowed by 288 bytes Why? Thanks!
by themindfactory
Tue May 15, 2018 2:03 pm
Forum: ESP32 Arduino
Topic: Failing to execute new Arduino Sketch
Replies: 2
Views: 4765

Re: Failing to execute new Arduino Sketch

The heap normally just prior to calling setup() or at least at the top of setup() is 110KBytes, this is enough? I would hope so....

RichardS
by themindfactory
Tue May 15, 2018 2:46 am
Forum: ESP32 Arduino
Topic: Failing to execute new Arduino Sketch
Replies: 2
Views: 4765

Failing to execute new Arduino Sketch

I have written a fairly complicated sketch and it was working just fine.... now it does not even get to setup().... I get to https://github.com/espressif/esp-idf/blob/master/components/esp32/dport_access.c line 187 which asserts() What can cause this?? Decoding stack results 0x40088ba8: invoke_abort...