An Arm Keil ULINKplus debug adapter offers serial-wire debug capabilities, measures the CPU core clock directly, and adds power measurement. Together with Event Statistics, this can be used to create power profiles for code sections.
For details on how to connect the ULINKplus to your board, refer to the documentation .
You can configure the ULINKplus adapter with a set of debug commands that you can capture in a debug script. These scripts are executed when debug mode is entered. A
debug script template
is available in your tool installation: C:\Keil_v5\ARM\ULINK\Templates\Debug_UlinkPlus.ini
as a reference.
*.uvprojx
file is located).Debug_UlinkPlus.ini
window.ULINKplus is now configured and ready to use.
The Current and Voltage waveforms are shown in the Consumption section.
The various statistics are displayed and updated in real-time. Timings, voltage, current and charges consumed are recorded according to Groups and Slots. These are created by the EventStartX()
and EventStopX()
function calls in the application code.
The CoreSight debug components consume some amount of power. This will be reflected in the System Analyzer window. To be able to measure the real-life power without a debug connection, a specific debug mode is available. In this more, you will not be able to relate the waveforms with your code. The effects will be most pronounced during processor Sleep and WAIT states when the current drops to very low values.
Any features needing CoreSight will not be available.