Guest
#2901895
Greetings to all readers! I have a nice problem and I am happy for all your answers. Preliminary: I tried to send data from my atmega8 to HTerm 0.8.1 beta but it received only \0\0\0... Hence, I concentrated on the simulation in AtmelStudio6: The code I used is visible on http://www.mikrocontroller.net/articles/AVR-Tutorial:_UART under "Senden von Zeichen" and in the attachment. Symptoms in the Simulator of AtmelStudio6: When debugging I observed some effects that are hopefully interrelated: - URSEL stays at 0. - No changes can be observed in UDR. - UDRE wont come back to 1...not after 1200 steps. - TXC stays at 0, too. - Only two loop-cycles ('T' and 'e') are run through, then UDRE is set to 0...and the program wont exit the serout-sub-routine. I read the fantastic mannual and browsed the forum but couldn´t find a hint to make the uart work. Thank you for your comments and ideas! Best regards max