Would you like to react to this message? Create an account in a few clicks or log in to continue.

You are not connected. Please login or register

ATmega32 Serial doesn't work

2 posters

Go down  Message [Page 1 of 1]

1ATmega32 Serial doesn't work Empty ATmega32 Serial doesn't work Sat Aug 12, 2023 2:57 am

hilmiyafia



I tried compiling a simple test in Arduino using MightyCore for ATmega32, but it doesn't work. It only works if I use a software serial and put a serial port peripheral to read it.

Using hardware serial:

Code:
void setup() {
  Serial.begin(9600);
  Serial.println("This is a test");
}

void loop() {
}


ATmega32 Serial doesn't work Image_10

Using software serial:

Code:
#include <SoftwareSerial.h>

SoftwareSerial mySerial(8, 9);

void setup() {
  mySerial.begin(9600);
  mySerial.println("This is a test");
}

void loop() {
}

ATmega32 Serial doesn't work Screen12



Last edited by hilmiyafia on Sat Aug 12, 2023 3:01 am; edited 1 time in total (Reason for editing : Image were cropped)

2ATmega32 Serial doesn't work Empty Re: ATmega32 Serial doesn't work Sat Aug 12, 2023 4:48 pm

arcachofo

arcachofo

Hi. Thanks for reporting.

Issue solved at 1.0.0 R1387 and trunk R1767.

You can fix it in your Simulide using the files attached:
Replace those files at: SimulIDE_1.0.0/data/AVR/mega32/

Attachments
ATmega32 Serial doesn't work Attachmentmega32.zip
You don't have permission to download attachments.
(4 Kb) Downloaded 5 times

hilmiyafia likes this post

3ATmega32 Serial doesn't work Empty Thank you so much! Sat Aug 12, 2023 7:35 pm

hilmiyafia



Thank you so much! It works now 😊



Last edited by hilmiyafia on Sat Aug 12, 2023 7:35 pm; edited 1 time in total (Reason for editing : Cropped text)

Sponsored content



Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum