FAQ for TRACE32-ICE The embedded tools company
Target Power Supply Switch Wrong Location after Break



FAQ for TRACE32-ICE

TOP       Target Power Supply Switch
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.
  1. If you own an output probe COUT8, connect it to the STROBE output connector.
  2. 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.
  3. 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.
    
    Adding that file to T32.cmm loads the buttons automatically after startup.


TOP       Wrong Location after Break
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.



Navigation
Copyright © 2008 Lauterbach Datentechnik GmbH, Fichtenstr. 27, D-85649 Hofolding, Germany  Impressum
The information presented is intended to give overview information only.
Changes and technical enhancements or modifications can be made without notice.
Last generated/modified: Apr-22-2008