Hi,I am a ungraduated students and I am developing DM6446. I have some difficulties developping on it.
My IDE is CCS 3.3.My product is DM6446
I write codes in both dsp and arm
In arm, I try to send send message to computer from COM
for (;;)
{
/* RX */
while( DAVINCIEVM_UART_rcvReady( UartHandle ) ); // Check for Rx ready
{
DAVINCIEVM_UART_getChar( UartHandle, &rx[rev] );
}
while( DAVINCIEVM_UART_xmtReady( UartHandle ) ); // Check for TX ready
{
//rx[rev]//(Uint8)'b'
DAVINCIEVM_UART_putChar( UartHandle, rx[rev] ); // TX 1 byte
}
}
In dsp,I only write a loop
for(;;)
{}
Everything goes well if I only run arm,and close dsp
Messages can successfully transmitted between arm and computer
BUT!When I run dsp (A void loop)
It seems that both two cpu stop working and Messages can not transmit between arm and computer and I keep receiving BOOTME from arm
Why?Is it because I can not write loops in both arm and dsp?Or I can not run two cpu in the same time??