-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
High
-
MSP-SAFETY-LIB
-
MSPSWSL-940
-
MSPSWSL-940
-
-
-
Linker file should specifically place the mpu test that is affected aligned at 256 during placement.
A defect was found in the running of ARM STL mechanism m0p_stl_mpu_p00_n001 if the linker placed this mechanism at any location ending in 0x48. As a result, future command files explicitly align this mechanism to 256 bits to avoid this problem, but other, smaller alignments are possible.
Here is an example of a workaround in a ticlang linker command file:
.text : palign(256)
{ -l ARM_STL_Library.a*(.section_m0p_stl_mpu_p000_n001) -l ARM_STL_Library.a*(.section_m0p_stl*) *(.text) }> FLASH