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.
很有网友反应Bin文件存在许多0数据,其实这跟FLASH分配有非常大的关系。
我们在cmd文件的SECTIONS段分配FLASH区段时,尽量让要使用的FLASH区域地址连续,否则生成的Bin文件会存在空洞(Hole):用0数据来填充2段被用到的FLASH地址中间那段未被使用的地址空间。
另外,比如我们程序中只用到FLASHA,但是没有全部使用完FLASHA空间,那在程序尾部和