-->
Page 2 of 4

Re: Two more GPIO (9,10) in ESP01 module [SOLVED]

PostPosted: Fri Jan 16, 2015 6:21 pm
by gwizz
OK - fair enough - is it that soldering to the flash pins is much more do-able than soldering to the fine pitch esp pins directly?

Anyway, top marks for doing it, didn't mean to sound negative :)

Re: Two more GPIO (9,10) in ESP01 module [SOLVED]

PostPosted: Sun Jan 18, 2015 5:13 am
by Adex
I've hooked my ESP01 board to Saleae Logic analyzer and new hacked GPIO9 and GPIO10 is not used at boot time.

GPIO0 outputs 2MHz clock signal.
GPIO2 outputs some UART TXD0 signal (74880 8N1)


4.86ms after power on I got:
Code: Select all<newline>
 ets Jan  8 2013,rst cause:1, boot mode:(3,6)


4.43ms sleep, then:

Code: Select allload 0x40100000, len 24860, room 16


28.94ms sleep, then:

Code: Select alltail 12
chksum 0x16
ho 0 tail 12 room 4
load 0x3ffe8000, len 2696, room 12


2.84ms sleep, then:

Code: Select alltail 12
chksum 0x38
ho 0 tail 12 room 4
load 0x3ffe8a90, len 3552, room 12


3.83ms sleep, then:

Code: Select alltail 4
chksum 0xb8
csum 0xb8


GPIO2 finishes transmiting UART after ~82ms from power on.
GPIO0 finishes transmiting 2MHz clock after ~90ms from power on.

Re: Two more GPIO (9,10) in ESP01 module [SOLVED]

PostPosted: Sun Jan 18, 2015 5:47 am
by kadamski
But did you change anything in the way you flash your code? I mean, your pulling GPIO0/GPIO2 down to enter flash mode and using esptoll.py/esptool just like normal, right?

Re: Two more GPIO (9,10) in ESP01 module [SOLVED]

PostPosted: Sun Jan 18, 2015 6:08 am
by Adex
GPIO ale pulled up/down like normal board.

But I must flash with ESP FLASH DOWNLOAD TOOL V0.9.3.1 with selected DIO mode instead QIO mode.
I think that esptool.py might need to have some patching to work with DIO instead QIO mode.

___UPADTE___

I resolved an issue with DIO mode and esptool.py
If you want to flash firmware with esptool.py, you must change third byte in 0x00000.bin form 0x00 to 0x02 (according to specification from https://github.com/themadinventor/esptool)
When using ESP FLASH DOWNLOAD TOOL V0.9.3.1 application is automatically changing this byte when uploading to device.