Search found 1565 matches

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: 5813

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: 5813

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: 64

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: 50

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: 4
Views: 68

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: 68

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.
by Roberthh
Fri Sep 13, 2019 12:14 pm
Forum: General Discussion and Questions
Topic: unable to flash micropython to esp 32: open serial error
Replies: 4
Views: 68

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

Which operating system do you use on the PC?
by Roberthh
Thu Sep 12, 2019 6:43 am
Forum: Pyboard D-series
Topic: Replacement USB fuse
Replies: 3
Views: 80

Re: Replacement USB fuse

I would assume, just an engineers reluctance to replace a fuse with a wire. Beside that, a solder blob would most likely meet the requirement of < 0.1 Ohm resistance.
by Roberthh
Wed Sep 11, 2019 7:51 pm
Forum: ESP32 boards
Topic: UART answer in 2ms
Replies: 11
Views: 169

Re: UART answer in 2ms

Looking into the code a little bit further, the are two timeout parameters: a) timeout=xxx Unit ms. Timeout to wait for a character to arrive. That is important for uart read calls. b) timeout_char=xx Unit chars. Timeout for the ISR between characters. It seems that no character is signaled to be re...
by Roberthh
Wed Sep 11, 2019 7:33 pm
Forum: ESP32 boards
Topic: UART answer in 2ms
Replies: 11
Views: 169

Re: UART answer in 2ms

I have a solution: in file machine_uart.c, add the following line after line 207: uart_set_rx_timeout(self->uart_num, self->timeout_char); This section should then look like: // set timeout_char // make sure it is at least as long as a whole character (13 bits to be safe) self->timeout_char = args[A...