Part Number: TMDSCNCD263P
Other Parts Discussed in Thread: SYSCONFIG
Hey TI forum,
I am working on ensuring exclusive access to L2OCRAM BANK 0 for R5FSS0_0 using the MPU Firewall.
I modified the hsm_services example (examples/drivers/hsmclient/hsm_services) with an additional MPU region configuration so that only R5FSS0_0 has access to L2OCRAM BANK 0:

With this additional MPU region, the function HsmFirewallApp hangs on line 95 inside HsmClient_setFirewall (HsmClient_SendAndRecv never returns).
Restricting the other RAM banks to R5FSS0_0 works fine, only L2OCRAM BANK 0 causes HsmClient_setFirewall to hang.
What can cause HsmClient_setFirewall to hang?
Bonus question: What is the Region Number parameter in the sysconfig MPU Region Configuration used for? I was unable to find any documentation about it in both MCU+ SDK and TIFS-MCU docs.
Thanks for the help!
I used
- AM263Px control card
- MCU+ SDK for AM263Px 26.0.0.01
- CCS 20.4.1.4__1.10.1
- sbl null, the app is loaded into ram using the CCS debug option

(Image from TRM of System MPU/Firewalls Section)
