-
How do I access to UDE using the Python script interpreter?
Coding instructions can be executed on the Python script console both as direct input or as script file. Hint: Simple scripts can be developed and executed step by step in the Python console. After successful execution of the steps, the Python console history can be saved as a Python script file, edited and replayed as Python script file. Use the Context Menu - Save Command History as Script ...
-
Is it possible to automate UDE by Windows PowerShell?
Yes, because Windows PowerShell can deal with COM objects it can also control UDE. Here is a small example which starts UDE, programs the FLASH with an application, executes the program for 1 seconds and read some variables ...
-
Is it possible to access local variables via object model?
The expression object could be used for that task. The character '
@
' has to be put in front of the variable's name. The following VBA sample could be uses as reference ... -
Connect to target via XCP debugging not possible.
Requirements to use Software Debugging over XCP: ETAS ETK device - supported targets: Infineon AURIX TC2x/TC3x/TC4x, Power PC STM SPC5x and NXP MPC5x, STM Stellar SR6x, NXP S32Zx Vector VX device - supported targets: Infineon AURIX TC2x/TC3x/TC4x ...
-
UDE shows a warning about runtime components and/or crashes while opening context menus.
If UDE shows a warning after start ...
-
After downloading the target program yellow arrow or bar marking the instruction pointer does not appear, also not during single stepping or halt at breakpoint.
This is possibly caused by 'SentinelOne(R)' an Endpoint Security product used in your IT infrastructure. Putting
ude.exe
and/orUDEVisualPlatform.exe
on the exception list of 'SentinelOne(R)' Endpoint Security product solves the issue ... -
Why do I see '????????' in Memory/SFR View?
????????
is shown, when the respective memory location could not be read, even with established target connection ... -
After loading a new *.elf file the FLASH Memory Programming Tool pops up an I always have to click 'Program' button. Could that be automated?
To enable that option, open the Memtool dialog via menu Tools - Flash programming. Select the General... button and enable After download start Program All function automatically ...
-
When I download program into FLASH memory for FLASH programming memory I can see differences between my *.elf and *.hex File.
Normally the download patterns are the same for
*.elf
and*.hex
file. Under some circumstances it is necessary to patch the*.hex
file with additional patterns that do not exist inside the*.elf
file ... -
I have an own bootloader software which starts from FLASH memory and copies itself to RAM memory. How could I debug such applications?
There are several main approaches in general. Develop and debug FLASH and RAM code separately. For that you need two different build variants, one for located to flash and one located to RAM. The FLASH memory variant should be the final release variant running without UDE. If the development and test is done the FLASH memory variant should be used as the final image ...
-
I try to program the FLASH memory on my target, but it does not work.
UDE Memtool fails with the message "Unknown FLASH Type". UDE Memtool stores FLASH memory descriptions within the database file
<UDE_DIRECTORY>/extflash.dat
. The message above means, that the current FLASH memory is not described in the database ... -
After opening UDE, no workspace can be opened or created.
A message dialog shows the errors ...
-
After installing UDE I cannot create a new workspace, the error message is 'Failed to initialize workspace !'.
For diagnostic of the problem run the tool ...
-
How can I use InputBoxes in macros with JScript?
How can I use InputBoxes in macros with JScript ?
-
When starting UDE it shows an MKS Toolkit Licensing Error.
That happens when using COM applications in conjunction with the MKS toolkit. That toolkit replaces some system
*.dll
files and the COM mechanism is disturbed. It is a known problem at MKS ... -
I have problems using the UDE Object Model of the RawJtagSrv from VBA.
For using VBA you have to follow two major principles: First all parameters of functions should be passed by value only by using brackets around parameters ...
-
How do I install the Universal Debug Engine in the Eclipse environment?
After installing the Eclipse environment I am not able to debug the application with the Universal Debug Engine. First, check if the Universal Debug Engine (UDE) integration is installed ...
-
How can I manage multiple UDE instances via an single license key file?
The UDE license manager can access to a shared license key file via network folders. Please follow one of these steps: Adapting an existing installation of UDE ...
-
Which setting(s) influence the enabling/disabling option of Macro debugging?
The check box Debug macro with built-in Macro Debugger can not be check'd. What can I do? If the check box Debug macro with built-in Macro Debugger is disabled, the required library pdm.dll (version 9.0.30729.1) was not available ...
-
When testing my target I have a running application. After some time I want to download another application without resetting the target.
For that the Service Mode feature of UDE could be used. Service mode is primary made for debugging applications by connecting to a already running target. Using the mode allows also to download applications without resetting the target. To enable the mode open menu Debug - Debug Server ...
-
How can I save the System Information from my Computer?
To save the System Information under Windows® 10, Windows® 11 click on ...
-
My program doesn't work as expected after adding registers to the SFR window.
The debugger reads the register-value from target, if the SFR-View is updated. If you add a register, which clears some bits after read (e.g. interrupt status or similar) then the value of this register changes after SFR update and an unexpected program behavior may occur ...
-
How can I automatically change a variable and rerun my application after it was halted at a breakpoint?
Create a script file, that contains the appropriate procedure ...
-
A connection with 2 UDE instances to the same UAD2/UAD3 via Firewire or USB fails with connection to access device lost.
If you want to connect with more than one instance to only one UAD2/UAD3 via USB/Firewire the
MultiAccess
option must be enabled in the CommDev section of the Target Config File (*.cfg
) ... -
I want to debug my application which generates software resets and my target always halts at the reset handler location.
Probably the target interface configuration is set to stop at exception entries. To continue running when internal resets are generated go to menu Config - Target Interface ...
-
How it is possible to display single members of a complex data type in watch window?
You can add expressions in C syntax like ...
-
The "Program execution time" measurement doesn't work.
PowerPc processors have the capability to measure the time needed for program execution. This feature must be enabled ...
-
How can I change the description of configuration files in the "Select Target Configuration" dialog?
If you enable the Show descriptions option, you can see a text string instead of the filename. To change this description ...
-
Why program loading is slow if the file is located on a network drive?
During program loading the debugger creates a database file for symbol management. The default place is the same directory like the program file ...
-
A wrong source file is always opened in my UDE workspace.
Perhaps there is a wrong source alias. To solve that issue, open menu Config - Debug Server Configuration, Go to View Server-Program and click Aliases ...
-
How can I edit a target configuration without using an UDE workspace?
The UDE Administration tool (
UDEAdmin.exe
) from the UDE program group can be used to edit a target configuration directly ... -
How can I create a template workspace, that contains window placements and settings of UDE?
To do this create a new workspace (
*.wsx
) do your settings and placements or do a debugging session ... -
Why I sometimes can't see my variables in "Locals View"?
There are different reasons. The compiler optimized your program code (-o parameter), so these variables do not longer exist ...
-
What is the shortest way to disable / enable all breakpoints?
Open Project Workspace from Menu Window - Project Workspace ...
-
A breakpoint in PCP code seems not to work.
After loading of a TriCore/PCP application, setting of a breakpoint in PCP code and starting of the TriCore application the breakpoint seems not to work. The reason is that a PCP breakpoint is realized by code exchange ...
-
I want change the default target configuration settings.
To setup register settings, when UDE connects to the target, edit the values from the Config - Target Interface - Connect/Reset- Execute Initialisiation Commands page ...
-
While launching the Universal Debug Engine (UDE), the connection to the target system cannot be established.
General mistakes wrong interface cable used wrong Universal Access Device connector used ...
-
I use UDE with a TriCore target. In some cases the programs stops or/and one of the following messages erupt in the command window.
What is the background of this behavior? Usually the program code should handle the TriCore exceptions/traps by correct initialization of the BTV (Trap Vector Table Pointer) register and providing a trap vector table. If the program does not handle the traps the TriCore can crash unexpectedly by occurrence of a trap ...
-
Can I start and parameterize UDE via command line interface?
Synopsis ...
-
An error, problem or a malfunction was indicated. How can I report this bug?
The UDE software was built and tested under accurateness. Anyhow errors will be occur. Please give the pls team your valuable feedback as we continue to build the next version of Universal Debug Engine. For a simple feedback please use an email to support@pls-mc.com ...