Part Number:TMS320F28335
我采用用CCS编译器生成EABI(elf)格式的.out文件,然后我采用CANape软件读取.out读取出来文件内全局变量只有地址和变量名,没有数据类型和长度,这是哪里的问题呢,我需要怎么修改一下吗?其中生成.out采用的库是rts2800_ml_eabi.lib, 我在CNAape采用的是Format是ELF/DWARF ,Externed C++ Support ( New reader which reads type information form ELF/DWAF fies)。
然后我采用老版的COFF格式的.out时,采用COFF格式是能读取出来全局变量数据类型,长度、变量和地址的,但是变量地址一直不正确,COFF的Format采用的是COFF/DWAF,Externed C++ Support (New reader which reads type information form COFF/DWAF fies),其中生成.out采用的库是rts2800_ml.lib。
怎么样能确定ELF格式的.out文件内是否存在着全局变量的数据类型和长度呢?
Yale Li:
我们在这个链接中讨论:
https://e2echina.ti.com/support/microcontrollers/c2000/f/c2000-microcontrollers-forum/757738/tms320f28335-how-to-determine-whether-the-data-type-and-length-of-global-variable-exist-in-the-out-file-in-elf-format
,
?? ?:
OK i Know THANKS