Part Number: AM263P4
Other Parts Discussed in Thread: AM2634, SYSCONFIG
Hi, TI experts.
This is a continuation of the problem mentioned in the text below.
Due to tight time, I avoided the problem by changing the code of the 4 CPUs (R5FSS0-1 <-> R5FSS1-1).
But, I get a similar problem yesterday while expanding the R5FSS0-0 code.
After some experimentation, the size of the available TCMB for each CPU was concluded as follows.
| CPU Name | R5FSS0-0 | R5FSS0-1 | R5FSS1-0 | R5FSS1-1 |
| TCMB size | 0x10000 (64 kB) | None (0 kB) | 0x10000 (64 kB) | 0x8000 (32 kB) |
Actual TCMB size of AM263P4 is 96 kB at dual-core mode and 192 kB at lockstep mode.
As mentioned in the link above, I thought that the TCMB-related settings of the MPU firewall have a problem.
And the Table 3-9 of AM263P TRM (spruj55d.pdf) shows wrong "Segment Size" of TCMB.
(It seems that these contents came from AM2634 with 32 kB TCMB.)
Because Sysconfig v1.26.0+4407 prohibits the modification of MPU firewall settings of HSM firmware, I modified ti_drivers_config.c by hand and put "SYSCFG_DISABLED?=yes" in devconfig.mak of TIFS_PATH and made HSMRt firmware again.
The following table shows the modification items. (For CORE0, lockstep mode was considered.)
| .id | .regionNumber | .startAddress | .endAddress | |
| CSL_FW_R5SS0_CORE0_AXIS_SLV_ID | 1 | 0x7810 0000 | 0x7810 FFFF -> 0x7812 FFFF | 64 kB -> 192 kB |
| CSL_FW_R5SS0_CORE1_AXIS_SLV_ID | 1 | 0x7830 0000 | 0x7830 7FFF -> 0x7831 7FFF | 32 kB -> 96 kB |
| CSL_FW_R5SS1_CORE0_AXIS_SLV_ID | 1 | 0x7850 0000 | 0x7850 FFFF -> 0x7852 FFFF | 64 kB -> 192 kB |
| CSL_FW_R5SS1_CORE1_AXIS_SLV_ID | 1 | 0x7870 0000 | 0x7870 7FFF -> 0x7871 7FFF | 32 kB -> 96 kB |
With this modifications, I could not find SBL boot errors anymore yet.
Please verify if what I did is correct and modify the relevant documents, HSM firmware and sysconfig.
Regards,
Jeeuk Chang