Search found 31 matches

by Peugot206
Thu Apr 14, 2022 6:24 pm
Forum: Programs, Libraries and Tools
Topic: rshell can't upload library
Replies: 1
Views: 1742

rshell can't upload library

Hello forum users, I still can't really wrap my head around on how to install libraries that are not in the upip manager. I've been reading a lot on the forum and most people seem to use rshell. I am using an ESP32 with PyCharm. When I connect to the ESP32 `rshell -p COMX --buffer-size 512`I try to ...
by Peugot206
Wed Apr 13, 2022 4:44 pm
Forum: ESP32 boards
Topic: ESP32 dual-core question
Replies: 3
Views: 4908

ESP32 dual-core question

Hi MP forum users, I'm wondering how MicroPython handles the dual-core function from the ESP32. Since usually the network tasks run on core 0, and basically any other tasks on core 1 (user program). The user can obviously decide to add more functions to each core, but I'm wondering how this is handl...
by Peugot206
Wed Apr 13, 2022 11:57 am
Forum: ESP32 boards
Topic: ESP32 'device is busy'
Replies: 5
Views: 2189

Re: ESP32 'device is busy'

Thank you Shards and Roberth.. I was not aware of this! Seems like when I close the REPL using CTRL + C I'm able to upload my file again, then restarting the ESP32 and voilĂ  I see it working. Now I miss 2 things in Thonny and I'm not sure if that is normal or if I can get these added to the environm...
by Peugot206
Wed Apr 13, 2022 9:58 am
Forum: ESP32 boards
Topic: ESP32 'device is busy'
Replies: 5
Views: 2189

Re: ESP32 'device is busy'

Put in main.py: import my_led and then put your LED code in a file called my_led.py Done that, same error from the ESP32. However it doesn't say 'device is busy' now when I try to re-upload the 'main.py' it now crashes Thonny with the following error: ERROR thonny.plugins.micropython.backend: PROBL...
by Peugot206
Wed Apr 13, 2022 9:45 am
Forum: ESP32 boards
Topic: ESP32 'device is busy'
Replies: 5
Views: 2189

ESP32 'device is busy'

Hello, I recently installed MicroPython (latest version) on my ESP32 generic board: https://micropython.org/download/esp32/ I have the exact same ESP32 as shown in the image. I can use the REPL and everything seems to works fine. Once I upload the following code: from machine import Pin from time im...
by Peugot206
Sun Apr 10, 2022 6:58 pm
Forum: General Discussion and Questions
Topic: Updating firmware PyBoard stuck [SOLVED]
Replies: 5
Views: 1643

Re: Updating firmware PyBoard stuck

This video solved my problem: https://www.youtube.com/watch?v=2CDN8EQmOeo

You have to download a specific version of dfu-util (the one with win64), then I re-installed the drivers using Zadig (instead of the STM32 drivers) and it finally worked.
by Peugot206
Sun Apr 10, 2022 9:54 am
Forum: General Discussion and Questions
Topic: How to use the WiFi on the PyBoard
Replies: 4
Views: 2140

Re: How to use the WiFi on the PyBoard

I found an old forum post when the Pyboard first came out that referenced this site:https://pybd.io/hw/pybd_sfxw.html#wifi-control and that seems to be the same as the WLAN documentation: https://docs.micropython.org/en/latest/library/network.WLAN.html Thank you! Now I can connect to a network, awe...
by Peugot206
Sun Apr 10, 2022 9:52 am
Forum: General Discussion and Questions
Topic: Updating firmware PyBoard stuck [SOLVED]
Replies: 5
Views: 1643

Re: Updating firmware PyBoard stuck

The documentation for the Pyboard-D boards is quite hard to find. You need to go via 'Buy a Pyboard', select a Pyboard-D board. Then at the bottom of the page there's a link to further documentation: http://pybd.io/hw/pybd_sfxw.html No idea why this information is not available via the documentatio...
by Peugot206
Sat Apr 09, 2022 7:23 pm
Forum: General Discussion and Questions
Topic: How to use the WiFi on the PyBoard
Replies: 4
Views: 2140

How to use the WiFi on the PyBoard

Hi community, How can I use the WiFi for the PyBoard SF2. The documentation seems outdated for this board which is a big bummer for me: https://docs.micropython.org/en/latest/pyboard/quickref.html, or am I just looking at the wrong place here? Could anyone provide me an example code? I tried the net...
by Peugot206
Sat Apr 09, 2022 7:07 pm
Forum: General Discussion and Questions
Topic: Updating firmware PyBoard stuck [SOLVED]
Replies: 5
Views: 1643

Re: Updating firmware PyBoard stuck

I'm also trying to follow the official PyBoard documentation (https://docs.micropython.org/en/latest/ ... ckref.html#), but this all seems outdated and not suited for the PyBoard SF2W which I have? Is there anywhere more up to date information?