Wong boot mode firebeetle ESP32-E V1.0

userHead keaton 2022-06-17 00:12:43 1187 Views4 Replies

Hi, I'm trying to write my first programs to my firebeetle ESP32-E V1.0 board but I am struggling to get it to upload, I am using Platformio and trying to follow dronebot workshop's starting out tutorial.

When trying to upload I get the error message:

 

A fatal error occurred: Failed to connect to ESP32: Wrong boot mode detected (0x13)! The chip needs to be in download mode. 
For troubleshooting steps visit: https://docs.espressif.com/projects/esptool/en/latest/troubleshooting.html
*** [upload] Error 2


 [FAILED] Took 10.78 seconds


The terminal process "C:\Users\files\.platformio\penv\Scripts\platformio.exe 'run', '--target', 'upload'" terminated with exit code: 1.

 

I've followed the link and tried to draw GPIO0 to ground to write it to upload mode, I have installed the CH340K Driver and I'm at a bit of a loss, any help is much appreciated!

 

Platformio.ini file:

 

[env:firebeetle32]

platform = espressif32

board = firebeetle32

framework = arduino

 

Main.cpp file

 

// LED on GPIO2
int ledPin = 2;

void setup()
{
   // Set LED as output
   pinMode(ledPin, OUTPUT);
   
   // Serial monitor setup
   Serial.begin(115200);
}

void loop()
{
   Serial.print("Hello");
   digitalWrite(ledPin, HIGH);
   
   delay(500);
   
   Serial.println(" world!");
   digitalWrite(ledPin, LOW);
   
   delay(500);
}


Tutorial video i am trying to follow:

2023-02-07 16:41:16

Hi

Arduino IDE is recommended to upload the code. Could you try to follow the tutorial on the WIKI page?

 

Hope it can help.

userHeadPic Tonny12138
2022-06-17 00:25:11

   https://www.youtube.com/watch?v=xPlN_Tk3VLQ&t=1354s

userHeadPic keaton
keaton wrote:

Should say I have included Arduino library as well just missed that when copying over

2022-06-17 01:01:45
1 Replies
2022-06-17 00:24:48
userHeadPic keaton