Search found 2545 matches

by Roberthh
Wed Apr 14, 2021 3:06 pm
Forum: Raspberry Pi microcontroller boards
Topic: UART not working with today's version of micropython
Replies: 6
Views: 162

Re: UART not working with today's version of micropython

OK. I could replicate that. You have to add a small timeout to the init, like: self.uart = UART(0, 9600 , parity=None, stop=1, bits=8, tx=Pin(TXPinNr), rx=Pin(RXPinNr), timeout=10) The difference: before the change, UART was blocking. Now it is non-blocking like in all other ports. Edit: See also th...
by Roberthh
Wed Apr 14, 2021 2:48 pm
Forum: Raspberry Pi microcontroller boards
Topic: UART not working with today's version of micropython
Replies: 6
Views: 162

Re: UART not working with today's version of micropython

Does that happen for every message or just the first one?
by Roberthh
Wed Apr 14, 2021 8:23 am
Forum: ESP8266 boards
Topic: ESP8266 Bootloop after some seconds
Replies: 10
Views: 205

Re: ESP8266 Bootloop after some seconds

So this indicates a power or RF interference problem. For power, check again that the USB port can supply sufficient current. If you have a USB3 port, try that one. USB plugs may be worn. And cables are a common problem. For RF interference, try the suggestion of HF blocking of the EN pin: add a cap...
by Roberthh
Wed Apr 14, 2021 6:11 am
Forum: ESP32 boards
Topic: How to get the full capacity of an 8MB or 16MB flash chip?
Replies: 15
Views: 732

Re: How to get the full capacity of an 8MB or 16MB flash chip?

By chance I tried yesterday to build firmware which uses 8 MB flash. What I had to to: a) create a partition table for that 8 MB flash and place it in the esp32 directory. The name is arbitrary. I named it partitions_8mb.csv. My copy: # Name, Type, SubType, Offset, Size, Flags # Note: if you change ...
by Roberthh
Tue Apr 13, 2021 6:11 pm
Forum: ESP8266 boards
Topic: ESP8266 Bootloop after some seconds
Replies: 10
Views: 205

Re: ESP8266 Bootloop after some seconds

OK. so -fm=dout seems to work better. At least MP starts. If you do not touch REPL, does it reboot too?
Another measure some people took was adding a capacitor between the EN pin and GND, and ensuring that EN is properly pulled high by a resistor.
by Roberthh
Tue Apr 13, 2021 4:27 pm
Forum: Raspberry Pi microcontroller boards
Topic: SSD1322 Oled Display with a Pico?
Replies: 3
Views: 160

Re: SSD1322 Oled Display with a Pico?

SPI is also available at the Pico.
by Roberthh
Tue Apr 13, 2021 4:25 pm
Forum: ESP8266 boards
Topic: ESP8266 Bootloop after some seconds
Replies: 10
Views: 205

Re: ESP8266 Bootloop after some seconds

Can you try other flash modes, like dout?
Also, can you try a different USB cable, in case that it is a power problem.
by Roberthh
Tue Apr 13, 2021 3:35 pm
Forum: ESP8266 boards
Topic: ESP8266 Bootloop after some seconds
Replies: 10
Views: 205

Re: ESP8266 Bootloop after some seconds

MicroPython v1.14 on 2021-02-02; ESP module (1M) with ESP8266 You seem to use the 1MB firmware. Did you try the 2MB+ firmware too? https://micropython.org/resources/firmware/esp8266-20210202-v1.14.bin, or the daily build https://micropython.org/resources/firmware/esp8266-20210413-unstable-v1.14-159...
by Roberthh
Tue Apr 13, 2021 3:20 pm
Forum: ESP32 boards
Topic: Help. ESP32 WROOM-32D board doesn't work with pins or PWM
Replies: 7
Views: 125

Re: Help. ESP32 WROOM-32D board doesn't work with pins or PWM

Can you show us the Python commands you used to driver the LED or PWM?
by Roberthh
Tue Apr 13, 2021 2:44 pm
Forum: Raspberry Pi microcontroller boards
Topic: SSD1322 Oled Display with a Pico?
Replies: 3
Views: 160

Re: SSD1322 Oled Display with a Pico?

Looking at the SSD1322 data sheet, I2C is not mentioned. It talks about serial SPI, and parallel 8080 and 6800 mode.