This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
28069中由你自己烧写的用于和28335通信加载程序的程序吗?加载的程序要重新烧写到28069的FLASH中吗?
如果用28069自己的Bootload,可以参考下面的文档,打算自己编写加载程序也可以参考下面的文档:
controlSUITE\libs\utilities\boot_rom\2806x
介绍的文档:
要烧写FLASH,可以用FLASH API:
controlSUITE\libs\utilities\flash_api\2806x\v100
controlsuite:
我是想通过自己编写加载程序,在controlsuite上找到了F2806X的flash API函数库:2806x_BootROM_API_TABLE_Symbols_fpu32,但是这个库,我加入到我的CCS3.3工程中,链接的时候报错:
[Linking...] "C:\CCStudio_v3.3MCU\C2000\cgtools\bin\cl2000" -@"Debug.lkf"
<Linking>
error: Corrupt member header:
'D:\\fwg\\SPIBootLoader\\Driver\\Source\\Cpu\\DSP2806x_headers\\lib\\BootROM
_API_TABLE_Symbols_fpu32.lib'
error: Corrupt member header:
'D:\\fwg\\SPIBootLoader\\Driver\\Source\\Cpu\\DSP2806x_headers\\lib\\BootROM
_API_TABLE_Symbols_fpu32.lib'
error: errors encountered during linking; "./Debug/SPI_BootLoader.out" not
built
因为CCS4使用起来不是很方便,所以我们现在建工程都是在CCS3.3上进行,编码在Source Insight上进行,只有下载程序时会用CCS4.2。
现在就是在CCS3.3上建立了bootloader工程,加入了Flash2806x_API_Config.h和Flash2806x_API_Library.h头文件,因为看技术手册得知:F2806X的FLASH的API是固化到ROM中的,因此只要加入LIB文件即可,不需要采用copy函数将API拷贝到RAM中,但是现在就是在CCS3.3中加入 2806x_BootROM_API_TABLE_Symbols_fpu32.lib库文件后,链接时出现上面的报错,不知道是什么原因?谢谢解答
我使用CCS4重新建立了工程,加入2806x_BootROM_API_TABLE_Symbols_fpu32库后,编译的时候,还是会报错:
<Linking>
error: Corrupt member header: '../rts2800_ml.lib'
error: Corrupt member header: '../rts2800_ml.lib'
error: Corrupt member header: '../2806x_BootROM_API_TABLE_Symbols.lib'
error: Corrupt member header: '../2806x_BootROM_API_TABLE_Symbols.lib'
error: errors encountered during linking; "SPIBootLoader_V4.out" not built
>> Compilation failure
gmake: *** [SPIBootLoader_V4.out] Error 1
gmake: Target `all' not remade because of errors.
Build complete for project SPIBootLoader_V4
楼主真努力,周六都在学习...... 我帮楼主试了一下,我这里一切正常。
最新的编译器是6.0.2;5.2.6是10年上半年的一个版本,那时候。
老的编译器的报错和新版的编译器可能并不一样,所以并不利于定位错误,建议楼主还是考虑使用最新版本的CCSV4或CCSV5。
当然我也在CCSV3.3中也试了一下,用CCSV3.3来编译28069的API例程,我这里试下来没有报错。楼主看一下附件的工程吧。
你好,我不知道tms320f28069 SPI寄存器的具体操作文档在哪里下载,在官网下载的文档,都只说了寄存器的名字和功能,没有具体到哪位0/1的时候是什么意思?现在我用了例程的程序,想弄清楚寄存器的各个位的意思?请帮帮忙