Issue with loading Digispark Rev.3 library

Greetings to the wonderful members and moderators of the Arduino community,

I am using the latest version of the Arduino IDE and encountering an issue with loading the library for Digispark Rev.3 available in a compressed file. When attempting to add the library using the traditional method, the program fails to add it. Additionally, when searching for it within the library under the name "digistump", the Arduino IDE cannot locate it even after adding the external link to the library through this link: http://digistump.com/package_digistump_index.json

After several attempts, I have not succeeded in adding the library successfully. I am using version 2.3.2 of the Arduino IDE on Windows 10.

Could you please assist me in resolving this issue?

Thank you in advance for your cooperation and assistance.

See:

Hello @van_der_decken,

Thank you very much for your help and guidance. I finally managed to successfully install the ATTinyCore library, and I'm grateful to you for pointing me in its direction. I'll make sure everything is working properly when I attempt to upload the code to the board. I'll keep you updated on the results.

Thanks again for your assistance!

Best regards,
[bazkhf]

Hello @van_der_decken,

I just want to express my gratitude once again for your support and assistance. Your guidance has been invaluable.

Unfortunately, I encountered a hurdle in my attempts to upload the code to the board. It seems that the Arduino IDE software couldn't recognize the port number associated with the connected device, even though the computer recognizes the board as a "digispark bootloader".
pic05

Here are some additional details that may help better understand the issue:

  • Board: "ATtiny85 (Micronucleus / DigiSpark)"
  • Port: "COM9"
  • B.O.D. Level (Only set at startup): "B.O.D. disabled (saves power)"
  • Bootloader Burn Method: "Upgrade (via USB)"
  • LTO (1.6.11+ only): "Enabled"
  • millis()/micros(): "Enabled"
  • Reset Pin (Only set at startup via ISP): "Reset"
  • Clock (Controls sketch only): "16.5 MHz, Adjusted for USB Off (USB)"
  • Timer1 Clock: "CPU (CPU frequency)"
  • Programmer: "Burn Bootloader"

pic04

I will continue to troubleshoot this issue, and if I make any progress, I will definitely update you.

Thank you again for your assistance!

Best regards, [bazkhf]

Hello @van_der_decken,

I hope you're doing well. I sent you a message five days ago and haven't received a response yet. I hope everything is going well.

You previously mentioned that if I needed any assistance, you're ready to help. I'm in need of some help at the moment, and I'm looking forward to your assistance.

Thank you very much in advance for your presence and cooperation.

Best regards,
bazkhf

The link metioned in post #2 should solve your prolem. If not, try with another ATtiny85 Dev Board (the original or the clone).

Hi @bazkhf.

This is normal. The Digispark board doesn't produce a serial port. That doesn't cause any problems for uploading because the upload tool doesn't use serial.

This is the upload procedure:

  1. Unplug the USB cable of the Digispark board.
  2. Start an upload in Arduino IDE.
  3. Watch the black "Output" panel at the bottom of the Arduino IDE window until you see this message:

    > Please plug in the device (will time out in 60 seconds) ...

  4. Connect the USB cable of the Digispark board.

You should now see the message "> Device is found!" in the Output panel and the upload process should proceed and complete successfully.

Hello ptillisch,

I wanted to share with you the instructions provided in your previous message regarding the issue of uploading the code to the sparkattiny85 board. I attempted to follow the steps accurately, but unfortunately, the process didn't succeed, and an error message appeared as follows (...).

Sketch uses 1960 bytes (29%) of program storage space. Maximum is 6586 bytes.
Global variables use 39 bytes (7%) of dynamic memory, leaving 473 bytes for local variables. Maximum is 512 bytes.
> Please plug in the device (will time out in 60 seconds) ... 
> Device is found!
connecting: 16% complete
connecting: 22% complete
connecting: 28% complete
connecting: 33% complete
> Device has firmware version 1.6
> Available space for user applications: 6012 bytes
> Suggested sleep time between sending pages: 8ms
> Whole page count: 94  page size: 64
> Erase function sleep duration: 752ms
> Error opening 2023\AppData\Local\Temp\arduino\sketches\92DBEBDC2783F02A6BFED14C37C53636/buttoncycler.ino.hex: No such file or directory
> Error loading or parsing hex file.
Failed uploading: uploading error: exit status 1

I want to assure you that the code I'm trying to upload is correct and doesn't require any modifications before uploading. I appreciate your assistance and advice, and I look forward to continuing our collaboration to solve this issue. If you have any additional suggestions or questions, please let me know, as I need your help.

Best regards, Bazkhf

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