November 24, 2015

Linux - Getting started with Texas Instruments CC3200 SimpleLink Launchpad IoT evaluation module

  • CC3200 has a FT2232 FTDI chip with USB to JTAG & UART (dual endpoints)
  • udev rules need to be added to enable FTDI chip to be visible in the file system
/etc/udev/rules.d/99-tiftdi.rules

$ cat /etc/udev/rules.d/99-tiftdi.rules
# For CC3200 Launchpad with FTDI Chip that TI put their codes in. ID = 0x0451, Product ID = 0xc32a
ATTRS{idVendor}=="0451", ATTRS{idProduct}=="c32a", MODE="0770", GROUP="dialout", RUN+="/sbin/modprobe ftdi-sio", RUN+="/bin/sh -c '/bin/echo 0451 c32a > /sys/bus/usb-serial/drivers/ftdi_sio/new_id'"
  • Necessary kernel modules are usbserial and ftdi_sio. We need to initiate ftdi_sio kernel module manual every time we connect the device. RUN+="/sbin/modprobe ftdi-sio" in the above rules does this automatically.
  • Though CCS studio is available for linux, arm-none-eabi-gcc toolchain can be used for compilation arm-none-eabi-gdb and openocd can be used for debugging.
  • energia, a opensource IDE for TI chips as like Arduino for Atmel chips. Energia can also be used as abstraction framework for other IDEs as well. Source: ​http://energia.nu/
  • energia is the easiest way to develop the project as it provides the highest level of abstraction with simple API for every feature.

No comments:

Post a Comment

Comment will be published after moderation only. Do not advertise here.