Hi all,
I have a program that receives input from a video port, does some processing & sends the output to another video port. This program also produce some numbers based on the processing.
I have another program (from DDK 1.20 example) that sends data over the serial port using UART.
Separately, the two program works fine. However when I tried to merge them (I want to send the numbers over the serial port), the program freezes whenever the UART codes is executed.<br>
Is there any known conflict between UART & video port? Or does anyone knows why the EVM might freeze? I'm thinking that the UART does not have enough time to complete its task, but I'm not sure how to solve this. No error messag eis received. I'm running CCS 3.3/EVMDM642/WinXP combo. The code is as follows:
while (1){
.. Some image processing codes ..
if (frames % 64 == 0) { // to test when it freezes, 64 means code not executed until 64th frame, so program freezes later than, say 8
for (j = 0; j < 6; j++) {
GIO_write(outChan, showRadius, &size);
if (UARTStatus < 0) {
LOG_printf(&trace, "GIO_write failed");
SYS_abort("GIO_write");
}
}
}
frames ++;
}
Thanks
Hanief