-
Type:
Bug
-
Resolution: Fixed
-
Priority:
High
-
SITSW-9431
-
11.01.00
-
12.00.00
-
Some MCU+ SDK example projects use an incorrect ARMv7 MPU attribute of "NonCached" for the SoC peripheral register background region in their associated SysConfig configuration file. The appropriate setting should be "Device". Using a configuration of "NonCached" may result in unintended/incorrect operation of peripheral modules due to memory accesses that may get re-ordered.
This affects the following example and source folders in the MCU+ SDK base tree:
- examples/drivers/boot/
- examples/drivers/ipc/
- examples/lpm/
- examples/sdl/
- examples/security/
- test/
Different device families are affected with a different subset of the above.
All peripheral register background regions should be defined as "Device", consistenty.
# Number of examples (total) defining the peripheral register region a0797059@LT5CG1254PPB MINGW64 ~/git/mcupsdk-core-k3 (k3_main) $ git grep 'mpu_armv71.attributes' | wc -l 1541 # Number of examples using the correct MPU attribute a0797059@LT5CG1254PPB MINGW64 ~/git/mcupsdk-core-k3 (k3_main) $ git grep 'mpu_armv71.attributes' | grep 'Device' | wc -l 1424 # Number of examples using an incorrect MPU attribute (other than 'Device') a0797059@LT5CG1254PPB MINGW64 ~/git/mcupsdk-core-k3 (k3_main) $ git grep 'mpu_armv71.attributes' | grep -v 'Device' | wc -l 117