VDD_SDIO for ESP32 D2WD

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

Re: VDD_SDIO for ESP32 D2WD

Postby rudi ;-) » Mon Jun 05, 2017 2:32 pm

ESP_igrr wrote:
esptool.py v2.0-beta1
That seems to be a fairly dated version of esptool (and hence the IDF). Support for D2WD was added to IDF in commit 6630877 (around first week of April). If your version of IDF is older than that, you will need to update it (including git submodule update to update esptool).
you need beta3
:)
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪

enitalp
Posts: 60
Joined: Thu Jan 12, 2017 10:03 pm

Re: VDD_SDIO for ESP32 D2WD

Postby enitalp » Mon Jun 05, 2017 2:33 pm

rudi ;-) wrote:
enitalp wrote:

Code: Select all

Flashing binaries to serial port /dev/COM8 (app at offset 0x10000)...
esptool.py v2.0-beta1
Connecting....
Uploading stub...
Running stub...
Stub running...
Attaching SPI flash...
Configuring flash size...
Warning: Could not auto-detect Flash size (FlashID=0xffffff, SizeID=0xff), defaulting to 4MB
Flash params set to 0x0220
Compressed 9488 bytes to 5745...

A fatal error occurred: Timed out waiting for packet content
make: *** [/c/ESP32-IDK-SDK/esp-idf/components/esptool_py/Makefile.projbuild:53: flash] Error 2
Changing my flash settings

Update did change the CONFIG_ESPTOOLPY_FLASHSIZE_DETECT=n to remove warning, and set it up to 2mb.
Still no luck. trying to switch to not compressed...

Yup no luck there.

Code: Select all

Flashing binaries to serial port /dev/COM8 (app at offset 0x10000)...
esptool.py v2.0-beta1
Connecting........
Uploading stub...
Running stub...
Stub running...
Attaching SPI flash...
Configuring flash size...
Flash params set to 0x0210

A fatal error occurred: Timed out waiting for packet content
make: *** [/c/ESP32-IDK-SDK/esp-idf/components/esptool_py/Makefile.projbuild:53: flash] Error 2
Upgrading my tools
yes use 2MB and do not compress - how you go on?
Still can't flash like that. i'm upgrading my toolchain and esp-idf sdk

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

Re: VDD_SDIO for ESP32 D2WD

Postby rudi ;-) » Mon Jun 05, 2017 2:34 pm

update your libs and tools
http://esp-idf.readthedocs.io/en/latest ... et-esp-idf

cd ~/esp
git clone --recursive https://github.com/espressif/esp-idf.git


cd ~/esp/esp-idf
git submodule update --init
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪

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

Re: VDD_SDIO for ESP32 D2WD

Postby rudi ;-) » Mon Jun 05, 2017 2:37 pm

come on :)
This is exciting
Do not let us fidget so long :)
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪

enitalp
Posts: 60
Joined: Thu Jan 12, 2017 10:03 pm

Re: VDD_SDIO for ESP32 D2WD

Postby enitalp » Mon Jun 05, 2017 2:47 pm

So after a full upgrade.

flash_id

Code: Select all

10:37:35 **** Build of configuration Default for project Imagine Bracelet ****
make flash_id 
hello word
esptool.py v2.0-beta3
Connecting........____
Detecting chip type... ESP32
Uploading stub...
Running stub...
Stub running...
Manufacturer: 9d
Device: 7015
Hard resetting...
flash monitor

Code: Select all

esptool.py v2.0-beta3
Flashing binaries to serial port /dev/COM8 (app at offset 0x10000)...
esptool.py v2.0-beta3
Connecting......
Uploading stub...
Running stub...
Stub running...
Configuring flash size...
Flash params set to 0x0210

Writing at 0x00001000... (100 %)
Wrote 16384 bytes at 0x00001000 in 1.5 seconds (89.6 kbit/s)...
Hash of data verified.

Writing at 0x00010000... (2 %)
Writing at 0x00014000... (5 %)
Writing at 0x00018000... (8 %)
Writing at 0x0001c000... (11 %)
Writing at 0x00020000... (14 %)
Writing at 0x00024000... (17 %)
Writing at 0x00028000... (20 %)
Writing at 0x0002c000... (22 %)
Writing at 0x00030000... (25 %)
Writing at 0x00034000... (28 %)
Writing at 0x00038000... (31 %)
Writing at 0x0003c000... (34 %)
Writing at 0x00040000... (37 %)
Writing at 0x00044000... (40 %)
Writing at 0x00048000... (42 %)
Writing at 0x0004c000... (45 %)
Writing at 0x00050000... (48 %)
Writing at 0x00054000... (51 %)
Writing at 0x00058000... (54 %)
Writing at 0x0005c000... (57 %)
Writing at 0x00060000... (60 %)
Writing at 0x00064000... (62 %)
Writing at 0x00068000... (65 %)
Writing at 0x0006c000... (68 %)
Writing at 0x00070000... (71 %)
Writing at 0x00074000... (74 %)
Writing at 0x00078000... (77 %)
Writing at 0x0007c000... (80 %)
Writing at 0x00080000... (82 %)
Writing at 0x00084000... (85 %)
Writing at 0x00088000... (88 %)
Writing at 0x0008c000... (91 %)
Writing at 0x00090000... (94 %)
Writing at 0x00094000... (97 %)
Writing at 0x00098000... (100 %)
Wrote 573440 bytes at 0x00010000 in 50.6 seconds (90.7 kbit/s)...
Hash of data verified.

Writing at 0x00008000... (100 %)
Wrote 16384 bytes at 0x00008000 in 1.4 seconds (91.5 kbit/s)...
Hash of data verified.

Leaving...
Hard resetting...
MONITOR
stdin is not a tty
make: *** [/c/ESP32-IDK-SDK/esp-idf/components/esptool_py/Makefile.projbuild:94: monitor] Error 1
Flashed at 115k, will try at 900+ because it's long ;p



Youhou

now i have to find how to monitor the esp32, all my try failed
Last edited by enitalp on Mon Jun 05, 2017 2:51 pm, edited 1 time in total.

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

Re: VDD_SDIO for ESP32 D2WD

Postby rudi ;-) » Mon Jun 05, 2017 2:50 pm

well done!
..

-> putty?


what is you main ( loved ) OS? win, mac, linux? where you want monitore the com?
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪

enitalp
Posts: 60
Joined: Thu Jan 12, 2017 10:03 pm

Re: VDD_SDIO for ESP32 D2WD

Postby enitalp » Mon Jun 05, 2017 2:55 pm

rudi ;-) wrote:well done!
..

-> putty?


what is you main ( loved ) OS? win, mac, linux? where you want monitore the com?
So flashing at CONFIG_ESPTOOLPY_BAUD_921600B works

I'm on windows. The monitor works normally. but not with python and eclipse anymore..
But the arduino serial monitor works ;p

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

Re: VDD_SDIO for ESP32 D2WD

Postby rudi ;-) » Mon Jun 05, 2017 2:59 pm

all solved now?
how looks your pcb - can you share a picture here from the hardware test?
is your PCB open src / github?
where is your product shop?
;-)

now we need connect pSRAM to it ( its TBD just in time )

well done!
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪

enitalp
Posts: 60
Joined: Thu Jan 12, 2017 10:03 pm

Re: VDD_SDIO for ESP32 D2WD

Postby enitalp » Mon Jun 05, 2017 3:16 pm

rudi ;-) wrote:all solved now?
how looks your pcb - can you share a picture here from the hardware test?
is your PCB open src / github?
where is your product shop?
;-)

now we need connect pSRAM to it ( its TBD just in time )

well done!
I just need to solve the debug output in eclipse, but all seems ok, thanks.

Jamie can share a picture of the very small board packed with hardware. but not open source. it's a commercial product coming out fall 2018.

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

Re: VDD_SDIO for ESP32 D2WD

Postby rudi ;-) » Mon Jun 05, 2017 3:21 pm

enitalp wrote:
rudi ;-) wrote:all solved now?
how looks your pcb - can you share a picture here from the hardware test?
is your PCB open src / github?
where is your product shop?
;-)

now we need connect pSRAM to it ( its TBD just in time )

well done!
I just need to solve the debug output in eclipse, but all seems ok, thanks.

Jamie can share a picture of the very small board packed with hardware. but not open source. it's a commercial product coming out fall 2018.
thanks - if you ready for shop, feel free for post in the showcase here
@jamie - is your cam ready for a shoot :mrgreen:

well done guys!
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪

Who is online

Users browsing this forum: No registered users and 117 guests