Has any of you bumped into this kind of behaviour:
I wrote an USART driver and a simple main to test it.
Input and echoing seems to work fine, but outputting several lines one after another produces all the lines on terminal, but the last line is written twice.
Also, the board double-boots after about 8 seconds. It just boots twice - not a loop.
I can put the code here if needed, but I didn't want to flood this with a lot of code text.
The code is supposed to drive other peripherals too: pins, ADC, timer 0 clock, timer 1 PWM (but no LCD). There are interrupt code for them in the code, but the peripherals are not yet initialised (I wanted to get debugging I/O ready first).
AVR Memory Usage
Program: 9908 bytes (60.5% Full)
(.text + .data + .bootloader)
Data: 728 bytes (71.1% Full)
(.data + .bss + .noinit)
Any ideas what to look for?