Home > User Support > CoverageMaster winAMS FAQ

CoverageMaster winAMS FAQ

MPU Specific Issues

005_02: With the Renesas Electronics RL78 MPU, the input data that I entered in the test CSV file becomes 0 during simulation. How do I fix it?

Question:

With the Renesas Electronics RL78 MPU, the input data that I entered in the test CSV file becomes 0 during simulation. How do I fix it?

Answer:

The issue is because the mirror area feature of RL78's memory has not been configured properly in the MPU simulator.

By default, the mirror area is not defined when selecting "RL78" as the target MPU in the CoverageMaster project. This is due to the large number of models in the RL78 series, which can have different addresses for the mirror area. In order to specify the mirror area for your RL78 model, use the "direct command" detailed below.

For example, if you the mirror area for your devise is from 0xf2000 to 0xffcff, add the following command at the end of the Startup Command File.

direct fmem_mirror set 0xf2000 0xffcff

Note: The mirror area can only be set in the 0xf0000 to 0xfffff range.

Refer to the hardware manual of your RL78 model to locate the correct address range of the mirror area.

Reference
Information regarding the RL78 series is available on the Renesas Electronics website.

https://www.renesas.com/en-eu/products/microcontrollers-microprocessors/rl78.html

Go to your model's page, then in the "Documentation" tab, find the "User's Manual: Hardware" and locate the chapter regarding the "Mirror Area".


Related Technical Tips Search

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

Search key word link: RL78 | Mirror Area
Related Technical Tips Search





Information Links