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:
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.