pico-v3-02 & psram -> reboot

digiforge
Posts: 3
Joined: Mon Jul 13, 2020 10:25 pm

pico-v3-02 & psram -> reboot

Postby digiforge » Fri Nov 20, 2020 2:48 pm

Using pico-v3-02 MCU.
Installed DEV ESP32 Support into Arduino. When compiling without -DBOARD_HAS_PSRAM -mfix-esp32-psram-cache-issue
resulting code is bootig and executing. Debug/Display code shows no use/existance of PSRAM as expected.
Enabling RAM during compilation (-dboard_has_psram as above) results in boot-loop

Code: Select all

rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 271414342, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0018,len:4
load:0x3fff001c,len:928
ho 0 tail 12 room 4
load:0x40078000,len:10080
load:0x40080400,len:5856
entry 0x400806a8
E (133) psram: Not a valid or known package id: 6
abort() was called at PC 0x40085653 on core 0

ELF file SHA256: 0000000000000000

Backtrace: 0x40086f48:0x3ffbba30 0x400871bd:0x3ffbba50 0x40085653:0x3ffbba70 0x400d4e81:0x3ffbbaa0 0x400d0ee8:0x3ffbbac0 0x400d0e15:0x3ffbbae0 0x400d14cf:0x3ffbbb00 0x400d3d9a:0x3ffbbb30 0x40089f2d:0x3ffbbb50

Code: Select all

esptool.py v3.0-dev
Serial port /dev/cu.SLAB_USBtoUART
Chip is ESP32-PICO-V3-02 (revision 3)
Features: WiFi, BT, Dual Core, 240MHz, Embedded Flash, Embedded PSRAM, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
(...)
Is there similar experience with -v3-02 and Arduino IDE ?

lbernstone
Posts: 659
Joined: Mon Jul 22, 2019 3:20 pm

Re: pico-v3-02 & psram -> reboot

Postby lbernstone » Fri Nov 20, 2020 7:28 pm

pico-v3 is not yet supported in arduino, and I would not expect to see it supported until after the release of the next major version. Development focus is on esp32-s2 at the moment.
The code to recognize pico-v3 should be in the idf-release/v4.2 branch, but ymmv.

johnny49r
Posts: 1
Joined: Sun Mar 21, 2021 5:50 am

Re: pico-v3-02 & psram -> reboot

Postby johnny49r » Wed Mar 24, 2021 3:01 am

Hi, Is there any progress on this?
I have a custom board with the latest (version 3) pico-v3-02 engineering sample chip.
When compiling with VSCode / platformio, enabling PSRAM by using the build option -DBOARD_HAS_PSRAM results in a continuous reset.
Programs compile and execute OK without this option but obviously without access to the 2MB PSRAM.
This problem also exists in the Arduino IDE when PSRAM is enabled.
Is there another method of enabling PSRAM on this part? When might we expect development support for this variant?

Thanks

luckwaski
Posts: 1
Joined: Mon Apr 19, 2021 7:44 pm

Re: pico-v3-02 & psram -> reboot

Postby luckwaski » Mon Apr 19, 2021 7:46 pm

I'm interested in the same. Do we have any estimation when the pico-v3 might be available?

Who is online

Users browsing this forum: No registered users and 63 guests