Home > User Support > CoverageMaster winAMS FAQ

CoverageMaster winAMS FAQ

MPU Specific Issues

114_02: I get a simulation error with a Cortex-A or Cortex-R series MPU in big endian. How do I fix it?

Question:

I am using a Cortex-A5/A7/A8/A9/A12/A15 or Cortex-R4/R4F/R5/R5F MPU in big endian. When I run a simulation I get one of the following error messages and the simulation halts. How do I fix it?

SEM-E:[SXG-AT7-000021] The system instruction was executed.(pc=xxxxxxxxH)
SEM-E:[SXG-AT7-000005] Invalid operation code found.(pc=xxxxxxxxH)

Answer:

Cortex-A and Cortex-R series MPUs can have a different endianness for the code area and the data area. When selecting big endian as the endian type in the test project settings, only the data area is treated as big endian. The code area remains little endian by default. If the code was compiled as big endian, the instructions are not recognized by the MPU simulator and the above errors may occur.

To change the code area to big endian, add the following command at the beginning of the Startup Command File.

@cbig

 

Related Technical Tips Search

Other technical tips in GAIO's web site can be searched for using the links below.

Search key word link: Cortex-A | Cortex-R | Endian | Simulation Error | Invalid Instruction
Technical Tips Google Search


Information Links