The embedded tools company

Search FAQs

PDF document ( 44KB / 20-May-2019 )

Debugging via VPN

Ref: 0307
The debugger is accessed via Internet/VPN and the performance is very slow. What can be done to improve debug performance?

The main cause for bad debug performance via Internet or VPN are low data throughput and high latency. The ways to improve performance by the debugger are limited:
  • In PRACTICE scripts, use "SCREEN.OFF" at the beginning of the script and "SCREEN.ON" at the end. "SCREEN.OFF" will turn off screen updates. Please note that if your program stops (e.g. on error) without executing "SCREEN.OFF", some windows will not be updated.
  • "SYStem.POLLING SLOW" will set a lower frequency for target state checks (e.g. power, reset, jtag state). It will take longer for the debugger to recognize that the core stopped on a breakpoint.
  • "SETUP.URATE 1.s" will set the default update frequency of Data.List/Data.dump/Variable windows to 1 second (the slowest possible setting).
  • Prevent unneeded memory accesses using "MAP.UPDATEONCE <address_range>" for RAM and "MAP.CONST <address_range>" for ROM/FLASH. Address ranged with "MAP.UPDATEONCE" will read the specified address range only once after the core stopped at a breakpoint or manual break. "MAP.CONST" will read the specified address range only once per SYStem.Mode command (e.g. SYStem.Up).

Target Power Supply Switch

Ref: 0103
Is there a simple way to control target power supply via the ICE to prevent problems after the ICE has been powered off?

Follow the sequence below.
  • If you own an output probe COUT8, connect it to the STROBE output connector.
  • Type PULSE2. and press F1. You will get the pin out of the output probe COUT8. Pin 13 (OUT6) delivers +5 V after the emulator has finished its initialization and 0 V if the emulator is powered off. This can be used to drive a relay via a transistor to switch the target power on and off automatically if the Pulse Generator is not used for other purposes. The schematic of the switching unit can be found in the file TARGETC.CMM.
  • Additionally Pin 13 (OUT6) can be controlled by ICE commands.
     Target power supply off. "PULSE2.P +"
     Target power supply on.  "PULSE2.P -"
The following PRACTICE command file creates 3 buttons in the Toolbox for:
     Target power on
     Target power off
     Target power off and QUIT.
To show the buttons automatically after starting the TRACE32 software, call the script with the DO command from system-settings.cmm in your TRACE32 system directory (create system-settings.cmm if it does not exist).

Download targetc.cmm (1.67k)

Wrong Location after Break

Ref: 0030
Why is the location after break wrong?

Most emulators use some bytes of user stack for the break system. Therefore it is necessary to have valid stack, if single step or breakpoints are used.

Copyright © 2019 Lauterbach GmbH, Altlaufstr.40, 85635 Höhenkirchen-Siegertsbrunn, Germany   Impressum     Privacy Policy
The information presented is intended to give overview information only.
Changes and technical enhancements or modifications can be made without notice. Report Errors
Last generated/modified: 20-May-2019