Page 5 of 5

Re: ESP01 MicroPython install

Posted: Fri Jan 13, 2017 6:27 am
by Roberthh
When I'm starting Putty connection, I get half a line of flashing characters,
The initial speed of the ESP is 74800 baud. On windows, you can set putty to that speed. Then you can see the boot messages. MicroPython changes the speed to 115200, when it comes up.

Re: ESP01 MicroPython install

Posted: Fri Jan 13, 2017 5:15 pm
by lajthabalazs
Thanks, now I see some output, looks like it's looping in boot? At 74800 serial port displays in fast loop the following:

load 0x40100000, len 32028, room 16
tail 12
checksum 0x40
ho 0 tail 12 room 4
load 0x3ffe8000, len 1092, room 12
tail 8
checksum 0x17
load 0x3ffe8450, len 3000, room 0
tail 8
checksum 0x56
csum 0x56
#0 ets_task(40209c10, 31, 3ffe9020, 4)
rf_cal[0] !=0x05, is 0xFF

ets Jan 8 2013,ret cause:2, boot mode:(3,7)


And that goes on and on and on. It holds while I press reset, but after, it continues. What am I doing wrong?

Re: ESP01 MicroPython install

Posted: Fri Jan 13, 2017 7:45 pm
by lajthabalazs
Found a post about bits vs bytes when determining flash size. It appears that --flash_size=32m finally worked (which is 4MBytes). I still cannot figure out why, because my 16MBytes of flash are equal to 128Mbits, which is not an available option in esptool.

I don't know what will happen to the 12MBytes that were omitted, but for now I'm happy with finally getting a python prompt.

Thank you for all the help!

Re: ESP01 MicroPython install

Posted: Sat Jan 14, 2017 2:53 pm
by deshipu
MicroPython (and most of its toolchain) doesn't yet support 16MB flash chips on the ESP8266 -- they get detected as 4MB chips, which is why that option works for you. The rest is simply left unused. You can see the issue in the bug tracker here: https://github.com/micropython/micropython/issues/2335

Re: ESP01 MicroPython install

Posted: Fri Feb 08, 2019 5:41 pm
by sebi
I had the same kind of issues with an ESP-01 (with 1MB Flash).
Then I found this post: https://www.esp8266.com/viewtopic.php?p=73529
Flashing my ESP-01 with with DOUT (Dual Output) instead of DIO or QIO solved it.