Unable to flash esp32 dev board with LoRa radio attached

Schematics, Example Code and Q&A
kevs_oc
Posts: 3
Joined: Mon Sep 20, 2021 1:47 am

Unable to flash esp32 dev board with LoRa radio attached

Unread post by kevs_oc »

I have the LoRa SX1280 attached to the ESP32 breakout board but if I have the VCC from the radio connected to any of the 3.3v pins on the board or if it is connected to a common power rail, the board will not flash. Whether I am using the Arduino IDE, PlatformIO or the ESP-IDF toolset the result is the same. The code will compile and get compressed, but then not load. The error is always:

Code: Select all

A fatal error occurred: Timed out waiting for packet content
If I unplug the VCC wire it works fine.

If anyone has any ideas I would appreciate hearing them!

TIA,

Kevin
kevs_oc
Posts: 3
Joined: Mon Sep 20, 2021 1:47 am

Re: Unable to flash esp32 dev board with LoRa radio attached

Unread post by kevs_oc »

I had 2 SPI devices attached to the dev board, 1 on HSPI and one on VSPI. It occurred to me that the LEDs tied to pins 18 and 19 (VSPI SCLK and MISO) might be causing an issue. I removed them and now I am able to flash the dev board with the radio's VCC pin attached. Not sure why since the radio was attached to the HSPI but I will take the win.
Post Reply