Connect to ASTC VLAB
In this topic:
•Configuring the winIDEA Workspace
winIDEA can connect to a VLAB VDM and offer the same debugging and scripting experience as you are used to on real hardware.
•VLAB
•VLAB VDM
•VLAB licence
•winIDEA version 9.21.298 or newer
Open VLAB and find the platform you would like to use. Add it to Favorites. |
Select your platform among the Favorites and edit the arguments. Add: |
--use-ifx-models=False, --debugger-config=all:mcd |
Right-click on the platform and select Load. |
Open View | Status and run the VLAB Kernel. |
You can also achieve the same with a script. For the given example you can call:
vlab.load("tc3xx.tc39xb", args = ["--use-ifx-models=False", "--debugger-config=all:mcd"]) |
You are now ready to switch to winIDEA and start working with the virtual ECU.
Start by creating a new workspace. Select MCD interface simulator as Debugger. |
Specify the VDM you are using and select the application you wish to debug. |
•Make sure to preset the PC to the application’s entry point.
•For a more complex application, click on Switch to Full and perform a Full session configuration.
Once the workspace is created, open MCD | Options, enable the UseInternalMcdEnvSetup option, and provide the path to the MCD dll. |
Save your winIDEA Workspace via File | Workspace | Save Workspace. |
Begin a debug session by selecting Debug | Download. |
You can now start debugging your application in the same way as you would on real hardware.