I am suddenly unable to upload a new sketch to my CubeCell Board, with the Arduino IDE returning this error:
Serial port COM5
Connecting…………………____An error occurred while uploading the sketch
_
A fatal error occurred: Failed to connect to ESP32: Invalid head of packet (0xF8)
This has been working fine up until today. I’ve tried multiple USB cables, multiple upload speeds, I’m using the same board profile which has worked before, and have also tried restarting my PC to ensure the Com Port is available. I have tried various combinations of pressing the reset button, before and during the attempted uploads.
Before trying to upload the new sketch, I can see the board working normally via the usual debug info in the serial terminal (which I close before uploading).
I suspect that the issue is likely with my Arduino IDE environment. It’s been ~2 weeks since I last uploaded to this board, and in that time I might have accidentally messed with the IDE settings or somehow changed the board profile this is trying to use.
Does anyone have advice for anything else I should try??
Thank you