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.

CC2640R2FRSM 将cache设置为RAM报错

Other Parts Discussed in Thread: SYSBIOS

软件版本为:simplelink_cc2640r2_sdk_1_40_00_45,使用BLE5,按着Using the Cache as RAM教程(

software-dl.ti.com/.../platform.html

),将cache设置为RAM。出现三个错误。请问怎么解决?

修改内容:

1)#define SET_CCFG_SIZE_AND_DIS_FLAGS_DIS_GPRAM        0x0     

2)#ifdef CACHE_AS_RAM
// retain cache during standby
Power_setConstraint(PowerCC26XX_SB_VIMS_CACHE_RETAIN);
Power_setConstraint(PowerCC26XX_NEED_FLASH_IN_IDLE);
#else
// Enable iCache prefetching
VIMSConfigure(VIMS_BASE, TRUE, TRUE);
// Enable cache
VIMSModeSet(VIMS_BASE, VIMS_MODE_ENABLED);
#endif //CACHE_AS_RAM

3)CACHE_AS_RAM

4)CACHE_AS_RAM=1

 

 

Error[Lp011]: section placement failed
unable to allocate space for sections/blocks with a total estimated minimum size of 0x2304 bytes (max align 0x8) in
<[0x1100'0000-0x1100'2000]> (total uncommitted space 0x2001).
Error[Lp017]: the address of "ti_sysbios_family_arm_m3_Hwi_Module_State_0_excActive__A" was needed when computing compressed
initializers for section .data_ti_sysbios_family_arm_m3_Hwi_Module__state__V (app_ble_prm3.orm3 #156), but that address hasn't been
set yet, since the size of the compressed initializers are needed in order to set it
Error[Lp017]: the address of "ti_sysbios_knl_Task_Instance_State_0_stack__A" was needed when computing compressed initializers for
section .data (app_ble_prm3.orm3 #566), but that address hasn't been set yet, since the size of the compressed initializers are needed in
order to set it
Warning[Ls014]: [stack usage analysis] at least one function does not have stack usage information. Example: "LL_ReadBDADDR". A
complete list of such functions is in the map file.
Warning[Ls016]: [stack usage analysis] the program contains at least one indirect call. Example: from "DRDYChangeHandler" in
BSP_mVSM.o [1]. A complete list of such functions is in the map file.
Warning[Ls017]: [stack usage analysis] the program contains at least one instance of recursion for which stack usage analysis has not
been able to calculate a maximum stack depth. One function involved is "Power_releaseDependency". A complete list of all recursion nests
is in the map file.
Error while running Linker

Total number of errors: 3
Total number of warnings: 3