UART1中斷被忽略
請問一下,我目前使用F340+AB4在開發產品,目前遇到一個問題,就是F340與AB4連接後,套用AB4的TCP範例,結果UART1的interrupt就沒用了;接AB4不跑範例主程式就可以,請問有解嗎?
AB4範例主程式:
//UART1中斷檢查 加在這裡ok
//CheckUART1();
while(1)
{
// Initialize the TCP/IP stack.
if (mn_init() < 0)
{
// If code execution enters this while(1) loop, the stack failed to initialize.
// Verify that all boards are connected and powered properly.
while(1);
}
// Connect to the network
establish_network_connection();
// Run the TCP example
TCP(); //UART1中斷檢查 加在這裡面就失敗
// Start the Application Layer Services
// If this routine exits, check the return value for an error code.
retval = mn_server();
}