1.在修改c674x_linker.cmd这个链接脚本的时候,
将L2SRAM_UMAP1的大小改大之后,debug的时候出现
详细日志如下:
C674X_0: Trouble Reading Memory Block at 0x820140 on Page 0 of Length 0x4: (Error -1176 @ 0x820140) Unable to access device memory. Verify that the memory address is in valid memory. If error persists, confirm configuration, power-cycle board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 9.2.0.00002)
C674X_0: File Loader: Verification failed: Target failed to read 0x00820140
C674X_0: GEL: File: C:\Users\Administrator\workspace_v10\traffic_monitoring_18xx_dss\Release\traffic_monitoring_18xx_dss.xe674: Load failed.
ps:为什么要修改L2SRAM_UMAP1?
原因:目前在demo中的dss部分增加自己相关的业务逻辑的处理部分,而且目前只能加载dsp这侧,暂时不能挪到arm这侧。在dsp编译的时候出现
详细的日志
<Linking>
"C:/ti/mmwave_industrial_toolbox_4_5_1/labs/traffic_monitoring/18xx_68xx_traffic_monitoring/src/dss/mmw_dss_linker.cmd", line 16: warning #19014-D: undefined preprocessor symbol 'TRACKERDPU_ON_DSP'
"C:/ti/mmwave_industrial_toolbox_4_5_1/labs/traffic_monitoring/18xx_68xx_traffic_monitoring/src/dss/c674x_linker.cmd", line 97: error #10099-D: program will not fit into available memory. run placement with alignment fails for section ".far" size 0x245c . Available memory ranges:
L2SRAM_UMAP0 size: 0x20000 unused: 0x85f max hole: 0x848
L2SRAM_UMAP1 size: 0x20000 unused: 0x0 max hole: 0x0
error #10010: errors encountered during linking; "traffic_monitoring_18xx_dss.xe674" not built
2.如何修改dsp这侧的memory map?