完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
1、将main中的数组变量放到RAML0段去:
#pragma DATA_SECtiON(array,"mysect") _iq array[16][16]; 然后在CMD文件中的section部分添加以下段,请问是在PAGE 0中还是PAGE 1 中定义段mysect? mysect : > RAML0, PAGE = 0 /* Program Memory */ 或PAGE 1 /* Data Memory */ 2、 MEMORY [ PAGE 0: /* Program Memory */ IQTABLES : origin = 0x3FE000, length = 0x000B50 /* IQ Math Tables in Boot ROM */ IQTABLES2 : origin = 0x3FEB50, length = 0x00008C /* IQ Math Tables in Boot ROM */ IQTABLES3 : origin = 0x3FEBDC, length = 0x0000AA /* IQ Math Tables in Boot ROM */ BOOTROM : origin = 0x3FF27C, length = 0x000D44 /* Boot ROM */ ] IQmath : > FLASHCD PAGE = 0 /* Math Code */ IQmathTables : > IQTABLES, PAGE = 0, TYPE = NOLOAD /* Uncomment the section below if calling the IQNexp() or IQexp() functions from the IQMath.lib library in order to utilize the relevant IQ Math table in Boot ROM (This saves space and Boot ROM is 1 wait-state). If this section is not uncommented, IQmathTables2 will be loaded into other memory (SARAM, Flash, etc.) and will take up space, but 0 wait-state is possible. */ IQmathTables2 : > IQTABLES2, PAGE = 0, TYPE = NOLOAD [ IQmath.lib ] /* Uncomment the section below if calling the IQNasin() or IQasin() functions from the IQMath.lib library in order to utilize the relevant IQ Math table in Boot ROM (This saves space and Boot ROM is 1 wait-state). If this section is not uncommented, IQmathTables2 will be loaded into other memory (SARAM, Flash, etc.) and will take up space, but 0 wait-state is possible. */ IQmathTables3 : > IQTABLES3, PAGE = 0, TYPE = NOLOAD [ IQmath.lib ] IQmathTablesRam : LOAD = FLASHGH, PAGE = 1 RUN = RAML1L2L3,PAGE = 1 LOAD_START(_IQmathTablesRamLoadStart), LOAD_END(_IQmathTablesRamLoadEnd), RUN_START(_IQmathTablesRamRunStart) 这几个段IQmath、IQmathTables、IQmathTables2、IQmathTables3、IQmathTablesRam有什么区别,分别是用来做什么的? [ IQmath.lib IQmathTablesRamLoadStart、IQmathTablesRamLoadEnd要在main中哪里声明的? |
|
相关推荐
3 个讨论
|
|
guigui_7044 发表于 2018-8-22 09:30 IQmathTablesRamLoadStart、IQmathTablesRamLoadEn是在哪个文件中声明的? 而RamfuncsLoadStart是在DSP2803x_GlobalPrototypes.h中声明的。好像是要自己在DSP2803x_GlobalPrototypes.h声明? // External symbols created by the linker cmd file // DSP28 examples will use these to relocate code from one LOAD location // in Flash to a different RUN location in internal // RAM extern Uint16 RamfuncsLoadStart; extern Uint16 RamfuncsLoadEnd; extern Uint16 RamfuncsRunStart; |
|
|
|
|
|
rxb88 发表于 2018-8-22 09:35 Haypin, 只要在使用到这些变量的源文件之前,对这些变量进行声明就可以了,不管是使用include 头文件的方式,还是直接在main文件中进行声明,都可以。 Eric - ERIC |
|
|
|
|
|
只有小组成员才能发言,加入小组>>
TMS320F28377D:新做了以377d为芯片的板子,上电后芯片复位引脚出现方波请问如何解决?
1232 浏览 0 评论
TPS55340通电后输入端保险丝烧断,芯片输入和GND之间短路
3373 浏览 4 评论
4835 浏览 0 评论
请问如何用DM368对RGB格式的图片数据进行编码生成JPEG格式图片?
1551 浏览 1 评论
8736 浏览 8 评论
2497浏览 4评论
1443浏览 2评论
1015浏览 1评论
关于ti控制程序的问题,force angle freq和 IQ
956浏览 1评论
2235浏览 1评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 粤ICP备14022951号 )
GMT+8, 2023-8-18 16:08 , Processed in 1.228711 second(s), Total 64, Slave 56 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 深圳华秋电子有限公司
电子发烧友 (电路图) 粤公网安备 44030402000349 号 电信与信息服务业务经营许可证:粤 B2-20160233 工商网监 湘ICP备2023018690号