Search found 2344 matches

by ESP_Angus
Tue Oct 18, 2016 10:33 pm
Forum: ESP-IDF
Topic: A fatal error occurred: Failed to connect to ESP32: Invalid head of packet ('p')
Replies: 23
Views: 91068

Re: A fatal error occurred: Failed to connect to ESP32: Invalid head of packet ('p')

I have done some Sigrok (PulseView) capture of the signals (tested with Windows7) Thanks hydrabus. That's interesting, your IO0 delay is closer to 2ms than the 4ms I was seeing. But same pattern. self._port.setDTR(False) # GPIO0 -> 1 self._port.setRTS(True ) # RST -> 0 self._port.setDTR(True ) # GP...
by ESP_Angus
Tue Oct 18, 2016 3:58 am
Forum: ESP-IDF
Topic: A fatal error occurred: Failed to connect to ESP32: Invalid head of packet ('p')
Replies: 23
Views: 91068

Re: A fatal error occurred: Failed to connect to ESP32: Invalid head of packet ('p')

analoglamb wrote: You mean that we need to press BOOT button when download firmware with V2 Board. Is it right?
Yes: If using esptool.py on Windows and the automatic reset doesn't work.
by ESP_Angus
Tue Oct 18, 2016 12:45 am
Forum: ESP-IDF
Topic: A fatal error occurred: Failed to connect to ESP32: Invalid head of packet ('p')
Replies: 23
Views: 91068

Re: A fatal error occurred: Failed to connect to ESP32: Invalid head of packet ('p')

Just an update I have found a workaround to the random connection problem if I keep "Boot" button pressed esptool.py always works (even on Win7) Thanks for reporting this, hydrabus. I have reproduced this issue on Windows 7 with a v2 core board. On Windows there is a 4ms delay between when "EN" goe...
by ESP_Angus
Sun Oct 16, 2016 11:41 pm
Forum: Hardware
Topic: Schematics of Espressif ESP32 dev boards & modules
Replies: 18
Views: 134370

Schematics of Espressif ESP32 dev boards & modules

Electrical schematic PDFs for development boards & modules designed by Espressif: Note: This list is no longer updated. Latest reference designs can be downloaded from http://espressif.com/en/support/download/documents Previously Published Development Boards Core Board V2 (aka DevKitC) ESP-WROVER-KI...
by ESP_Angus
Fri Oct 14, 2016 6:39 am
Forum: General Discussion
Topic: MD5 Error while Flashing the boot.bin to ESP32
Replies: 23
Views: 43955

Re: MD5 Error while Flashing the boot.bin to ESP32

Hi folks, Thanks for updating me with the unchanged output. Can you please grab the newest update on the same branch: EDIT: This branch is now merged into esp-idf via branch feature/esp32_esp32_v20_refactor, if you have the latest esp-idf then you will have it. And try running these two commands: es...
by ESP_Angus
Fri Oct 14, 2016 3:10 am
Forum: ESP-IDF
Topic: A fatal error occurred: Failed to connect to ESP32: Invalid head of packet ('p')
Replies: 23
Views: 91068

Re: A fatal error occurred: Failed to connect to ESP32: Invalid head of packet ('p')

The V1 (blue PCB) DevKitC boards have a bug with the auto-reset circuit where it doesn't work reliably. You need to hold down the "Boot" button (J3, pulls down IO0) in order to reliably enter the bootloader. V2 (black PCB, "ESP32_Core_Board_V2" marked on bottom) DevKitC does not have this problem.
by ESP_Angus
Thu Oct 13, 2016 8:24 pm
Forum: ESP-IDF
Topic: A fatal error occurred: Failed to connect to ESP32: Invalid head of packet ('p')
Replies: 23
Views: 91068

Re: A fatal error occurred: Failed to connect to ESP32: Invalid head of packet ('p')

What hardware did you take this capture from? If it's the board in your first post, can you please post the schematic?
by ESP_Angus
Thu Oct 13, 2016 6:42 am
Forum: ESP-IDF
Topic: [Issue] Using printf with int64_t types.
Replies: 4
Views: 19165

Re: Using printf with int64_t types.

ESP32 libc (newlib) is compiled with "nano" I/O options, which disables 64-bit formatting. Solution is something like:
printf("Here is a big int %" PRId32 "%" PRId32 "\n", (int)(bigi >> 32), (int)bigi);
Unfortunately I don't know of a way to do this to third-party code without editing it.
by ESP_Angus
Thu Oct 13, 2016 6:38 am
Forum: ESP-IDF
Topic: A fatal error occurred: Failed to connect to ESP32: Invalid head of packet ('p')
Replies: 23
Views: 91068

Re: A fatal error occurred: Failed to connect to ESP32: Invalid head of packet ('p')

Try setting the baud rate to a lower value (either by changing the "--baud" argument on the command line, or the setting in "make menuconfig").
by ESP_Angus
Thu Oct 13, 2016 5:50 am
Forum: General Discussion
Topic: MD5 Error while Flashing the boot.bin to ESP32
Replies: 23
Views: 43955

Re: MD5 Error while Flashing the boot.bin to ESP32

Rather than answer the above questions, can you please try esptool.py from this link and report back if flashing succeeds? Thanks. https://github.com/themadinventor/esptool/tree/bugfix/write_fails_cmp_bit_set (There are several ways to do this: You can either download esptool.py and run it in place,...