• Home
  • pcDuino
  • WiKi
  • Store
  • Distributors
  • Home
  • pcDuino
  • WiKi
  • Store
  • Distributors
HomepcDuinoQuick StartpcDuino Development with Mac—Yu Wang (Xi’an ...
Previous Next

pcDuino Development with Mac—Yu Wang (Xi’an University of Post and Telecommunications)

Posted by: admin , March 28, 2014

[vc_row][vc_column][vc_column_text][/vc_column_text][vc_tour][vc_tab title=” Test Environment” tab_id=”1395281930-1-34″][vc_column_text]The original post can be found at: http://www.pcduino.org/forum.php?mod=viewthread&tid=625&fromuid=1Mac-OS-X-Mavericks-LogoTest environment : mac os 10.9 pl2303

Firs, we need to install pl2303 driver on Mac and restart the computer

Click setting and enter into the network, it will add USB-serial control.

Note: If the following command does not have user right, please add the sudo or root user.

Open the terminal, and type  $cd/dev, then input ‘$ls’ to check the content of the directory. We should see a device named  tty.usbserial.[/vc_column_text][/vc_tab][vc_tab title=”Install Minicom” tab_id=”1395281930-2-24″][vc_column_text]First we need to install macports.

Download link:http://www.macports.org/install.php

$cd /opt/local/bin
$./port install minicom

Waiting for a few minutes to let the installation done.[/vc_column_text][/vc_tab][vc_tab title=”Use Minicom” tab_id=”1395284415121-2-4″][vc_column_text]Directly type minicom at the terminal.

This time there may be an error, likely  “/dev/modem: No to the file or directory.”
The solution: minicom -s

Select Serial port setup:

A – changed to /dev/tty.usbseria, and press ENTER,
Then save setup as dfl.

Enter the minicom and  it is possible that it will show that Device/dev/ttys0 is locked. (the file generated when minicom is closed unexpectedly).
The solution: rm/TMP/LCK..ttys0 (it ma ynot be ttys0 file, but it should start with LCK).[/vc_column_text][/vc_tab][vc_tab title=”Configure minicom” tab_id=”1395284416437-3-7″][vc_column_text]Type minicom at terminal:
CTRL + a
z
o
Choose the serial port setup
A – change to /dev/tty. usbserial
E – set to 115200, and  select Q  to set to 8 – N – 1.
Choose “Modem and dialing”
A – Init string changed to be blank
B – Reset string changed to be blank
K – Hang- up  string changed to be blank
Select “Filenames and paths”:
A – the Download directory: / the folder created by you self
B – the Upload directory: / the folder created  by you slef
C – same as above
Save setup as dfl[/vc_column_text][/vc_tab][vc_tab title=”Connect to pcDuino” tab_id=”1395285309342-4-6″][vc_column_text]Connect  pcDuino

Note:: rx – > tx  tx – >rx
Power up the pcDuino after we connect the serial debug cable,  open the minicom at terminal and you will see the familiar interface.[/vc_column_text][/vc_tab][/vc_tour][/vc_column][/vc_row]

Tags: Quick Start

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