Please note: Friday June 18 is a holiday celebrating Juneteenth, please allow extra time for your order to arrive and plan accordingly.
0

ESP32 Tiny Pico 4MB + 4MB?
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

ESP32 Tiny Pico 4MB + 4MB?

by mej7000 on Fri Mar 26, 2021 12:29 pm

I bought a Tiny Pico, which works great, but I noticed it doesn't seem to recognize the additional 4MB of memory that is on the board. I am using the latest ESP32 Board Manager 1.0.5

I have PSRAM enabled, however it appears that only 4MB is recognized. I believe there is 4MB+4MB of Flash available on the Tiny Pico. Am I understanding that correctly? Do I need to do anything special to use the additional 4MB? Below is my output and screenshot.

Sketch uses 1505790 bytes (76%) of program storage space. Maximum is 1966080 bytes.
Global variables use 54804 bytes (16%) of dynamic memory, leaving 272876 bytes for local variables. Maximum is 327680 bytes.
esptool.py v3.0-dev
Serial port COM13
Connecting........_
Chip is ESP32-PICO-D4 (revision 1)
Features: WiFi, BT, Dual Core, 240MHz, Embedded Flash, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: 50:02:91:9f:7a:88
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 921600
Changed.
Configuring flash size...
Auto-detected Flash size: 4MB
Compressed 8192 bytes to 47...
Writing at 0x0000e000... (100 %)
Wrote 8192 bytes (47 compressed) at 0x0000e000 in 0.0 seconds (effective 13107.5 kbit/s)...
Hash of data verified.
Compressed 18656 bytes to 12053...
Writing at 0x00001000... (100 %)
Wrote 18656 bytes (12053 compressed) at 0x00001000 in 0.2 seconds (effective 915.6 kbit/s)...
Hash of data verified.
Compressed 1505904 bytes to 880813...
Writing at 0x00010000... (1 %)
Writing at 0x00014000... (3 %)
Writing at 0x00018000... (5 %)
...
Writing at 0x000dc000... (96 %)
Writing at 0x000e0000... (98 %)
Writing at 0x000e4000... (100 %)
Wrote 1505904 bytes (880813 compressed) at 0x00010000 in 14.7 seconds (effective 820.0 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 129...
Writing at 0x00008000... (100 %)
Wrote 3072 bytes (129 compressed) at 0x00008000 in 0.0 seconds (effective 4096.1 kbit/s)...
Hash of data verified.

Leaving...
Hard resetting via RTS pin...
Screenshot (335).png
Screenshot (335).png (175.73 KiB) Viewed 89 times

mej7000
 
Posts: 5
Joined: Wed Mar 10, 2021 9:50 am

Re: ESP32 Tiny Pico 4MB + 4MB?

by adafruit_support_mike on Mon Mar 29, 2021 9:15 pm

The PSRAM is separate from the ESP32's built-in RAM, and you need to use libraries that talk to it.

This page has a good overview:

https://learn.upesy.com/en/programmatio ... l-utiliser

adafruit_support_mike
 
Posts: 62799
Joined: Thu Feb 11, 2010 2:51 pm

Please be positive and constructive with your questions and comments.