现在我使用TMS320C6678芯片,编译后生成的bin文件大小为8M,但是我们每次升级的时候只允许升级1M大小的文件,有什么方法可以解决这个问题吗
我目前认为是不是可以减小bin文件的大小,但是这个我不知道怎么做,或者还有没有其他的方法实现我的目的,不知道官方又什么见解吗,
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.
现在我使用TMS320C6678芯片,编译后生成的bin文件大小为8M,但是我们每次升级的时候只允许升级1M大小的文件,有什么方法可以解决这个问题吗
我目前认为是不是可以减小bin文件的大小,但是这个我不知道怎么做,或者还有没有其他的方法实现我的目的,不知道官方又什么见解吗,
每次升级的时候只允许升级1M大小的文件
请问您指的升级是什么?1M大小是哪里的限制?
C:\ti\ccs1210\ccs\tools\compiler\ti-cgt-c6000_8.3.12\bin\strip6x.exe可以用来去掉.out文件里的一些调试信息,缩小文件大小。请看下面的FAQ。
https://www.ti.com/lit/an/spracn2/spracn2.pdf
4.2.1 I Have Programmed IBL and Want to Boot Application From NOR Flash. How to Convert my .out to .bin to Flash it?
You can re-name the .out file to .bin to program on NOR flash. If the file size is very huge then you can remove symbols from the binary using the strip6x utility.
Use strip6x.exe to convert .out file to .bin format. "strip6x.exe -p -o .
Example :
C:\ti\C6000 Code Generation Tools 7.4.0\bin>strip6x.exe -p - o ..\..\..\Bin\nor.bin ..\..\..\Bin\hua_evmc6657l.out