Closed 5arid closed 2 years ago
I have never used Proteus, so I have no idea. It works perfectly on real hardware, and that's really all I care about.
But since you obviously have a Proteus license, you can contact their customer service. I've read on the Avrfreaks forum that they're very helpful.
I am trying to simulate a simple blink led in proteus by using MightyCore but the led blinks too faster than 1s. Here is what I do in summury : Arduino --> MightyCore --> ATmega16 --> Internal 8MHz --> export compiled binary Proteus --> ATmega16 --> Fuse : Int RC 8MHz --> Load hex file I noticed that if I set the clock to 0.08MHz (in proteus) it seems to work! I can't find out if this issue is with Proteus or MightyCore or Arduino IDE itself! Also MiniCore and ATmega8 works fine but what is wrong with MightyCore and ATmega16?
If someone else tries to simulate with this core, be warned that in the simulation the MCU Atmega1284, Atmega644, Atmega324 and Atmega164 didn't even oscillate the pin to flash the LED.
I am trying to simulate a simple blink led in proteus by using MightyCore but the led blinks too faster than 1s. Here is what I do in summury : Arduino --> MightyCore --> ATmega16 --> Internal 8MHz --> export compiled binary Proteus --> ATmega16 --> Fuse : Int RC 8MHz --> Load hex file I noticed that if I set the clock to 0.08MHz (in proteus) it seems to work! I can't find out if this issue is with Proteus or MightyCore or Arduino IDE itself! Also MiniCore and ATmega8 works fine but what is wrong with MightyCore and ATmega16?
If someone else tries to simulate with this core, be warned that in the simulation the MCU Atmega1284, Atmega644, Atmega324 and Atmega164 didn't even oscillate the pin to flash the LED.
I managed to make the Atmega1284 work using MPLAX with XC8 (I also tested with Atmega16, and it worked. The others I haven't even tried, they certainly work with MPLAX and XC8.), so it must be a problem in the Arduino core. Perhaps some setting of the delay/clock functions need to be revised.
I am trying to simulate a simple blink led in proteus by using MightyCore but the led blinks too faster than 1s. Here is what I do in summury : Arduino --> MightyCore --> ATmega16 --> Internal 8MHz --> export compiled binary Proteus --> ATmega16 --> Fuse : Int RC 8MHz --> Load hex file I noticed that if I set the clock to 0.08MHz (in proteus) it seems to work! I can't find out if this issue is with Proteus or MightyCore or Arduino IDE itself! Also MiniCore and ATmega8 works fine but what is wrong with MightyCore and ATmega16?