Hi all:
First of all, I met a problem when I debug my uart_bootloader code and the code is totally same as the this link:
.
Here are the questions:
1. When I use secureCRT to transmit .bin file, the terminal would show below:
, which means that the program gets stuck here;
then I use serial port monitor and find out the secureCRT sends first packet
, there are no response such as ACK or NAK but just CRC.
2. After that I debug my code, then I find that the program enter here and then break out. I think the function UART_getChar may occure timeout error? However, how could time out happen? The timeout here is about 3s.

3. The setting of my SCI port is 115200, 8-bit length, no parity, no flow control, no odd/even and The sci port I use is SCI4 but not SCI1 or SCI2.
I have stuck here for a week, please help me out, thanks.
Thanks
Li




