Tool/software:
Hello There,
For the test of safety features at AWR2944, I'm following the "Safety Software Sequences" V0.8.0 to perform fault injection. In the chapter "2.2 MPU Errors" of AWR2944 MSS, following questions need to be answered.
1. How the start_addressX and end_addressX be selected?
Original text:
2.2.3 Programming sequence
2) Configure the start and end address for each programmable region.
MPU_MSS_L2_BANKA.PROGRAMMABLE_1_START_ADDRESS.START_ADDR = start_address1;
MPU_MSS_L2_BANKA.PROGRAMMABLE_1_END_ADDRESS.END_ADDR = end_address1;
MPU_MSS_L2_BANKA.PROGRAMMABLE_2_START_ADDRESS.START_ADDR = start_address2;
MPU_MSS_L2_BANKA.PROGRAMMABLE_2_END_ADDRESS.END_ADDR = end_address2;
…and so on.
2.How the "masters_allowed_for_region1" be defined?
Original text:
3)Configure the MPPA register for each programmable region to grant access to corresponding masters.
The AID field in MPPA register has one hot encoding for each master. If the corresponding bit is set to 1, the MPU grants access to the master, otherwise it blocks access.
MPU_MSS_L2_BANKA.PROGRAMMABLE_1_MPPA.AID15_0 = masters_allowed_for_region1;
MPU_MSS_L2_BANKA.PROGRAMMABLE_2_MPPA.AID15_0 = masters_allowed_for_region2;
It's kindly to provide one example for the test of MPU errors because no example of MPU is found in the "mcu_plus_sdk_awr294x_08_04_00_01".
Thanks.
Wang Kaiyu