This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Uart data blocked after PC terminal close COM and open it again

Hi All,

I use S120 device to monitor advertising and output the mac address,RSSI information via UART to PC terminal. The PC terminal can receive data continusly from the S120 device if its COM port keeps on, however, if I close the COM port of PC terminal for sometime and open it again, it cannot receive anything from the S120 device again.

From debugging, the application on S120 device is still working when the problem happens, and the PC terminal can receive data again if I excute several steps "Step Over(F10)" to run over the "power_manage()" function in main loop.

The environment is: HW: PCA10000 with QF AAG0 SW: SD s120_nrf51822_1.0.0_softdevice + nrf51_sdk_v6_1_0, using app_uart.c, hw flow control enabled. PC terminal: SecureCRT,38400,8N1,CTS/RTS enabled.

Could anybody help on the problem?

Thanks,

Frank

Parents Reply Children
No Data
Related