Windows/Cygwin

  1. Download and install the FTDI USB driver from http://www.ftdichip.com/Drivers/VCP.htm
    (win 7 might not need this driver)
  2. Plug-in your Zigduino board to one of the USB ports on your computer and use the Device Manager (裝置管理員) to find out Zigduino's COM port number (for example, COM10).
  3. Modify the makefile of your program. ex.
     PROGRAMMING_PORT = COM10 
  4. Make sure the ROOT_DIR is right in the makefile. ex.
     ROOT_DIR = ../../../ 
  5. Run follow instruction and it will upload the program to zigduino
    make program

Linux

  1. Plug-in your Zigduino board to one of the USB ports on your computer and run
    $ dmesg 

    and you will see some message like this

    [] usb 1-1.2.1: new full speed USB device using ehci_hcd and address 9
    [] usb 1-1.2.1: configuration #1 chosen from 1 choice
    [] ftdi_sio 1-1.2.1:1.0: FTDI USB Serial Device converter detected
    [] usb 1-1.2.1: Detected FT232RL
    [] usb 1-1.2.1: Number of endpoints 2
    [] usb 1-1.2.1: Endpoint 1 MaxPacketSize 64
    [] usb 1-1.2.1: Endpoint 2 MaxPacketSize 64
    [] usb 1-1.2.1: Setting MaxPacketSize 64
    [] usb 1-1.2.1: FTDI USB Serial Device converter now attached to ttyUSB0

    find out Zigduino's tty port number (in this example, /dev/ttyUSB0).

  2. Modify the makefile of your program
    PROGRAMMING_PORT = /dev/ttyUSB0 
  3. Make sure the ROOT_DIR is right in the makefile. ex.
     ROOT_DIR = ../../../ 
  4. Run follow instruction and it will upload the program to zigduino
    make program

Mac

  1. Download and install the FTDI USB driver from http://www.ftdichip.com/Drivers/VCP.htm
  2. Plug-in your Zigduino board to one of the USB ports on your computer
  3. Type: “sudo dmesg”
    • Make sure FTDI driver loaded
  4. Type: “ls /dev”
    • usually the driver will load as follows:
      • /dev/tty.usbserial-0000201AA
      • /dev/tty.usbserial-0000201AB
  5. Modify the makefile of your program
    PROGRAMMING_PORT = /dev/tty.usbserial-0000201AA 
  6. Make sure the ROOT_DIR is right in the makefile. ex.
     ROOT_DIR = ../../../ 
  7. Run follow instruction and it will upload the program to zigduino
    make program
 
wn_11fall_zigduino_program.txt · Last modified: 2011/10/06 18:41 by hikaru4 · [Old revisions]
Recent changes RSS feed Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki