Assuming the port /dev/cu.usbserial-1420 is correct, can you confirm if the ESP32 is in bootloader mode? You should see something like Waiting for download.
Sketch uses 750601 bytes (57%) of program storage space. Maximum is 1310720 bytes.
Global variables use 32548 bytes (9%) of dynamic memory, leaving 295132 bytes for local variables. Maximum is 327680 bytes.
esptool.py v3.1
Serial port /dev/cu.usbserial-1420
Connecting…………………_____
A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header
Failed uploading: uploading error: exit status 2
I think you are following the steps. let me retry:
(1) unplug the board
(2) connect GND and BOOT0
(3) plug the board to USB
(4) check the USB port number
(5) download your code to the correct USB port
(6) unplug the board after download has finished
(7) disconnect BOOT0 from GND
(8) plug the board to USB and let it boot.
I can confirm that have followed the steps but get stuck at 5. Im assuming 5 means run verify and then upload. the device its the upload to the board step I did get it to do something As Im uploading to the device i see not LED indication that the data is transferring like on the 4630.
This seems odd but it doesn’t recognize the board when i do a get info
Side note:
When i move the 11200 over to a different board ie RAK19001 the red led is still flashing very dimly. is there any indication is the boards firmware is bad? or got corrupt?
@carlrowan What does boot loader mode look like? Is it a Solid red then Flashing green when uploading. Cause this board isnt doing that. just a red flash every second
The red LED says nothing about the firmware or if the device is running. It is controlled by the battery charger chip and not by the ESP32.
ESP32 does not show anything on the LED’s while it is receiving the firmware. You can see the upload process only in the IDE.
I shared already the USB output when the ESP32 is in bootloader mode:
ets Jun 8 2016 00:22:57
rst:0x1 (POWERON_RESET),boot:0x7 (DOWNLOAD_BOOT(UART0/UART1/SDIO_REI_REO_V2))
waiting for download
I can confirm that you selected the correct port as the VID and PID are the same I see from a RAK11200:
The only other problem I can think of is that your OS is prohibing the access to the port somehow, but I have no experience with Linux or MacOS (I guess you are using one of these from the USB port names).
Last thing to check, what upload speed and device settings do you select in the IDE?
Please check