Part Number: IWR1443BOOST
Other Parts Discussed in Thread: IWR1443
In the iwr1443 demo program, the default configuration TCMA (R4F Program RAM) is 128K, the TCMB (R4F Data RAM) is 64K, and the DSS_L3 (Radar Data Memory) is 256K as follows: In the r4f_linker.cmd file,
MEMORY{
VECTORS (X) : origin=0x00000000 length=0x00000100
PROG_RAM (RX) : origin=0x00000100 length=0x0001FF00
DATA_RAM (RW) : origin=0x08000000 length=0x00010000
L3_RAM (RW) : origin=0x51020000 length=0x00040000
HWA_RAM (RW) : origin=0x52030000 length=0x00010000
}
Now, our program code size exceeds 128K, we tried the following methods will TCMA (R4F Program RAM) extended to 256K, are not successful, the steps are as follows:
First, in the r4f_linker.cmd file, "PROG_RAM (RX): origin = 0x0000000100 length = 0x0001FF00" is changed to: "PROG_RAM (RX): origin = 0x00000100 length = 0x0003FF00", compile and download, can not run.
Then, add the following code to the SOC_deviceInit() function:
ptrSOCDriverMCB->ptrTopRCMRegs->DSSMEMBANKEN=ptrSOCDriverMCB->ptrTopRCMRegs->DSSMEMBANKEN&0xFFFFFFFC; // Bank0, bank1 is disabled in DSS
ptrSOCDriverMCB->ptrTopRCMRegs->TCMAMEMBANK_EN=ptrSOCDriverMCB->ptrTopRCMRegs->TCMAMEMBANK_EN|0x3; // Bank0, bank1 is disabled in TCMA
compile and download, can not run.
Finally, in the SOC_mpu_config () function, the region 2, TCMA IRAM code fragment,
_mpuSetRegionSizeRegister_ (mpuREGION_ENABLE | MPU_126_KB) is modified to _mpuSetRegionSizeRegister_ (mpuREGION_ENABLE | MPU_256_KB); compile download and can not run.
What should we do to achieve TCMA (R4F Program RAM) extended to 256K, or other size?
Regards,
line