emard / ulx3s-bin

Quickstart binaries for flashing ULX3S to factory-default state
25 stars 8 forks source link

after upip.install("esp32ecp5") an error is reported when doing import ecp5 #8

Closed janrinze closed 2 years ago

janrinze commented 2 years ago

Since upgrading the esp32 with : import upip;upip.install("esp32ecp5")

I get the following error:

Welcome to MicroPython!
Password:
WebREPL connected

import ecp5
Traceback (most recent call last):
File "", line 1, in
File "ecp5.py", line 8, in
ImportError: cannot import name SoftSPI

Somehow SoftSPI has disappeared. Do other people have similar issues?

emard commented 2 years ago

This error is probably from micropython v1.12

Recommended is (still) micropython 1.14 IDF3. IDF4 works but leaves less RAM free version 1.12 doesn't have SoftSPI but it would work with SPI(-1, instead of SoftSPI( versions newer than 1.14 are ok for SoftSPI and SPI but they crash at unmounting SD card.

SD unmount crash bug is reported to micropython but not yet solved

On Tue, Jan 18, 2022 at 11:47 PM janrinze @.***> wrote:

Since upgrading the esp32 with : import upip;upip.install("esp32ecp5")

I get the following error:

Welcome to MicroPython! Password: WebREPL connected

import ecp5 Traceback (most recent call last): File "", line 1, in File "ecp5.py", line 8, in ImportError: cannot import name SoftSPI

Somehow SoftSPI has disappeared. Do other people have similar issues?

— Reply to this email directly, view it on GitHub https://github.com/emard/ulx3s-bin/issues/8, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC4K2RZWBBGHI4NOKIPZAATUWXUWXANCNFSM5MIL37YA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you are subscribed to this thread.Message ID: @.***>

janrinze commented 2 years ago

Thanks for the swift reply! Flashing with esp32-idf3-20210202-v1.14.bin fixed it. (need to reconfigure everything afterwards.)