The past few days I've been working on a project with a Nano Every. So far it's been really good but suddenly in the middle of uploading a new version of my code it just started throwing this error:
avrdude: jtagmkII_getsync(): sign-on command: status -1
avrdude: jtagmkII_getsync(): sign-on command: status -1
avrdude: jtagmkII_getsync(): sign-on command: status -1
avrdude: jtagmkII_getsync(): sign-on command: status -1
avrdude: jtagmkII_getsync(): sign-on command: status -1
avrdude: jtagmkII_getsync(): sign-on command: status -1
avrdude: jtagmkII_getsync(): sign-on command: status -1
avrdude: jtagmkII_getsync(): sign-on command: status -1
avrdude: jtagmkII_getsync(): sign-on command: status -1
avrdude: jtagmkII_getsync(): sign-on command: status -1
avrdude: jtagmkII_getsync(): sign-on command: status -1
[continued for a couple hundres lines]
avrdude: jtagmkII_getsync(): timeout/error communicating with programmer (status -1)
Failed uploading: uploading error: exit status 1
And it never recovers. The IDE shows I'm connected to the board on the correct port. I'm doing this on Debian 11. I've been repeatedly uploading code without any issue and suddenly in the middle of working on this code it just started throwing this error. I've rebooted, I've verified my inclusion in the dialout group. Literally nothing has changed. If I pull the board info, it gets it no problem. The board doesn't seem to be damaged because the current code uploaded on it is still functioning just fine. Any ideas?