DSP

DM6467 CCS3.3 BIOS 5.32.1使用时问题解析

2019-07-13 10:45发布

Question1.  
      error: relocation overflow occurred at address 0x00000020 in section             '.text' of input file
            The 32-bit PC-relative displacement -73428952 at this location is
            too large to fit into the 21-bit PC-Relative field; the destination
            address is too far away from the instruction. You may need to add a
            mask to the assembly instruction or use other target specific
            assembly features if you really only need the lowest 21 bits of
            this symbol. Please see the section on Relocation in the Assembly
            User's Guide. 
Question2:            Build 无错误,run 时候弹出以下对话框,
                    原因是Simulator不支持RTDX ,故RTDX必须在Emulator(硬件仿真器)下使用。          解决方法:DSP/BIOS tcf文件   -〉RTDX  -real-Time Exchange settings 的RTDX Mode改为Simulator。
Question3: Error:  The application is using 64 MB of DSP memory. Verify               application memory usage. To increase the supported              memory limit, refer SPRU600.  
Error: SIM may not be in stable state, Advisable to correct the error before Running  
        原因:未知         解决方法:重新打开ccs 编译就好了 ,还不知道什么问题

Question4:
undefined                        first referenced
 symbol                              in file
---------                        ----------------
_HWI_D_inhwi                     C:\Users\...\xxx\lib\dsplinkmpcs.lib
_SWI_D_inswi                     C:\Users\...\xxx\dsplinkmpcs.lib
>>   error: symbol referencing errors - './ReleaseTest/xxx.out' not built 原因: BIOS版本不匹配 解决方法:  help->about->component manager  选择BIOS版本
Question 5: 软件仿真时候  run一段时间后出现以下提示:
Error: Illegal opcode (04607e22) at pc = 0x00000004 Illegal opcode at pc = 0x00000004  
Error: SIM may not be in stable state, Advisable to correct the error before Running  
Error:  The application is using 64 MB of DSP memory. Verify               application memory usage. To increase the supported              memory limit, refer SPRU600.  
Error: SIM may not be in stable state, Advisable to correct the error before Running
原因:可能是堆栈大小 解决方法:重启ccs就好了