ArminJo / DigistumpArduino

Improved version of Digistump avr core for Arduino
194 stars 37 forks source link

Disappeared "Plug in device now..." #60

Closed woodlist closed 5 months ago

woodlist commented 5 months ago

If you have handling problems or questions, consider to open a discussion https://github.com/ArminJo/DigistumpArduino/discussions instead of an issue.

Bug Report

Board

IDE

Example from the core libraries to reproduce the issue

Version

Please delete all unchecked lines above :-)

Current behavior

` #include // https://github.com/GyverLibs/Tachometer?tab=readme-ov-file Tachometer tacho;

void setup() { // put your setup code here, to run once: pinMode(0, INPUT_PULLUP); pinMode(1, OUTPUT); attachInterrupt(0, isr, FALLING); }

void loop() { // put your main code here, to run repeatedly: if (tacho.getHz() > 95) digitalWrite (1, HIGH); else digitalWrite (1, LOW); }

void isr() { tacho.tick(); }

Sketch uses 2026 bytes (13%) of program storage space. Maximum is 14970 bytes. Global variables use 29 bytes (5%) of dynamic memory, leaving 483 bytes for local variables. Maximum is 512 bytes. "C:\Users\woodl\AppData\Local\Arduino15\packages\digistump\tools\micronucleus\2.6/micronucleus" --no-ansi --run --timeout 60 C:\Users\woodl\AppData\Local\Temp\arduino\sketches\3727D12B961B500C998C67424C146797/digispark_interrupt.ino.hex Failed uploading: uploading error: exit status 0xc0000135. `

The board is programmable on Arduino 1.8.17 on Win10, but falls on Arduino IDE 2.3.2 on Win11

ArminJo commented 5 months ago

RTFM!

woodlist commented 5 months ago

RTFM!

It is the first time I met this abbreviation and Copliot helped answer means I missed to read something in manual. However, please, directly refer to somewhat defined, if it is available. I am not alone in this trouble- https://stackoverflow.com/questions/75775009/digispark-arduino-ide-upload-error-exit-status-0xc0000135

woodlist commented 5 months ago

I have fixed this issue by myself ACCIDENTALLY. My computer has only USB3.0 ports and this was the root of the problem. Having connected via USB 2.0 hub the trouble gone.