You are on page 1of 2

CC FLASHER - QUICK GUIDE

Features
● ● ● ●

CC2430/CC2431 Flash programming MAC address programming NoICE debugger proxy USB interface

Add the following file to give permission to non-root users.:
/etc/udev/rules.d/60-cc_flasher.rules BUS=="usb", SYSFS{idVendor}=="03eb",\ SYSFS{idProduct}=="0001", \ ACTION=="add", MODE="0666"

Pinout

Windows
Requires: cygwin. Drivers and .exe are in win32 directory of the archive.

1 2 3 4 5

+3.3V Optional for target board supply( max 50mA) GND RST DD (P2_1) DC (P2_2)

Installation
Software is available under open source license from http://sourceforge.net/projects/ccflasher/.

Linux
Requires: libusb-dev.
$ $ $ $ tar -xzf cc_flasher.xxxx.tar.gz cd cc_flasher make sudo make install

http://www.modula.si

http://sourceforge.net/projects/ccflasher/

Flash programming with full erase
By default flash segments are erased before writing to them. If you won't to erase whole flash at once use the -m flag
$ cc_flasher -w -m -f flash_image.bin

MAC address programming
MAC address is usually stored at last 8 locations of flash. CC Flasher by default preserves this MAC address during flashing. You can specify new mac address using -a flag.
$ cc_flasher -w -f flash_image.bin -a 00:00:00:00:AA:BB:CC:DD

WARNING: Connect directly to USB PORT. No HUBS!!!
This EDA tool is intended for use for ENGINEERING DEVELOPMENT, DEMONSTRATION, OR EVALUATION PURPOSES ONLY and is not considered to be a finished endproduct fit for general consumer use. Persons handling the product(s) must have electronics training and observe good engineering practice standards. As such, the goods being provided are not intended to be complete in terms of required design-, marketing-, and/or manufacturing-related protective considerations, including product safety and environmental measures typically found in end products that incorporate such semiconductor components or circuit boards. This evaluation board/kit does not fall within the scope of the European Union directives regarding electromagnetic compatibility, restricted substances (RoHS), recycling (WEEE), FCC, CE or UL, and therefore may not meet the technical requirements of these directives or other related directives. Should this evaluation board/kit not meet the specifications indicated in the User’s Guide, the board/kit may be returned within 30 days from the date of delivery for a full refund. THE FOREGOING WARRANTY IS THE EXCLUSIVE WARRANTY MADE BY SELLER TO BUYER AND IS IN LIEU OF ALL OTHER WARRANTIES, EXPRESSED, IMPLIED, OR STATUTORY, INCLUDING ANY WARRANTY OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE. The user assumes all responsibility and liability for proper and safe handling of the goods. Further, the user indemnifies Modula d.o.o. from all claims arising from the handling or use of the goods. Due to the open construction of the product, it is the user’s responsibility to take any and all appropriate precautions with regard to electrostatic discharge. EXCEPT TO THE EXTENT OF THE INDEMNITY SET FORTH ABOVE, NEITHER PARTY SHALL BE LIABLE TO THE OTHER FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES.

USAGE
Flash images must be in binary format. You can convert from other formats using objcopy which is a part of binutils (it also comes with winavr, winarm...) To convert Inter HEX file to binary use:
$ objcopy --gap-fill 0xFF -I ihex -O binary flash_image.hex flash_image.bin

Flash programming
$ cc_flasher -w -f flash_image.bin

Flash programming with verification
By default only the fist page write is verified. If you want to check whole flash use -v 2
$ cc_flasher -w -v 2 -f flash_image.bin

http://www.modula.si

http://sourceforge.net/projects/ccflasher/