MCUdude / MightyCore

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

ATmega32 Serial doesn't work #279

Closed hilmiyafia closed 11 months ago

hilmiyafia commented 11 months ago

I tried a simple code:

void setup() {
  Serial.begin(9600);
  Serial.println("Test");
}
void loop() {
}

Export compiled binary to hex using Standard pinout, and uploaded it to SimulIDE, but it doesn't work. It only works if I use software serial and specify the pins manually.

The hardware serial works fine in SimulIDE with other chip such as the ATmega324.

Empty serial: image

hilmiyafia commented 11 months ago

The problem was with simulide, now it works! Here's the fix: https://simulide.forumotion.com/t1620-atmega32-serial-doesn-t-work#7073