X2Cscope is a run-time, live debugger tool for Microchip microcontrollers. X2Cscope is for generic use in any embedded application and perfectly fits for signal processing related applications. pyX2Cscope scripting interfaces enables the system for automated HIL tests.
Visit Microchip University training platform for our training video: http://microchip.com/mu
Overview
X2Cscope is a firmware based run-time debugging tool. It consists of two package:
- PC side package called pyX2Cscope
- C implementation for the target emebedded systems (MCUs) X2Cscope firmware lib
The main difference (to ICSP/SWD/JTAG) is the X2Cscope enabled firmware uses builtin peripherals like UART, CAN, TCP/IP and does not need external debugger tool. Additionally it supports run-time data transfers. In other words, it is possible to read and write variables without stopping the target MCU execution. This is very handy at motor control and power control applications. (Of course it can be used at any kind of applications.)
Quick start
You will need:
- pyX2Cscope python package How to use the python package
- HW with Microchip MCU Supported MCUs
- Firmware with X2Cscope library Guide to integrate
- USB-UART converter (UART interface is recommended for learning phase)
The recommended way to start is to use one of the prepared demo.
- Download one of our prepared demos.
- Build the demo project with MPLAB X.
- Program the target hardware.
- Connect USB-UART converter to the HW and the PC.
- Open pyX2Cscope How to use the python package
pip install pyX2Cscope
python -m pyx2cscope
- Configure and select COM port. Baud rate is 115200 at most of the demos. (check device manager if needed for COM number)
- Connect with pyX2Cscope to the hardware. (Click connect button)
- Use scope and watch views.
Slow start
The X2Cscope can be used with any 8bit*, 16bit and 32bit Microchip MCUs. To integarate X2Cscope to a custom application, follow the detailed description at X2Cscope custom firmware integration chapter.