• Home
  • pcDuino
  • WiKi
  • Store
  • Distributors
  • Home
  • pcDuino
  • WiKi
  • Store
  • Distributors
HomepcDuinoLinux ApplicationsKnowledge about Serial Port debugging on pcDuino ...
Previous Next

Knowledge about Serial Port debugging on pcDuino (b)

Posted by: admin , March 2, 2014

[vc_row][vc_column][vc_column_text]

C

In the picture,the pin in the blue circle is pcDuino serial data communication and its corresponding function.

TX is the data sending pin of pcDuino,namely pcDuino send data to the outside.

RX is the data receiving pin, namely pcDuino receive the data provided outside.

GND is the ground of pcDuino, to ensure the the integrity of the data transmission,

we need to connect the pcDuino GND with the corresponding module when the pcDuino is

through the serial interface to communicate with the outside data.

[/vc_column_text][vc_tour][vc_tab title=”Serial port debug” tab_id=”1393564393-1-59″][vc_column_text]Debug Port is that user via serial interface to control pcDuino through the command line mode,

completely realize all of the operation.

Due to the long time of using Windows system,

we get sued to operate computer in the friendly interface system desktop with the mouse and keyboard,

the computer is useless without the monitor, mouse and keyboard.

We could avoid carrying many peripheral devices by operating the computer with the command .

This operating computer is high efficiency and can reduce the complex of working.[/vc_column_text][/vc_tab][vc_tab title=”Part list” tab_id=”1393564393-2-10″][vc_column_text]

1.USB data line  x 1

1

2.[bigcommerce link=”/breakout-board-for-ft232rl-usb-to-ttl-5v/” target=”_blank”]FT232 serial module[/bigcommerce]  x 1

2

3.Male to  female dupont line   x 3

3

complete circuit

4

Previous slide

[/vc_column_text][/vc_tab][vc_tab title=”Software” tab_id=”1393623264340-2-10″][vc_column_text]Debug port tool which work well under  the Windows operating system is SecureCRT

The following is SecureCRT interface:

A

The program of SecureCRT is in the attachment

Operation as follows:

1.Install the driver of FT232,the driver program is in the attachment.

Duo to the master of pcDuino is 3.3V SCM,the logic level of RS232 commonly used  is 5 V and 0 V  in the market.

It may lead the data  abnormall with RS232 to connect pcDUino, so it is better to use the FT232.

Use the USB data line to connect the FT232 to the computer, open the device manager  of the computer, show as figure

Right click “my computer” – > click “device manager”;

A

Right click the “USB Serial Port” – >click “update the driver program”.

aa

Choose ” install from the list or specific location”->”next”.

aaa

Choose as follows.

aaaa

Browse your attachment from the download directory

Path as:

C: Documents and Settings Administrator desktop pcDuino serial port debug drivers
“The next step,” -> select” continue”

aaaaa

FT232 installation complete.

P

Now FT232 will display the corresponding COM port, indicate that successfully installed.

pp

[/vc_column_text][/vc_tab][vc_tab title=”Configure Secure CRT” tab_id=”1393623285650-3-6″][vc_column_text]Open the download attachment“pcDuino debug port”->open“securecrt”;

A

Find the “SecureCRT.exe”,double click and run:

Figure:

aaa

Set secureCRT:

“file”-》“quick connect”:

ddd

Protocols set“Serial”,port set “COM6”(the port after I finished installed the FT232),baud rate set“115200”,do not choose the flow control ,other setting stay the same,

as figure:

dddd

Click “connect”:

assas

The secureCRT set well

[/vc_column_text][vc_column_text]I am text block. Click edit button to change this text.

[/vc_column_text][/vc_tab][/vc_tour][/vc_column][/vc_row]

Tags: Linux Applications

Share!
Tweet

admin

About the author

Leave a Reply Cancel reply

You must be logged in to post a comment.

Category

  • Home
  • pcDuino
  • WiKi
  • Store
  • Distributors