Search found 1569 matches

by Roberthh
Tue Sep 17, 2019 12:11 pm
Forum: ESP32 boards
Topic: main.py does not appear to working after boot
Replies: 49
Views: 1319

Re: main.py does not appear to working after boot

I guess it is a hardware issue. EN is the reset pin/switch. If you push that, a proper start cycle is executed. That may not happen when just USB is plugged in. @OutOfTheBots told once, that soldering a 100nF capacitor between EN and GND solved his problem. If I look at the schematics of the Wemos d...
by Roberthh
Mon Sep 16, 2019 3:54 pm
Forum: General Discussion and Questions
Topic: unable to flash micropython to esp 32: open serial error
Replies: 11
Views: 187

Re: unable to flash micropython to esp 32: open serial error

The tool you used looks just like a front-end GUI for esptool.py.
by Roberthh
Mon Sep 16, 2019 10:19 am
Forum: General Discussion and Questions
Topic: unable to flash micropython to esp 32: open serial error
Replies: 11
Views: 187

Re: unable to flash micropython to esp 32: open serial error

You do not need pip. You can also download esptool.py from the link I gave, and use it locally.
by Roberthh
Mon Sep 16, 2019 9:50 am
Forum: General Discussion and Questions
Topic: unable to flash micropython to esp 32: open serial error
Replies: 11
Views: 187

Re: unable to flash micropython to esp 32: open serial error

I think we are talking about a different esptool. The one you need is: https://github.com/espressif/esptool/bl ... esptool.py, which is a single python script.
by Roberthh
Sun Sep 15, 2019 6:02 pm
Forum: micro:bit boards
Topic: Problems building micropython-1.9.2 from source
Replies: 17
Views: 5833

Re: Problems building micropython-1.9.2 from source

The messages are fine. QSTRs have only to be updated, if you change the code. You can try different flash modes, using make FLASH_MODE=xxxx deploy xxx stands for qio,qout,dio, or dout. The default is dio. Which ESP32 board are you using. There were some similar problems reported in the board, and al...
by Roberthh
Sun Sep 15, 2019 3:44 pm
Forum: micro:bit boards
Topic: Problems building micropython-1.9.2 from source
Replies: 17
Views: 5833

Re: Problems building micropython-1.9.2 from source

You have to go into the esp-idf directory and issue the commands:

git checkout 6ccb4cf5b7d1fdddb8c2492f9cbc926abaf230df
git submodule update --init

That will fix the error message. The micropython build is based on that specific commit.
by Roberthh
Fri Sep 13, 2019 7:24 pm
Forum: MicroPython pyboard
Topic: Problem with pyb1.1 and b5500.
Replies: 2
Views: 72

Re: Problem with pyb1.1 and b5500.

To set up the build environment, follow literally and carefully the README.me in https://github.com/micropython/micropython, and then in the port specific subdirectory https://github.com/micropython/micropyt ... orts/stm32.
The best build environment its Linux, Ubuntu or debian.
by Roberthh
Fri Sep 13, 2019 6:33 pm
Forum: Pyboard D-series
Topic: Am I not using pyb.main() properly?
Replies: 1
Views: 59

Re: Am I not using pyb.main() properly?

It's more how the timer is set up. If I put that all into a single call, it works: from pyb import Timer, LED timer = Timer(14, callback=lambda x: LED(2).toggle(), freq=4) A look into the sources would reveal the reason. b.t.w. pyb.main("main.py") is obsolete, because main.py is the default. Edit: I...
by Roberthh
Fri Sep 13, 2019 2:33 pm
Forum: General Discussion and Questions
Topic: unable to flash micropython to esp 32: open serial error
Replies: 11
Views: 187

Re: unable to flash micropython to esp 32: open serial error

When the ESP8266 or ESP32 is plugged in, please open yout windows device manage and look, which COM devices are registered. The one for the ESP should disappear if you unplug it. You may need to refresh the window.
by Roberthh
Fri Sep 13, 2019 12:19 pm
Forum: General Discussion and Questions
Topic: want to start with VSC on Mycropython ( on esp32) :: Pymakr VSC Package throws errors
Replies: 2
Views: 74

Re: want to start with VSC on Mycropython ( on esp32) :: Pymakr VSC Package throws errors

Pymakr is meant to work with Pycom modules, which support something called 'safe boot'. That is a mode where boot.py and main.py are not executed. This boot mode is triggered by sending Ctrl-F to the ESP32 device. The microypthon.org firmware does NOT support this mode.