You can set the memory for testing the embedded environment by setting the virtual memory address.

1. Top menu [Window] > [Preferences] > [Unit Test] > [Virtual Address] > [Add…] Selection

2. After entering the name and range of the virtual address, click the [Add(A)] button

3. Right-click the project [Properties] > [Unit Test] > [Virtual Address] and select the registered virtual address range in the [Configuration Name] combo box

4. Using a macro to set a value to a virtual address in [Before call code] of the test structure editor

5. Edit test case values

Need more help with this?
Don’t hesitate to contact us here.

Thanks for your feedback.