Unable to upload sketch to MKR 1500

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!

Install IDE 2.2.1 and double tap the reset button fast and check the status of the onboard "L" LED. If the onboard LED fade in and out slowly (pulsating), upload an example sketch (Blink LED) from the IDE to the board. This will Reset your board