TI中文支持网
TI专业的中文技术问题搜集分享网站

CC1310如何在Flash Programmer下载程序时自动增加ID号?

CC1310如何在Flash Programmer下载程序时自动增加芯片ID号(或者用户自定义的数值)?或者手动修改?

da qin zheng sheng:

芯片自身带的id,如果还要自己重新规划,非常简单,单独分配6个或更多字节flash空间。但是操作却非常麻烦!使用官方软件,只能一个一个手动修改。

da qin zheng sheng:

回复 da qin zheng sheng:

当然还有更好的办法,需要添加外部硬件!

da qin zheng sheng:

回复 da qin zheng sheng:

cc2540,cc2541非常方便,工具成熟,cc26系列这个目前是非常难的!

Viki Shi:

用Flash Programmer的话,需要逐个手动修改。可以参考下这边的方法自动修改:blog.csdn.net/…/52357492

Susan Yang:

您是想修改MAC地址还是?您为何要实现自动加1?

您可以先看一下 的 

 5.3.2.5 Device Identification Register

This register allows the manufacturer, part number, and version of the device to be determined through the TAP. The device identification register is scanned in response to the IDCODE instruction. IDCODE has three fields: version, part number, and manufacturer.

xie wei:

回复 Susan Yang:

其实是想用6个字节的FLASH空间定义自己的一个ID号,所以想在烧写程序时能自动加1,与芯片自身的ID无关。

xie wei:

回复 Viki Shi:

谢谢,我去试试

Susan Yang:

回复 xie wei:

那您可以看一下 USER_ID 这个寄存器

xie wei:

回复 da qin zheng sheng:

我想参照nvsinternal例程,定义:
#define NVS_REGIONS_BASE 0x1A000
#pragma LOCATION(flashBuf, NVS_REGIONS_BASE);
对地址是否有什么要求?放在FLASH地址空间最后?
然后在烧写程序自动加1。

赞(0)
未经允许不得转载:TI中文支持网 » CC1310如何在Flash Programmer下载程序时自动增加ID号?
分享到: 更多 (0)