Sei sulla pagina 1di 2

CC FLASHER - QUICK

GUIDE
Features
● CC2430/CC2431 Flash programming
Add the following file to give permission to
● MAC address programming non-root users.:
● NoICE debugger proxy /etc/udev/rules.d/60-cc_flasher.rules
BUS=="usb", SYSFS{idVendor}=="03eb",\
● USB interface
SYSFS{idProduct}=="0001", \
ACTION=="add", MODE="0666"

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

1 +3.3V Optional for target board


supply( max 50mA)
2 GND
3 RST
4 DD (P2_1)
5 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 end-
product fit for general consumer use. Persons handling the
product(s) must have electronics training and observe good
USAGE engineering practice standards. As such, the goods being provided
are not intended to be complete in terms of required design-,
Flash images must be in binary format. You marketing-, and/or manufacturing-related protective
considerations, including product safety and environmental
can convert from other formats using measures typically found in end products that incorporate such
objcopy which is a part of binutils (it also semiconductor components or circuit boards. This evaluation
board/kit does not fall within the scope of the European Union
comes with winavr, winarm...) directives regarding electromagnetic compatibility, restricted
substances (RoHS), recycling (WEEE), FCC, CE or UL, and
To convert Inter HEX file to binary use: therefore may not meet the technical requirements of these
directives or other related directives.
Should this evaluation board/kit not meet the specifications
$ objcopy --gap-fill 0xFF -I ihex -O indicated in the User’s Guide, the board/kit may be returned within
binary flash_image.hex flash_image.bin 30 days from the date of delivery for a full refund. THE
FOREGOING WARRANTY IS THE EXCLUSIVE WARRANTY
MADE BY
Flash programming SELLER TO BUYER AND IS IN LIEU OF ALL OTHER
WARRANTIES, EXPRESSED, IMPLIED, OR STATUTORY,
INCLUDING
$ cc_flasher -w -f flash_image.bin 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.
Flash programming with verification from
all claims arising from the handling or use of the goods. Due to the
By default only the fist page write is verified. open construction of the product, it is the user’s
If you want to check whole flash use -v 2 responsibility to take any and all appropriate precautions with
regard to electrostatic discharge.
EXCEPT TO THE EXTENT OF THE INDEMNITY SET FORTH
$ cc_flasher -w -v 2 -f ABOVE, NEITHER PARTY SHALL BE LIABLE TO THE OTHER
flash_image.bin FOR ANY INDIRECT, SPECIAL, INCIDENTAL, OR
CONSEQUENTIAL DAMAGES.

http://www.modula.si http://sourceforge.net/projects/ccflasher/

Potrebbero piacerti anche