Potentially doomed arduino nano

Hi, I wanted to test a sensor and see if it collected any spikes from its data. I wanted to collect as much data as possible so i went with a super simple program to read sensor value every 50 milliseconds. Then i removed the delay()-line so i could gather even more data. I am also using serial.print in the code so i print every loop iteration. When i tried the program my computer crashed and i got a bluescreen. Now when i plug it in i cant find the port in the arduino IDE anymore. Even when i try to just compile any program in the IDE without the arduino nano connected i get this error:

Using board 'nano' from platform in folder: C:\Users\Max\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.3
Using core 'arduino' from platform in folder: C:\Users\Max\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.3
Compilation error: Error: 13 INTERNAL: Received RST_STREAM with code 2 triggered by internal client error: read ECONNRESET

This is the code i have running on the arduino nano and i dont know how to change it or even use the arduino at all:

const int moistPin = A0;
float moist; 
void setup() {
  pinMode(moistPin,INPUT);
  Serial.begin(9600);
}

void loop() {
  
  moist = analogRead(moistPin);
  Serial.println(moist);
}

Note:
I can see the device in the devicemanager on my computer as "USB Serial Converter" and the LED's on the nano is working as supposed

Which IDE version?

I found this, maybe applicable to your scenario: Error: 13 INTERNAL on compilation

Wow i installed a new version of the IDE and now it worked... I installed the version 2.0.0-beta.7

This is really wierd though because it worked fine and all of a sudden when i tried to run that sketch from my first post, the IDE couldnt even compile the code. Well it works now atleast..
Thanks @sterretje

@fredagsmys, your topic has been moved to a more suitable location on the forum.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.