Firmware don't work

All ESP8266 boards running MicroPython.
Official boards are the Adafruit Huzzah and Feather boards.
Target audience: MicroPython users with an ESP8266 board.
Post Reply
jamesleo
Posts: 3
Joined: Wed Jan 05, 2022 2:38 pm

Firmware don't work

Post by jamesleo » Thu Jan 06, 2022 10:09 am

Hi,
I'm trying to burn MicroPython firmware into an ESP8266 module but failed.
I tried ESP01 and NodeMCU (based on ESP12), esptool and flash_download_tool, also the QIO,QOUT,DIO,DOUT...mode.
After reset, the ESP module print boot info as (both ESP01 and ESP12):
---------@74840----------
ets Jan 8 2013,rst cause:2, boot mode:(3,6)

load 0x40100000, len 30508, room 16
tail 12
chksum 0xac
ho 0 tail 12 room 4
load 0x3ffe8000, len 996, room 12
tail 8
chksum 0x09
load 0x3ffe83f0, len 808, room 0
tail 8
chksum 0x3b
csum 0x3b
rf cal sector: 251
rf[112] : 00
rf[113] : 00
rf[114] : 01

SDK ver: 2.0.0(5a875ba) compiled @ Aug 9 2016 15:12:27
phy ver: 1055, pp ver: 10.2

mode : softAP(b6:e6:2?H?屝Q圸\J-?!繷试?SR7蟈# X
L
-----------------
Even if swithed to 115200@UART, I can't see the micropython prompt infor.

The NodeMCU's firmware works fine by burning with esptool.

Dose anyone know why?

Best Regards

James

User avatar
Roberthh
Posts: 3667
Joined: Sat May 09, 2015 4:13 pm
Location: Rhineland, Europe

Re: Firmware don't work

Post by Roberthh » Thu Jan 06, 2022 11:01 am

ESP01 usually has 512k of flash. For these, you have to uses the specific 512k firmware Image.

Note about UART speed: Microptyhon uses 115200 baud, the ESP bootoader message comes with 7480 Baud. So for normal operation you should use 115200 and ignore the strange character at boot.

jamesleo
Posts: 3
Joined: Wed Jan 05, 2022 2:38 pm

Re: Firmware don't work

Post by jamesleo » Fri Jan 07, 2022 2:43 am

Hi, Roberthh
Thanks for your reply.
Yes I use 512k firmware for ESP01, and tried 1Mib,2Mib+ version for ESP12(NodeMCU). All of the firmware act as the same.
If monitor UART at 115200, there is only 2 charator like 'ld' '$d' .... no micropython promt.
The nodemcu firmware works fine by using the same program tool, eg. esptool, flash_download_tool.
Is there any other firmware in seperate address location? eg. boot.bin, blank.bin, user_prog.bin ....

Thanks again

James

jamesleo
Posts: 3
Joined: Wed Jan 05, 2022 2:38 pm

Re: Firmware don't work

Post by jamesleo » Wed Jan 12, 2022 2:55 am

Hi,
Sorry, that's my fault, the PuTTY got the MicroPython information.
My UART tool works fine except this MicroPython board.
When I try the MicroPython on ESP32 board, it is OK.

Mark

James

Post Reply