File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
nanoFirmwareFlasher.Library Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -161,6 +161,18 @@ public Esp32DeviceInfo GetDeviceDetails(
161161 null ,
162162 out messages ) )
163163 {
164+ if ( messages . Contains ( "A fatal error occurred: Failed to connect to Espressif device: No serial data received." ) )
165+ {
166+ Console . ForegroundColor = ConsoleColor . Red ;
167+
168+ Console . WriteLine ( "" ) ;
169+ Console . WriteLine ( "Can't connect to ESP32 bootloader. Try to put the board in bootloader manually." ) ;
170+ Console . WriteLine ( "For troubleshooting steps visit: https://docs.espressif.com/projects/esptool/en/latest/troubleshooting.html." ) ;
171+ Console . WriteLine ( "" ) ;
172+
173+ Console . ForegroundColor = ConsoleColor . White ;
174+ }
175+
164176 throw new EspToolExecutionException ( messages ) ;
165177 }
166178
You can’t perform that action at this time.
0 commit comments