Hi, I just started learning MicroPython.
I have a ESP-12F module, with some extra wiring.
Reset -> 10K Ohm -> VCC
EN -> 10K Ohm -> VCC
GPIO 0 -> 10K Ohm -> VCC
GPIO 15-> 10K Ohm -> GND
VCC -> 100uF -> GND
I used command line(esptool.py) or Thonny to install the MicroPython FW.(Erase flash before installing).
All results were successful.
But when I detach the GPIO0 from the GND and restart the module.
Screen from Mac's terminal or Thonny cannot enter REPL.
BTW, I have some D1 mini, with the same FW installation, they works fine.
So I really don't know what's going on...
Please give me some advice, thanks!
Error message from Thonny:
"Device is busy or does not respond. Your options:
- wait until it completes current work;
- use Ctrl+C to interrupt current work;
- use Stop/Restart to interrupt more and enter REPL."
Here is the log from installation of Thonny:
"
Erase command returned with error code 2/Applications/Thonny.app/Contents/Frameworks/Python.framework/Versions/3.7/Resources/Python.app/Contents/MacOS/../../../../../../../Python.framework/Versions/3.7/bin/python3.7 -u -m esptool --port /dev/cu.SLAB_USBtoUART erase_flash
esptool.py v3.1
Serial port /dev/cu.SLAB_USBtoUART
Connecting....
Detecting chip type... ESP8266
Chip is ESP8266EX
Features: WiFi
Crystal is 26MHz
Uploading stub...
Running stub...
Stub running...
Erasing flash (this may take a while)...
Chip erase completed successfully in 6.2s
Hard resetting via RTS pin...
Erasing done
------------------------------------
/Applications/Thonny.app/Contents/Frameworks/Python.framework/Versions/3.7/Resources/Python.app/Contents/MacOS/../../../../../../../Python.framework/Versions/3.7/bin/python3.7 -u -m esptool --port /dev/cu.SLAB_USBtoUART write_flash --flash_mode keep --flash_size detect 0x0 /Users/dennischang/Downloads/esp8266-20210618-v1.16.bin
esptool.py v3.1
Serial port /dev/cu.SLAB_USBtoUART
Connecting...
Detecting chip type... ESP8266
Chip is ESP8266EX
Features: WiFi
Crystal is 26MHz
Stub is already running. No upload is necessary.
Configuring flash size...
Auto-detected Flash size: 4MB
Flash will be erased from 0x00000000 to 0x0009afff...
Flash params set to 0x0040
Compressed 633392 bytes to 416081...
Writing at 0x00000000... (3 %)
Writing at 0x00005812... (7 %)
Writing at 0x0000c2fd... (11 %)
Writing at 0x00012288... (15 %)
Writing at 0x00018d46... (19 %)
Writing at 0x0001eb9c... (23 %)
Writing at 0x00023cc7... (26 %)
Writing at 0x00028c71... (30 %)
Writing at 0x0002dea5... (34 %)
Writing at 0x000337fa... (38 %)
Writing at 0x000395b1... (42 %)
Writing at 0x0003fa8a... (46 %)
Writing at 0x000466df... (50 %)
Writing at 0x0004c323... (53 %)
Writing at 0x0005208c... (57 %)
Writing at 0x00057cc8... (61 %)
Writing at 0x0005e510... (65 %)
Writing at 0x0006442d... (69 %)
Writing at 0x0006aeae... (73 %)
Writing at 0x000711a2... (76 %)
Writing at 0x000776c2... (80 %)
Writing at 0x0007ce1e... (84 %)
Writing at 0x00082eb6... (88 %)
Writing at 0x0008a6ad... (92 %)
Writing at 0x00091565... (96 %)
Writing at 0x00098501... (100 %)
Wrote 633392 bytes (416081 compressed) at 0x00000000 in 36.8 seconds (effective 137.8 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting via RTS pin...
Done!
"
Device doesn't response after install firmware
-
- Posts: 3
- Joined: Thu Jul 22, 2021 5:20 am
Re: Device doesn't response after install firmware
it's probably the wiring
first disconnect all cables, upload the code and then do the wiring
first disconnect all cables, upload the code and then do the wiring
-
- Posts: 3
- Joined: Thu Jul 22, 2021 5:20 am