[Icc-avr] Bootloader problem PROBLEM FOUND

Sylvain Bissonnette sbissonnette at microsyl.com
Sun Nov 4 18:42:56 PST 2007


Hi,

    The problem was not the JMP 0x0000 but something strange check:

unsigned char RxChar(void)
{
 unsigned int TimeOut = 0;

 while(!(_UCSRA & 0x80))
 {
  if (TimeOut++ > 65530) break;
 }
 
  return _UDR;
}


If I don't initialize the TimeOut = 0; the code didn't work  (that's in bootloader application)

Sylvain
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://dragonsgate.net/pipermail/icc-avr/attachments/20071104/823e26fc/attachment.html


More information about the Icc-avr mailing list