Page 1 of 1

psram in wrover

Posted: Sun Jul 15, 2018 4:12 pm
by maneco
HI, now that psram is supported, i'm trying to use it, i want to store a large amount of 8 b its a/d convertions, as internal mamory crashed above 90 k ...
i'm using this command:

byte *sDelayBuffer0 = ( byte* ) ps_malloc( 480000 );

i requested the amount of ram available and it shows above 4 megas with the command

Serial.println(ESP.getFreeHeap());

but it crashes

any ideas?

Re: psram in wrover

Posted: Mon Jul 16, 2018 2:40 pm
by kolban
Have you tested that your malloc is indeed returning a pointer to data and not NULL? What does the crash look like? What source statement are we failing upon?