完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
ti_51ew_cc2540b.xcl 中有定义有
// // Flash lock bits // --------------- // // The CC2540 has its flash lock bits, one bit for each 2048 B flash page, located in // the last available flash page, starting 16 bytes from the page end. The number of // bytes with flash lock bits depends on the flash size configuration of the CC2540 // (maximum 16 bytes, i.e. 128 page lock bits, for the CC2530 with 256 kB flash). // But since the bit that controls the debug interface lock is always in the last byte // we include all 16 bytes in the segment, regardless of flash size. // -D_FLASH_LOCK_BITS_START=((_NR_OF_BANKS*_FIRST_BANK_ADDR)+0xFFF0) -D_FLASH_LOCK_BITS_END=((_NR_OF_BANKS*_FIRST_BANK_ADDR)+0xFFFF) // (this should resolve to 0x7FFF0-0x7FFFF if 256 kB flash (_NR_OF_BANKS=7), and // 0x3FFF0-0x3FFFF if 128 kB flash (_NR_OF_BANKS=3)) // // // Define as segment in case one wants to put something there intentionally (then comment out the hack below) -Z(CODE)FLASH_LOCK_BITS=_FLASH_LOCK_BITS_START-_FLASH_LOCK_BITS_END 我在程序中使用下面的方法发现不起作用 #pragma location = "FLASH_LOCK_BITS" const char arry[]=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]; 如何正确的设置可以防止程序被读出来? |
|
相关推荐
1 个讨论
|
|
只有小组成员才能发言,加入小组>>
TMS320F28377D:新做了以377d为芯片的板子,上电后芯片复位引脚出现方波请问如何解决?
1888 浏览 0 评论
TPS55340通电后输入端保险丝烧断,芯片输入和GND之间短路
3641 浏览 4 评论
5027 浏览 0 评论
请问如何用DM368对RGB格式的图片数据进行编码生成JPEG格式图片?
1732 浏览 1 评论
9353 浏览 8 评论
CC3100BOOST使用CC3200lunchXL进行烧录
664浏览 2评论
707浏览 1评论
TMS320F28034: 利用C2prog通过SCI给TMS320F28034烧录程序,出现错误提示:Bootloading... failed (invalid echo)!
668浏览 1评论
1186浏览 1评论
求DLPC350 Programmer’s Guide User's Guide 中文版说明书
1189浏览 1评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-4-19 21:14 , Processed in 0.719165 second(s), Total 60, Slave 51 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号