Hello all,
I succesfully used the following codes:
platform_uart_init();
platform_uart_set_baudrate(115200);
write_uart("\r\n\r\n == Version of the Project == ");
write_uart(version);
write_uart("\r\n");
in lot of the programs.
But after revision of one variable's value the program hung in the function
platform_uart_init();
When I researched the program execution step by step I saw that program hung within the function
platform_uart_set_baudrate(115200);
In Disassembly window I found that the program succesfully executed the codes:
platform_uart_init:
00837a48: 01BC54F6 STW.D2T2 B3,*B15--[2]
00837a4c: 100FAC12 CALLP.S2 UartInit (PC+32096 = 0x0083f7a0),B3
$C$RL50:
00837a50: 02610028 MVK.S1 0xffffc200,A4
but during execution of the command:
00837a54: 020000E9 MVKH.S1 0x10000,A4
program hung and the Disassembly window became blank.
Unfortunately I can't send the complete sourse code.
Please answer on the following questions:
- how to find the cause of such code's behavior?
- how to correct this problem?
I used:
Code Composer Studio 5.2.1.00018
mcsdk_2_01_02_06
pdk_C6678_1_1_2_6
Compiler version TIv7.4.7
MDSEVM6678L board
Best regards,
Viktor