-->
Page 1 of 2

ESP-07 not entering flash mode

PostPosted: Tue Jul 21, 2015 2:36 pm
by rjhllr
Good day everyone,
I currently have a ESP-07 module, 16 pin variant, red power led and blue activity led, lying here.
I have already configured and tested it using AT firmware (connecting to my own AP) and it's also connecting after restart without fail, so the module is definitely working, as is the connection via my FTDI USB-to-Serial adapter (3.3v of course).
The ESP is mounted on perfboard using a custom 2.54mm to 2mm spacing adapter (and yes, it's looking just as atrocious as you'd think it does!)
Now I wanted to flash NodeMCU on that little thingy for which I made the following connections:
First, I established a ground rail (a 2.54mm jumper with 4 pins) to which I connected GPIO0, GPIO15, GND pins from ESP and GND pin from the FTDI.
I then went on to doing the same for VCC. Currently, CH_PD (labelled "EN" on my silkscreen, so I did it according to the available pinout online) and VCC of the ESP are connected to the VCC line of the FTDI using another jumper bridge.
Furthermore the serial connection is connected correctly (TX/RX switched on each end).
When I start the module like this I can connect to serial just as ever and I get the bootloader crap but fine transmission otherwise. Module upstart looks like:
Code: Select allTerminal ready
rl��r��c�n��
            �
             ��p�|����x��ǒ��lp

                              �nn��;�nĒ��

                                         b�$rrp�n��
                                                   ��l�
                                                       �
                                                        �
                                                         b�n��n�$���
                                                                    b��>~�n����l`��#�n�rnr���;��
                                                                                                
                                                                                                 l`nn��
                                                                                                       �r��
                                                                                                           �
                                                                                                            p
                                                                                                             p��<��쎜
                                                                                                                     b��>~�n���
                                                                                                                               r��#�n�rnr���;��
l`nn��
       �r����
             p
              p��<��l�
                      b��>~�n���
                                r��#�n�$�l`8`rn|��n��b��l`8���;��
                                                                 
                                                                  l``|���x~�n��ܒ��r�#�n���
                                                                                          ��b`�x�l
                                                                                                  �l��$����


                                                                                                           �
                                                                                                            �
                                                                                                             r!��d���F��nĒ�


                                                                                                                           �ldb�lc`��l�Đx��n��$bb���
     rb��;l��;�
               ��Ē�<��r���l``r�]�
Ai-Thinker Technology Co. Ltd.

ready
WIFI CONNECTED
WIFI GOT IP
AT

ERROR

Mind that this is in what's supposed to be flash mode!
Furthermore take note that not even the normal "AT" command is working. Every command I issue returns error.
For connection to the module via serial I use:
Code: Select allsudo picocom -b 115200 --omap crlf  /dev/cu.usbserial-*

For flashing I tried:
Code: Select allsudo python esptool.py --baud 115200  --port /dev/cu.usbserial-*  write_flash 0x00000 /path/to/nodemcu_latest.bin

and
Code: Select allsudo python esptool.py --port /dev/cu.usbserial-*  write_flash 0x00000 /path/to/nodemcu_latest.bin

(yes, I did replace the path)

Hope someone here can shed some light..

- rjhllr

Re: ESP-07 not entering flash mode

PostPosted: Wed Jul 22, 2015 5:46 pm
by tytower
The only thing different to mine is that I set RESET high

Re: ESP-07 not entering flash mode

PostPosted: Thu Jul 30, 2015 1:45 pm
by rjhllr
Well, setting reset to high will only make the ESP restart, won't it?
Greets,
rjhllr

Re: ESP-07 not entering flash mode

PostPosted: Thu Jul 30, 2015 3:11 pm
by tytower
Yes but it boots into FLASH mode which is running mode . Put in low it boots into UART mode which is for uploading the code .