PLS: UDE

Legacy/internal identifier: UDE

Vendor information

Vendor

Web page

Product name

Version

PLS Development Tools

http://www.pls-mc.com

Universal Debug Engine

4.2 to 2023

Categories

MDL 🛈

APL 🛈

BAN 🛈

BMA 🛈

SVC 🛈

DGN 🛈

FIU 🛈

EES 🛈

FCT 🛈

DBG 🛈

IMG 🛈

AUDIO 🛈

ENVSIM 🛈

ENVCOM 🛈

✓

Platform

Operating system

Support

Windows

✓

Linux

Info

This tool can be configured and used multiple times in parallel.

Ports

Specifics

Info

If only an ELF file is selected for loading, its symbols will be loaded in UDE. The program on the target is not changed.

Reading/Writing enum variables

In order to read or write enum variables symbolically, the test step has to be configured to use the representation “Interpreted Text”.

By default, if the Job “ReadVariable” is used, the symbolical value is returned as text. In order to get the numerical value, the expression has to be modified in a way that UDE returns a number. This can be achieved in the following way (reading the enum variable “enumVariable”).

  • “0 + enumVariable”

  • Using a type cast, e.g., “(char) enumVariable” However, the type might have to be different (e.g., “int” instead of “char”), depending on how many bytes the enum variable uses internally. Thus, the first expression would be more secure.

Multicore debugging

When debugging multicore targets there must be one debugging port in the test bench configuration for every core of the target that is used in the test case. To access variables and registers in a symbolic way the test configuration must contain one control unit for every core. The matching port and ELF/HEX files can be selected in the Debugging section of each control unit.

Info

Some port jobs contain the deprecated core parameter which shouldn’t be used anymore. Please make sure to select the job of the corresponding core.

Multicore/Multiprogram loader

Advanced use cases may require the usage of the Multicore/Multiprogram loader to flash the target. The tool jobs MclAddFile and MclRemoveAllFiles can be used to parametrize the dialog and MclDoDownload starts the flashing process. The flashing options in the TBC can be set to their default values when using the Multicore/Multiprogram loader.

../../../_images/UDE_mcl.png