Hi,
I'm busy writing a non-BIOS secondary bootloader for our custom C6748 board. For updating code, the bootloader should initially look for a ping from a PC based programmer application, and if it finds no ping withing 150ms, it should continue booting as normal.
My UART driver is essentially the driver that came with the C6748 Starterware. I managed to get the uartEcho example up and running, but now I'm having problems with the communication with the PC programmer. The PC programmer would send a 10 character ping burst every 25ms until it receives an ACK from the bootloader (the PC programmer is running before the C6748 starts up). The problem I'm currently having is that the UART would immediately generate a FIFO buffer overrun interrupt right after I have configured it, and it then essentially stops receiving anymore bytes.
My UART configuration was initially exactly the same as that of the Starterware uartEcho example, but after trying various different combinations of configuration, I still get the same FIFO buffer overrun interrupt.
a) How do I prevent such a FIFO buffer overrun?
b) How do I recover from a FIFO buffer overrun?
This is a really stupid problem, I can't believe I'm struggling so much with it!! Please help!
Regards
Reinier