Search found 2542 matches

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: 14
Views: 683

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: 9
Views: 149

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

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: 9
Views: 149

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: 9
Views: 149

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: 3
Views: 71

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

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.
by Roberthh
Tue Apr 13, 2021 6:16 am
Forum: ESP32 boards
Topic: Help. ESP32 WROOM-32D board doesn't work with pins or PWM
Replies: 3
Views: 71

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

Can you load the firmware?
Do you get a REPL prompt at the USB/Serial interface?
by Roberthh
Mon Apr 12, 2021 4:36 pm
Forum: General Discussion and Questions
Topic: ESP32 SPI
Replies: 2
Views: 148

Re: ESP32 SPI

SPI itself is sufficiently fast. for your device you have to send ~300k bits for a full screen. At 10MHz SPI that takes about 30 ms. Micropython is slow. I do not know how you have set up your code, but if you write single pixels than you have a lot of overhead. It get's faster if you write larger p...
by Roberthh
Mon Apr 12, 2021 12:31 pm
Forum: ESP32 boards
Topic: Cannot Get UART Rx to Work
Replies: 1
Views: 72

Re: Cannot Get UART Rx to Work

uart.read() is non blocking, and uart.write() is buffered. That means that the call to uart.write() returns before the data has been sent. At that very moment no data has been reecived yet, and uart.read() returns with None. Sending 2 bytes at 9600 takes 2 ms. So wehat can you do: a) wait 2 ms befor...