Debug over XCP
iSYSTEM winIDEA is an XCP Master running on the host computer. Instead of sending low-level debug commands directly to the target, iSYSTEM winIDEA encapsulates those in the form of XCP commands which are send to the XCP Slave on the Plug-on-Device (POD) for further processing.
The debugger software supports almost all winIDEA features provided in a similar winIDEA/BlueBox configuration such as debug, flash, on-chip trace etc.
The new standard (released Nov 2017) defines the concurrent use of both measurement/calibration software and debugger software through a common target hardware interface. The latter is provided as a POD by the measurement/calibration (MC) tool vendor (or from any provider that implements an XCP Slave according to the standard).
The POD connects via a debug interface (e.g., DAP, JTAG) to the target ECU. The communication between host computer and POD is performed via XCP over Ethernet. An XCP Slave running on the POD is scheduling the concurrent use of both worlds, measurement/calibration and debugging.
Communication option is not used when XCP is used for debugging. |
![]() 1. Open Hardware menu / Hardware / Hardware Type. 2. Select XCP option from the drop-down menu. |
![]() 3. Click on the Configure button. 4. In the Edit options dialog configure the following settings: Transport - TCP/IP only. KeyQueryDLL - Response key for the protection handling. - Not implemented. UseBulkAccessIfAvailable - Not implemented. Connect Mode - Vendor specific.
TCP/IP Port - The VX POD TCP/IP port which match to VXconfig port setting. Vendor specific setting:
TCP/IP Server - The VX POD TCP/IP address. Must match to VXConfig address setting.
|
VX1000 shares internal resources between ports 5555 and 5556 (VXconfig port). This means there can be only one connection to (5555 xor 5556).
It's recommend to:
1. Use VXconfig when no XCP Master is connected (Canape or winIDEA)
2. Connect Canape or any other DAQ tool on port 5555
3. Connect winIDEA on port 5554 to allow operation in parallel.
In VXconfig you can configure two XCP slave ports:
XCP commands can be logged in winIDEA
![]() 1. Open Help / Support / Log. 2. Check option 19 (XCP). 3. Press on the Clear button. 4. Press on the Open button. |
This is how the debug entry looks:
I 013 XCPImpl: XCP: ..................
I 013 XCPImpl: XCP: Attach to debugger
I 013 XCPImpl: XCP: CMD CONNECT, Connect Mode : 2
...
I 013 XCPImpl: XCP: - FlashProgramming ind: ff , mode: 0
I 013 XCPImpl: XCP: - TRST ind: 6 , mode: 2
I 013 XCPImpl: XCP: Command mode: ASAM
I 013 XCPImpl: XCP: Connected
I 013 XCPImpl: XCP: ..................
I 003 C_XXX[0:CPU0]: TargetReset
I 003 C_XXX[0:CPU0]: SetDebugStatus: TRESET
I 01C C_MCU[0:CPU0]: Start of Emulation
I 003 C_XXX[0:CPU0]: SetDebugStatus: STOP