When Arduino starts to upload, what do the dots and underscores mean. Does the uploading start and stop or what. Often I get a message about packet time out.
....................._____ etc.
When Arduino starts to upload, what do the dots and underscores mean. Does the uploading start and stop or what. Often I get a message about packet time out.
....................._____ etc.
barryjo:
When Arduino starts to upload, what do the dots and underscores mean. Does the uploading start and stop or what. Often I get a message about packet time out......................_____ etc.
Screenshot...? code...?? error message..?? required but not supplied.
Thee is no code to post. This is a question about up[loading to a ESP32 after compiling.
I get
esptool.py v2.6
Serial port com7
connecting ............____
A fatal error occured: Failed to connect to ESP32: Timed out waiting for packet header.
I ask again. what do the dots and underlines mean? Was there no connection at all, or during the uploading process. Ofter I ge3t the dot and dash pattern and the uploads correctly.
So, I ask again wht should I see when the coed is uploading???
It's just a "working" indicator while the IDE tries to connect to the ESP UART. They have no meaning, except that you shouldn't see them because the PC connects to the UART very quickly.
Make sure you have a good USB cable, try using a different USB port on the PC. Which ESP board is it? Some NodeMcu clones require you to press a flash button.
Here is what a normal upload looks like:
Sketch uses 261888 bytes (25%) of program storage space. Maximum is 1044464 bytes.
Global variables use 26936 bytes (32%) of dynamic memory, leaving 54984 bytes for local variables. Maximum is 81920 bytes.
esptool.py v2.8
Serial port COM27
Connecting....
Chip is ESP8266EX
Features: WiFi
Crystal is 26MHz
MAC: b4:e6:2d:67:b7:d0
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 460800
Changed.
Configuring flash size...
Auto-detected Flash size: 4MB
Compressed 266048 bytes to 194244...
Writing at 0x00000000... (8 %)
Writing at 0x00004000... (16 %)
Writing at 0x00008000... (25 %)
Writing at 0x0000c000... (33 %)
Writing at 0x00010000... (41 %)
Writing at 0x00014000... (50 %)
Writing at 0x00018000... (58 %)
Writing at 0x0001c000... (66 %)
Writing at 0x00020000... (75 %)
Writing at 0x00024000... (83 %)
Writing at 0x00028000... (91 %)
Writing at 0x0002c000... (100 %)
Wrote 266048 bytes (194244 compressed) at 0x00000000 in 4.4 seconds (effective 483.9 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting via RTS pin...
This is what I get
This ESP32 connects and loads but has the dots and dashes.
I have another ESP32 that connects with only a few dots. BTW, I noticed you are using the version 2.8 of the programming tool. Should I update? How would I do this?
I just upgraded to Arduino1.8.10 and it still has version 2.6 of the programmer.
I will try other USB cables and ports as I have some intermittent issue here it seems.
</>esptool.py v2.6
Serial port COM6
Connecting............................__
Chip is ESP32D0WDQ6 (revision 1)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
MAC: 3c:71:bf:62:e9:30
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 921600
Changed.
Configuring flash size...
Auto-detected Flash size: 4MB
Compressed 8192 bytes to 47...
Writing at 0x0000e000... (100 %)
Wrote 8192 bytes (47 compressed) at 0x0000e000 in 0.0 seconds (effective 3855.1 kbit/s)...
Hash of data verified.
Compressed 16832 bytes to 10888...
Writing at 0x00001000... (100 %)
Wrote 16832 bytes (10888 compressed) at 0x00001000 in 0.1 seconds (effective 1035.8 kbit/s)...
Hash of data verified.
Compressed 1163856 bytes to 652424... </>
Steve Mann, I see that you are using esptool.py v2.8. How did you upgrade your Arduino to use version 2.8?
Mine is version 2.6 and I recently upgraded to Arduino 1.8.10