Hi,
I am new to AVR programming (just bought my PGM1 from SparkFun) and decided to follow along the tutorials on this site to get familiar with it all before I get deep into my own project. However I have run into an issue with lecture 4, and I am hoping that someone on here will be able to help me figure out what is wrong.
I cannot get the serial connection working properly. The problem started when I first tried basic-out.c, I have since moved on to try basic-in.c to see if that fixed the problem, it didn’t. The problem is not the connection because I can see text coming back in a terminal but its just not the text that it is programmed to send.
No matter what, I always get this:
€€€€€€€€€€€€€€€€€€€€€€€€€€€
I do not have an external osc so I changed the information in the top of the source to reflect 8Mhz instead of 16. A simple RS232 loop back by jumping pins 11 and 12 on the MAX232 works fine, so I can only assume that the problem is in the Mega8.
Has anyone ever experienced this type of an issue with the ATMega8? Do I have something connected incorrectly?
Mega8 → MAX232 (Pins)
2 → 12
3 → 14
MAX232 - > Serial (Pins)
14 → 2
13 → 3
GND → 5
Thanks in advance,
AC