How to connect to Corellium AVH
In this topic:
•Configure the winIDEA Workspace
Corellium Arm Virtual Hardware (AVH) is a cloud-based virtualization platform that provides virtual platform of Arm hardware, allowing developers to run, test, and debug embedded software without needing physical devices.
winIDEA can connect to a Corellium AVH Virtual ECU (vECU), and offer the same debugging and scripting experience as you are used to on real hardware. This guide walks you through the setup and configuration steps to get started.
•Corellium AVH account
•winIDEA version 9.21.327 or newer
Follow these steps via Corellium AVH.
Create device. |
a.Select Default Project.
b.Add the device.
Configure your device by uploading the ELF file in the Upload your own firmware section. |
Give it a meaningful name and confirm details by clicking Create device. |
(optional) Set advanced boot options. |
For example, replacing the UTEST and FLASH memory partitions.
Open the Connect page and download the OVPN file. |
Open the OpenVPN program and import the OVPN file you just downloaded. |
Connect to the VPN. |
Debug Accelerator will significantly improve the responsiveness of your debugging experience.
On the Connect page under Advanced Options, download Debug Accelerator. |
Run the installer and start the application. |
Enter the Remote IP as specified in the gdb connection snippet shown on the Connect page. |
Click Save and Activate. |
You are now ready to switch to winIDEA and start working with the virtual ECU.
Create a new Workspace via File | New | New Workspace and select GDB Client as Debugger. |
Select AArch32 as Device and specify the Symbol file of the application you wish to debug. |
The workspace is now created.
Open GDB | Options and set up: |
a.Debug Location - Local.
b.Enable GDB connects to gdbserver.
c.Click Configure.
Configure the GDB parameters: |
a.IP address
b.Port specified in Debug Accelerator.
Establish a GDB connection to Corellium AVH via Debug | Attach. |
You can now start debugging your application in the same way as you would on real hardware.
•winIDEA SDK - User's Guide
•Virtual ECUs - Landing page