After solving the problem of the PWM by flashing the "unstable" 1.18 I am now having a different kind of problem.
From to time, without running code on main, the board "hangs". Attempts to put files with ampy will just wait for ever. Connecting to the repl with picocom will work but I will never get the prompt, it just stays there waiting (pressing enter or any other combination gives me nothing).
Basically I can't do anything until I press the rst button on the board where I get the regular reset message:
Code: Select all
rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:4540
ho 0 tail 12 room 4
load:0x40078000,len:12344
ho 0 tail 12 room 4
load:0x40080400,len:4124
entry 0x40080680
MicroPython v1.18 on 2022-02-10; ESP32 module with ESP32
Type "help()" for more information.
>>> %
when I was using ampy, sometimes it will sync 1 or two files and then hang there, until I press reset. Once again, not running code, just syncing files.
This is the board I have (not endorsed in anyway):
When I flashed MP I got this:
Code: Select all
❯ esptool.py --chip esp32 --port /dev/ttyUSB0 --baud 460800 write_flash --verify -z 0x1000 esp32-20220210-unstable-v1.18-121-gd8a7bf83c.bin
esptool.py v3.2
Serial port /dev/ttyUSB0
Connecting.....
Chip is ESP32-D0WDQ6 (revision 1)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: [redacted]
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
Configuring flash size...
Flash will be erased from 0x00001000 to 0x0017dfff...
Compressed 1558624 bytes to 1025193...
Wrote 1558624 bytes (1025193 compressed) at 0x00001000 in 23.6 seconds (effective 529.4 kbit/s)...
Hash of data verified.
Leaving...
Verifying just-written flash...
(This option is deprecated, flash contents are now always read back after flashing.)
Verifying 0x17c860 (1558624) bytes @ 0x00001000 in flash against esp32-20220210-unstable-v1.18-121-gd8a7bf83c.bin...
-- verify OK (digest matched)