The original post can be found at: http://www.pcduino.org/forum.php?mod=viewthread&tid=625&fromuid=1Test 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.
First we need to install macports.
$cd /opt/local/bin $./port install minicom
Waiting for a few minutes to let the installation done.
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).
Type minicom at terminal:
CTRL + a
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
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.