Problem With SECURECRT built a serial port COM1, after connecting the development Board, you can correctly accept and display the output of the serial port, but the key input is not valid. Way Session Options-Connection-Serial, Flow Control, the original default selected Rts/cts canceled, and then reconnect to the Development Board, once again connected, you can enter from the keyboard at this time. "PostScript 2011-04-03" The flow Contrl you can see is three options and corresponds to three different flow control modes: "RS232 three flow control modes" DTR/DSR: The hardware must have corresponding interface, the software to implement the corresponding protocol, in order to achieve this flow control. The concrete realization, generally seems to be with the rts/cts has been used together. rts/cts: The hardware must have corresponding interface, the software to implement the corresponding protocol, in order to achieve this flow control. This is the general common. However, many development boards with SECURECRT to connect the development Board, often in the uboot phase, at that time have not realized the corresponding Rts/cts flow control, so here need to cancel this choice, otherwise, SECURECRT will go to always detect the corresponding RTS (Request to Send) Pin PIN, the discovery has been invalid, so it has not received data, just "card" there. Similarly, you want to enter data, that is, securecrt to send data, so its first sent an RTS to the Development Board, and then always check whether their CTS is valid, until their CTS is valid, to send data, and here because the driver on the Development Board did not implement Rts/cts, So SECURECRT has been testing CTS, "card" dead, that you can not enter data. Xon/xoff: The flow control implemented on the software does not need to add the corresponding pins on the hardware like the rts/cts or DTR/DSR above. However, due to the two binary values corresponding to the Xon/xoff, the flow control of the software is invalidated if the value is included in the transmission data itself. It seems that this kind of flow control is seldom used now.
Original address: Http://hi.baidu.com/serial_story/blog/item/7e65d6506de348551138c2d1.html
|