Home > User Support > CoverageMaster winAMS FAQ

CoverageMaster winAMS FAQ

MPU Simulator

A01_02: The error "memory is not assigned on the address" is displayed during the simulation. How do I fix it?

Question:

In CoverageMaster I press the "Start Simulator" button to run a test, but a "memory is not assigned on the address" error is displayed in the simulator output window. How do I fix this?

Example 1:
Invalid address found [code = 18] (pc=********)
%SYSTEMG-E-SEM, stopped simulation (status code = 12h)
`MEM::********'

Example 2:
%SYSTEMG-E-SEM, memory is not assigned on the address
`MEM::******'

Answer:

Variables, constants, and program area attributes defined in the program are automatically assigned based on the memory map information in the debug information of the object code. Therefore, as long as these areas are accessed, the above memory assignment error will not occur. The main cause of this error is when accessing an area (stack area, I/O register, etc.) not defined in the program.

If this error occurs, enter simulator commands in the startup command file to correctly assign the memory attributes that match the H/W specifications. Or in the "Target Settings" -> check the "Assign all memory areas" checkbox to assign read/write/execute attributes to all memory areas.

For more details, refer to the following document.

 

Related Technical Tips Search

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

Search key word link: Memory not Assigned
Technical Tips Google Search


Information Links