Flash Tool

bienvenu
Posts: 15
Joined: Fri Nov 27, 2015 11:06 am

Re: Flash Tool

Postby bienvenu » Wed Dec 16, 2015 2:55 pm

Thanks rojer9.

Code: Select all

$ ./esptool32.py --port /dev/tty.usbserial-FTH159YK read_mac
Connecting...
Traceback (most recent call last):
  File "./esptool32.py", line 557, in <module>
    esp.connect()
  File "./esptool32.py", line 171, in connect
    raise Exception('Failed to connect')
Exception: Failed to connect
My logic analyser is sitting on the end of the through-hole pin, and the castellation is very visibly connected. I suppose the next step is to put a flying wire on the QFN pad and see what's happening there.

User avatar
rudi ;-)
Posts: 1698
Joined: Fri Nov 13, 2015 3:25 pm

Re: Flash Tool

Postby rudi ;-) » Wed Dec 16, 2015 10:04 pm

rojer9 wrote:.. withthe console output you posted, it looks like you get into bootloader fine...
hi
only a question, my first start up starts in few minits:
have checked soldering and board pins, all ok.

have we a bootloader prompt to see ( identify as bootloader mode ) in terminal or comes blank screen? if bootloader prompt, what / how does it say / looks it?

i will start then:
connect GND,
connect 3.3
connect EN to 3.3
GPIO0 to low ( GND )
GPIO2 to low ( GND )
toogle EN 1-2 time
then bootloader must come, right?

flashing the empty flash ic
with posted esptool

then boot ap demo
connected GND,
connect 3.3,
toggle 1-2 EN to 3.3 ( have we no Rest Pin? )
GPIO0 to high ( 3.3 )

right?
till later, will try it now in few minits.
best wishes
rudi ;-)
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪

User avatar
rudi ;-)
Posts: 1698
Joined: Fri Nov 13, 2015 3:25 pm

esptool_ESP32.py missing in RTOS SDK folder tools

Postby rudi ;-) » Wed Dec 16, 2015 11:59 pm

hi
just read in the ESP32 RTOS SDK SUB folder "tools", there is just in time no esptool_ESP32.py

have tested the ESP31.py but get no connect just in time.
options like read_mac chip_id ... no connect.

will connect Logic now.

btw:
this was one output i toogle pin EN:
"esp31" is talking with me ;-)

btw:
have we esp31 boot code list for know about # 13 ?
have we esp31 watchdog cause list for know about # 1?
FirstBoot_DownloadMode.jpg
FirstBoot_DownloadMode.jpg (26.96 KiB) Viewed 16734 times
any tips are welcome, puzzle just in time.
i registered, we can not use the "windows" esp8266 flash tool from espressif?


best wishes
rudi ;-)
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪

User avatar
rudi ;-)
Posts: 1698
Joined: Fri Nov 13, 2015 3:25 pm

Re: Flash Tool

Postby rudi ;-) » Thu Dec 17, 2015 12:37 am

hi
btw, need we flash_write "esp_init_data_default.bin" for the demo_app?
..
btw:
get no connect with the esptool_esp31.py
2015-12-17 01-32-38-481.jpg
2015-12-17 01-32-38-481.jpg (101.13 KiB) Viewed 16733 times
tip, proposal?

best wishes
rudi ;-)

try to analyz with logic now.
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪

bienvenu
Posts: 15
Joined: Fri Nov 27, 2015 11:06 am

Re: Flash Tool

Postby bienvenu » Thu Dec 17, 2015 2:19 am

It sounds like rudi has the same issue as me - the ESP32 (ESP31B?) acts deaf in flash download mode.

EDIT:
Update - I see continuity between breakout pin 34 and ESP31 pin 37, which is listed in the specifications as U0RXD (page 13, "Figure 2-2. ESP31 (Beta Version) Pin Layout"). Pad 37 seems connected to the QFN package - the fillet looks the same as every other one (very good).

ESP_Sprite
Posts: 8921
Joined: Thu Nov 26, 2015 4:08 am

Re: Flash Tool

Postby ESP_Sprite » Thu Dec 17, 2015 3:02 am

FWIW, I get 'boot mode 11' here when I go into flash mode... (which works). I will take a look at my bootstrap pin setup when I have time.

User avatar
rudi ;-)
Posts: 1698
Joined: Fri Nov 13, 2015 3:25 pm

Re: Flash Tool

Postby rudi ;-) » Thu Dec 17, 2015 5:34 am

no hurry,
have test more variants after logic.

first time, the esptool have no response,
after little tests and patching then MAC is response:
bandicam 2015-12-17 04-51-20-125.jpg
bandicam 2015-12-17 04-51-20-125.jpg (271.9 KiB) Viewed 16712 times
after next time, boot mode with demo app was response
bandicam 2015-12-17 05-13-56-365.jpg
bandicam 2015-12-17 05-13-56-365.jpg (363.67 KiB) Viewed 16712 times
will check this evening again, why i can't go in bootmode 11 and upload the files.

sry for big files, perhabs admin can convert to small file.
i upload for see the output in original.

best wishes
rudi ;-)

btw:
done!
;-)
but i cant upload firmware, why, this must be clear at evening.
bye...

@bienvenue
try to deconnect the TX/RX to the USB if you reconnect the modul

@Jer.. think we have a monday breakout :)
btw if you have a second or a reserve.... perhabs you can add me nexttime to a new list.
will try at evening again. so long.
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪

bienvenu
Posts: 15
Joined: Fri Nov 27, 2015 11:06 am

Re: Flash Tool

Postby bienvenu » Thu Dec 17, 2015 6:01 am

rudi ;-) wrote:first time, the esptool have no response,
after little tests and patching then MAC is response:

@bienvenue
try to deconnect the TX/RX to the USB if you reconnect the modul
What did you do to get it to work, specifically? (The "little test and patching".)

Baoshi
Posts: 14
Joined: Sun Nov 22, 2015 3:30 am

Re: Flash Tool

Postby Baoshi » Thu Dec 17, 2015 8:44 am

I'm using the esptool32.py uploaded by rojer9 and it works all ok, both under Linux and Windows.
There is no esp_init_data_default.bin found in the SDK but I guess it is not important for the moment.

User avatar
rudi ;-)
Posts: 1698
Joined: Fri Nov 13, 2015 3:25 pm

Re: Flash Tool

Postby rudi ;-) » Thu Dec 17, 2015 12:03 pm

bienvenu wrote: What did you do to get it to work, specifically? (The "little test and patching".)
hi bienvenu, sry for wrote name wrong before,

i "massacred" the modul :lol:

i picked it out from [EDIT right word, EDIT add Picture of ] breadboard,
IMG_4486s.JPG
IMG_4486s.JPG (44.53 KiB) Viewed 16696 times
bobbed in into again, and same again, same again,one time then the app was boot, so i stopped this. Soldering Modul on Breakout was ok,but think the U0TXD makes worse ( see 8digit toogle switch table 1-2, the U0TXD on boot SPI is High Level )then i connect gpio0 to low, deconnect EN from high (3.3) this wire was very sensitive then and allways reset boot, then connect this to the EN ( 3.3) again, then was boot mode (13)

@thanks faye for declare boot log http://esp32.com/viewtopic.php?f=16&p=216#p216

but can't upload a new firmware.
( have record with desktop video, will upload for not listed view, and post the link under document folder in forum then , there are more processes to see.)

after try to update with esptool, same position, power off, power on, there is no app boot or no boot mode. so i bobbed it again. i am sure, the special breadboard is top, but will make a fix PCB for the evening and try again. i suspected the U0TXD, will attempt at evening to solder switch with pullup/pulldown and other. the usb TTL stick do not separate properly if you deconnect the board from power, the pins are Rear supply via the USB ( Rx, Tx ) if you power of the modul. (seeks a path through the USB)

btw:

in ESP32 RTOS SDK 1.0 github is declare blank.bin

blank.bin--------->0xfe000(for 1MB SPI Flash)

and in Getting Started after Table 2.2 under point 7 "upload files" is it declare with

blank.bin--------->0xFC000

read the command well, in the last config the command is flashing -fs 2m
that means, that there is use a 2Mbit flash in example,
we have 1 Mbit flash in ESP318 so 0xfe000 is the right.

read carefull Table 2-4 for blank.bin

btw:
the modul are not stocked in

R5
R6
C14
R3

the schematics declare
R5 ~~~~ NC GPIO32
R6 ~~~~ NC GPIO33
C14 --||-- NC GND
R3 ~~~~ NC VDD33

so i think, have no component lost :D

best wishes
rudi ;-)

edit: at evening will do next try.
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪

Who is online

Users browsing this forum: 40Below and 129 guests