You need to log in to create posts and topics.

atmega8 Error: resolving FQBN: unknown package MiniCore

"I'm having trouble uploading a sketch to my ATmega8 using SimulIDE. I've downloaded the .json file from https://mcudude.github.io/MiniCore/package_MCUdude_MiniCore_index.json and installed it in Arduino 1.8.19. However, I'm getting this error message:  

Executing:

"/usr/local/src/arduino-1.8.19/arduino-builder" -compile -hardware "/usr/local/src/arduino-1.8.19/hardware" -hardware "/home/usuario1/Arduino/hardware" -tools "/usr/local/src/arduino-1.8.19/tools-builder" -tools "/usr/local/src/arduino-1.8.19/hardware/tools/avr" -built-in-libraries "/usr/local/src/arduino-1.8.19/libraries" -libraries "/home/usuario1/Arduino/libraries" -fqbn=MiniCore:avr:8 -build-path "/home/usuario1/.local/share/simulide/codeeditor/buildIno/build" -build-cache "/home/usuario1/.local/share/simulide/codeeditor/buildIno/cache" "/home/usuario1/simulIDE/sketchbook/arduinoIDEsimulIDE/mega8/blink/blink.ino"

Build folder: /home/usuario1/.local/share/simulide/codeeditor/buildIno

SketchBook: /home/usuario1/Arduino

Custom Board "MiniCore:avr:8"

Error resolving FQBN: unknown package MiniCore

Error: Archivo hex no existe:

/home/usuario1/simulIDE/sketchbook/arduinoIDEsimulIDE/mega8/blink.hex

I've tried  restarting SimulIDE, checking the Arduino version.

It seems like SimulIDE can't find the necessary information for the ATmega8 board, even though I've installed the MiniCore package.

Could you please help me troubleshoot this issue? I'm not sure what else I can try."

Hi.

Simulide does not need information for the ATmega8 board, it is Arduino builder which uses it.
This error comes from Arduino builder: "Error resolving FQBN: unknown package MiniCore"

Seems that the board is not correctly installed or something like that.
You can try to install that board from Arduino IDE.
Also compile from Arduino IDE and see how it works.

Lazlo_lozla has reacted to this post.
Lazlo_lozla

I was having a bit of trouble getting my ATmega8 to work with MiniCore, but I figured it out! Here's how I did it:

For Arduino IDE (1.9.18 and up):

  1. Use the Boards Manager to add MiniCore. Just paste this link: https://mcudude.github.io/MiniCore/package_MCUdude_MiniCore_index.json  
  2.  Once it's installed, you can select your ATmega8 and start uploading your sketches

    For SimulIDE 1.1.0 SR1:

    1. Direct download: Download the MiniCore ZIP from here: https://github.com/MCUdude/MiniCore
    2. Extract and paste: Unzip the file and copy the resulting folder to "~/Documents/Arduino/hardware". Create the "hardware" folder if you don't have it.
    3.  Restart SimulIDE and you'll be able to use MiniCore.

    It worked perfectly for me on Kubuntu 24 LTS!

    Note: It's always a good idea to check the official MiniCore documentation for more detailed information: https://github.com/MCUdude/MiniCore

arcachofo has reacted to this post.
arcachofo

 

Adjust the initial settings of SimulIDE: