Thanks all, But i can't find bug, Here is my full code
#include avr/io.h
#include avr/interrupt.h
#ifndef F_CPU
#define F_CPU 800
#endif
#include util/delay.h
volatile uint8_t first_edge = 'A';
void usart_initiation() {
UCSRA = 0; //Control register initiation, double transfer rate
(Better subscribe to the list, you might miss replies otherwise.)
Leiu tvhoa...@gmail.com wrote:
Thanks all, But i can't find bug, Here is my full code
Result : i can show 'A'! why?
Because you're using hyperterm?
I've compiled this for an ATmega16, set it up on an STK500, and
connected it
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi there,
I've had some trouble today with the XMega. I used memcpy_P, which
usually worked just fine, except for a certain part of my code where it
suddenly produced garbled output. Tracing the source of the problem I
noticed that on the ATxmega I
On Tue, 2010-06-01 at 14:28 +0200, Joerg Wunsch wrote:
(Better subscribe to the list, you might miss replies otherwise.)
Leiu tvhoa...@gmail.com wrote:
Thanks all, But i can't find bug, Here is my full code
Result : i can show 'A'! why?
Because you're using hyperterm?
I've
Johannes Bauer jb@gmx.de wrote:
I suggest on the XMega to set NVM.CMD to zero in the beginning of memcpy
or include this in the docs, as it might cost someone else roughly a day
in debugging time :-/
Please submit an avr-libc bug report.
--
cheers, Jorg .-.-. --... ...--