Small ESP32 Modul ( all include in new ESP32-PICO )

User avatar
rudi ;-)
Posts: 1698
Joined: Fri Nov 13, 2015 3:25 pm

Re: Small ESP32 Modul ( all include in new ESP32-PICO )

Postby rudi ;-) » Fri Nov 02, 2018 1:10 pm

seonroz wrote: On PICO-KIT I am using
CS - GPIO9
CLK - GPIO10
SIO[0] - GPIO8
SIO[1] - GPIO17
SIO[2] - GPIO7
SIO[3] - GPIO11
it looks good

btw
chao's ( electrodragon ) IPUS PSRAM must (should) work.
E (1790) spiram: First Error after 111806 good writes
E (1839) spiram: SPI SRAM memory test fail.
E (1839) spiram: Writes: 131072, Reads - Good: 131070, Bad: 2 from Total: 131072
E (1840) spiram: First Good @ 3F800000, First Fail @ 3FB697C0

E (1847) cpu_start: External RAM failed memory test!
abort() was called at PC 0x40081871 on core 0
this looks in first view good too

i remeber me in my testings, the wire on breadboard can be a miracle things.

btw
do you use a special psram test code?
best wishes
and good luck :)

rudi ;-)
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪

User avatar
seonroz
Posts: 54
Joined: Thu Oct 25, 2018 3:51 am
Location: Melbourne, Australia
Contact:

Re: Small ESP32 Modul ( all include in new ESP32-PICO )

Postby seonroz » Fri Nov 02, 2018 9:09 pm

Thanks for all the cross checking rudi :-)

I'm not using any special code... I've got a repo of the loboris MicroPython code with PSRAM support and a repo of the latest IDF.

In the MP repo I've added some extra debug info in the ram test, but it's the same test code.

I'm going to try one more hardware build this weekend to see if I can get the wires from the ram to the PICO as short as possible, but at some point I'm going to need to just order rev5 boards and try it all out. Unfortunately that going to take weeks now as I am off to Shenzhen on the 9th, so no way to get boards made and back to me in time to try before I go, and I am away for 10 days, so I wont be able to try a rev5 until after the 19th :(

Cheers,

Seon
unexpectedmaker.com
Seon
unexpectedmaker.com

User avatar
rudi ;-)
Posts: 1698
Joined: Fri Nov 13, 2015 3:25 pm

Re: Small ESP32 Modul ( all include in new ESP32-PICO )

Postby rudi ;-) » Sun Nov 04, 2018 5:29 am

rudi ;-) wrote:
seonroz wrote: On PICO-KIT I am using
CS - GPIO9
CLK - GPIO10
SIO[0] - GPIO8
SIO[1] - GPIO17
SIO[2] - GPIO7
SIO[3] - GPIO11
it looks good

btw
chao's ( electrodragon ) IPUS PSRAM must (should) work.
E (1790) spiram: First Error after 111806 good writes
E (1839) spiram: SPI SRAM memory test fail.
E (1839) spiram: Writes: 131072, Reads - Good: 131070, Bad: 2 from Total: 131072
E (1840) spiram: First Good @ 3F800000, First Fail @ 3FB697C0

E (1847) cpu_start: External RAM failed memory test!
abort() was called at PC 0x40081871 on core 0
this looks in first view good too

i remeber me in my testings, the wire on breadboard can be a miracle things.

btw
do you use a special psram test code?
best wishes
and good luck :)

rudi ;-)

edit:
i just in time play with loboris microPython and Pico-D4
want solder single psram on week start at a pico d4 play modul.
let see whats happend and how the time stands for it.
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪

User avatar
seonroz
Posts: 54
Joined: Thu Oct 25, 2018 3:51 am
Location: Melbourne, Australia
Contact:

Re: Small ESP32 Modul ( all include in new ESP32-PICO )

Postby seonroz » Sun Nov 04, 2018 6:24 am

rudi ;-) wrote: edit:
i just in time play with loboris microPython and Pico-D4
want solder single psram on week start at a pico d4 play modul.
let see whats happend and how the time stands for it.
Hey rudi... um, I think I understand what you are saying...

You are wanting to solder a PSRAM to a PICO-D4 and play with Boris's MicroPython port this week if you have the time?

If so, cool! I've been using both his MP version and standard IDF master. I cant really do much else until my new IPUS IPS6404 ram arrives... it's not even shipped yet, so I am not even sure i'll get it before I leave for Shenzhen on Friday morning.

I'll keep everyone posted!

BTW, I made a video about my PSRAM "frustration & journey" and it will be released on my youtube channel tomorrow (My Monday Morning) - I mention both you and Boris in it. It's not a rant video, but you can hear my frustration in it... I hope no one gets upset ;)

Cheers,

Seon
unexpectedmaker.com
Seon
unexpectedmaker.com

User avatar
rudi ;-)
Posts: 1698
Joined: Fri Nov 13, 2015 3:25 pm

Re: Small ESP32 Modul ( all include in new ESP32-PICO )

Postby rudi ;-) » Sun Nov 04, 2018 4:40 pm

seonroz wrote:
rudi ;-) wrote: edit:
i just in time play with loboris microPython and Pico-D4
want solder single psram on week start at a pico d4 play modul.
let see whats happend and how the time stands for it.
Hey rudi... um, I think I understand what you are saying...

You are wanting to solder a PSRAM to a PICO-D4 and play with Boris's MicroPython port this week if you have the time?
Hi Seon
yes you are right, this is the "master operation plan for monday" :)))
detail1a.png
detail1a.png (46.92 KiB) Viewed 11873 times
detail2.png
detail2.png (52.79 KiB) Viewed 11873 times
let see whats happend, i search just in time the IPUS, Lyontek and a NoName pSRAM.

hope the wire plan is right and @espressif did nothing change in SIP, Board, BLOB BIN Library CODE (I'm always very skeptical about that)
..I hope no one gets upset ..


ha ha :) no problem - all @ESP_guys have now an "elephant skin",
did you read my "upset" posting to @espressif in the past
:lol: i am allways very explosive in this :oops:
the psram theme has a very very emotional outbursts,
@q2222ch was very helpful in this by sending the first 3.3V pSRAM ( there was no 3.3V serial pSRAM on the market at this time )
so we could test the "magic 3.3V theme" too
before there where many magic code to find out
... long story ..

look forward now.

Code: Select all

//psram gpio init , different working frequency we have different solutions
esp_err_t IRAM_ATTR psram_enable(psram_cache_mode_t mode, psram_vaddr_mode_t vaddrmode)   //psram init
{
    uint32_t chip_ver = REG_GET_FIELD(EFUSE_BLK0_RDATA3_REG, EFUSE_RD_CHIP_VER_PKG);
    uint32_t pkg_ver = chip_ver & 0x7;
    if (pkg_ver == EFUSE_RD_CHIP_VER_PKG_ESP32D2WDQ5) {
        ESP_EARLY_LOGE(TAG, "ESP32D2WD do not support psram yet");
        return ESP_FAIL;
    } else if (pkg_ver == EFUSE_RD_CHIP_VER_PKG_ESP32PICOD2) {
        ESP_EARLY_LOGE(TAG, "ESP32PICOD2 do not support psram yet");
        return ESP_FAIL;
    } else if (pkg_ver == EFUSE_RD_CHIP_VER_PKG_ESP32PICOD4) {
        // ESP_EARLY_LOGE(TAG, "ESP32PICOD4  do not support psram yet");
		ESP_EARLY_LOGE(TAG, "ESP32PICOD4  Nice to see this here now Yeah ;-)");
        // return ESP_FAIL;
    }


best wishes
rudi ;-)
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪

User avatar
rudi ;-)
Posts: 1698
Joined: Fri Nov 13, 2015 3:25 pm

Re: Small ESP32 Modul ( all include in new ESP32-PICO )

Postby rudi ;-) » Sun Nov 04, 2018 9:19 pm

australia now 08:17 monday
good morning seon :)
here in germany now is 10:17 PM ( sunday )
...
let's start :)
Attachments
mod1.jpg
mod1.jpg (337.51 KiB) Viewed 11860 times
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪

User avatar
rudi ;-)
Posts: 1698
Joined: Fri Nov 13, 2015 3:25 pm

Re: Small ESP32 Modul ( all include in new ESP32-PICO )

Postby rudi ;-) » Sun Nov 04, 2018 9:23 pm

..did start the mod on a ESP32-PICO-D4-V4 -
...i try this time a custom technic :)
why not build layers by hand :)
i did use for the first time in this mod, let's see what happens..
i build an power supply layer first, and then wired the rest.
..
Attachments
mod2.jpg
mod2.jpg (398.02 KiB) Viewed 11859 times
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪

User avatar
rudi ;-)
Posts: 1698
Joined: Fri Nov 13, 2015 3:25 pm

Re: Small ESP32 Modul ( all include in new ESP32-PICO )

Postby rudi ;-) » Sun Nov 04, 2018 9:24 pm

..and here you are

Pico-D4-V4 ready for start :)
Attachments
mod3.jpg
mod3.jpg (457.47 KiB) Viewed 11858 times
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪

User avatar
rudi ;-)
Posts: 1698
Joined: Fri Nov 13, 2015 3:25 pm

Re: Small ESP32 Modul ( all include in new ESP32-PICO )

Postby rudi ;-) » Sun Nov 04, 2018 9:27 pm

remember
i did change the code ( esp-idf ) in loboris repo

and build the micropython for esp32 like loboris description on github

now we run the first pSRAM test on Pico-D4

and
boot1.jpg
boot1.jpg (112.01 KiB) Viewed 11857 times
vola - no crash

test one - success
now testing pSRAM
...
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪

User avatar
rudi ;-)
Posts: 1698
Joined: Fri Nov 13, 2015 3:25 pm

Re: Small ESP32 Modul ( all include in new ESP32-PICO )

Postby rudi ;-) » Sun Nov 04, 2018 9:28 pm

boot2.jpg
boot2.jpg (116.67 KiB) Viewed 11856 times
have a nice week start my friend!


greetings fly out to friends all over the globe

done!

best wishes
rudi ;-)
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪

Who is online

Users browsing this forum: No registered users and 91 guests