MCUdude / MightyCore

Arduino hardware package for ATmega1284, ATmega644, ATmega324, ATmega324PB, ATmega164, ATmega32, ATmega16 and ATmega8535
Other
637 stars 181 forks source link

Perhaps some setting of the delay/clock functions need to be revised. #273

Closed rtek1000 closed 11 months ago

rtek1000 commented 1 year ago

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 and XC8.

https://github.com/MCUdude/MightyCore/issues/241

MPLABX reference (Atmel Studio code): https://circuitdigest.com/microcontroller-projects/how-to-program-avr-microcontroller-atmega16-with-usbasp-programmer-using-atmel-studio

ATmega16_blink.X.zip Atmega1284_blink.X.zip

MCUdude commented 11 months ago

See reply in #241. I have no idea why the Proteus doesn't with MightyCore, but you're welcome so submit a PR if you think you know how to resolve the issue

rtek1000 commented 11 months ago

Thank you for your attention. I believe that other users also stopped using this core because it was not possible to simulate the circuit. I hope someone can resolve this in the future.