So, just today I've tested and uploaded many times the code to the board and it worked perfectly fine. But for some reason even running simple code like
void setup() {
Serial.println("Hello");
}
void loop() {
}
it won't upload it and will exit with error :
No device found on COM5
Failed uploading: uploading error: exit status 1
It was working just fine and then it just didn't, I'm not 100% sure but I think it might be that it has reached its max write cycles... any guesses would help!