您的位置:首页 > 产品设计 > 产品经理

CC1110 Mini Development Kit 868-915 MHz

2015-06-15 11:34 603 查看
swrc133\ide

源代码下载地址:CC1110 and CC2510 Mini DK Software Example (http://www.ti.com\lit\zip\swrc133)

安装IARfor 8051(光盘)后,需要进行破解,在CSDN上有破解包,在C盘program data文件夹中的IAR中的8051文件夹下,将license文件替换掉。

IAR在运行时会报错lnk51ew_cc1110F32.xcl找不到,在options选项中的linker中选择路径,$TOOLKIT_DIR$\config\devices\Texas Instruments\lnk51ew_cc1110F32.xcl(安装IAR自带的)即可解决该错误(芯片上带有CC1110F32,指的就是32kb的FLASH,根据具体情况选择后缀数字)。8/16/32
KB的系统内可编程闪存

SmartRF(TM)
闪存编程器用户手册
SmartRF flash programmer有中文手册,所用的版本是GUI版本,菜单比较简单,有system on chip tab和msp430 tab.interface、flash image、change、action、flash lock、perform actions以及命令执行状态框。

将开发板连接上CC DEBUG后,再将CC DEBUG连上PC,在flash programmer中就会显示出开发板的CPU信息。

CC DEBUG设置:

inerface :fast ;

flash image:选择生成的.hex文件;

actions:选择erase program and verify(擦除,下载与验证,验证要写入的内存在编程开始前要能读出0xff(即已擦除));

Flash lock:选择32kb--all pages(cc11xx、cc25xx和cc24xx需要).

change是指需要在下载时更改下载的字节,而不修改.hex文件。不用选择。

最后运行perform actions在下方空白处会显示下载情况。success即可。

CC DEBUG:

Change Field on non ZigBee devices

When “Erase and program” or “Erase, program and verify” action is performed, the bytes at the

given address from the hex file are replaced with those written by the user before the chip is

programmed. The hex file itself is not changed.

IAR:

Open the Project options and click the
Linker
tab
配置生成.hex文件:
在option中选择:

在config tab中,选择linker configuration file:选择override default:$TOOLKIT_DIR$\config\devices\Texas Instruments\lnk51ew_cc1110F32.xcl,其余的不选。

Linker tab,output的output file不选,format选中debug information for C-SPY.选中with runtime control mod和with I/O emulation modu与allow C-SPY-specific extra output file。module-local选择include
all.

在extra output tab中,选择generate extra output file,override default下写上生成.hex文件的全名以及类型。format中output format是intel-extended,format variant是None。

debugger选项中:

setUp tab:driver是texas instruments,选中run to main.c,Exclude system breakpoints on exit选中,override default 选中。在plugins:code coverage与symbols选中。

general optionstab:

target:device information:CC1110 cpu core:plain

code model:near

data model:large

calling convention:XDATA stack reentrant

number of virtual :8

选中RAM memory

stack/heap :

stack sizes:IDATA:0X40 PDATA:0x80 XDATA: 0x3ff

heap sizes:XDATA:0XFF FAR:0XFFF FAR22:0XFFF HUGE:0XFFF

data pointer tab:

number of DPTRS:1

OUTPUT :

选中executable

C/C++ COMPILER tab:

选中multi-file compilation discard unused publics

language 1 :C c99 standard with IAR extensi

language 2:unsigned strict conforman

optimizations:high size ENABLED:common subexpression elimination;loop unrolling;function inlining;type-based alias analysis选中

output :generate debug informat 其余不选

preprocessor:不勾选

$PROJ_DIR$/../../../source/components\simpliciti\bsp

$PROJ_DIR$/../../../source/components\simpliciti\bsp\drivers

$PROJ_DIR$/../../../source/components\simpliciti\bsp\boards\SRFCCxx10

$PROJ_DIR$/../../../source/components\simpliciti\mrfi

$PROJ_DIR$/../../../source/components\simpliciti\simpliciti\nwk

$PROJ_DIR$/../../../source/components\simpliciti\simpliciti\nwk_applications

defined symbols:

MRFI_CC1110

MCU_H="ioCC1110.h"

extra options:勾选use command line options:

-f"$PROJ_DIR$\..\..\..\source\apps\smpl_config.dat"

-f"$PROJ_DIR$\..\..\..\source\apps\smpl_nwk_config.dat"

texas instrument:

download:选中retain unchanged pages

verify download CRC-16

TARGET:选中enable stack overflow warning.number of banks:4

communication:ask其余不选。

SimpliciTI™ Network Protocol

An RF protocol targeting simple, small RF networks(协议栈)

注意:

During the link procedure, be sure to have the nodes at least1meter

apart to avoid saturation. After link is established the adaptive power adjustment works, and

the nodes can be moved closer together.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: