debug dualoptiboot

Started by schmurfy, June 10, 2016, 07:25:16 AM

schmurfy

Hello,
I am trying to use the dualoptiboot bootloader, I need to make small changes and wanted to use the integrated debug feature (DEBUG_ON) but for some reasons when I do that each character sent to the serial port overwrite the previous and in the end I only see the last one printed before my application boots, any idea what might cause this ?

I am running it on an atmega328 at 8MHz, I initially left the speed at 57600 but then tried 38400 and even 9600 with the same result so I imagine the issue is not there. On the receiver side I am using a fairly basic serial monitor called picocom.

When I have an application running on the microcontroller the serial output shows just fine, the issue only happen with the bootloader but I can't figure out why :(