Changing P&E Connection Settings

All connection settings for P&E hardware interfaces are configured in the Launch Configurations dialog box.

Figure 1. P&E CFV234 Launch Configuration Dialog Box
GDI - P&E CFV234 Multilink/Cyclone /OSBDM Connection

The following table describes the options for this view.

Table 1. Connection Parameter Options for P&E Multilink/Cyclone /Tracelink/OSBDM
Option Description
Interface Use this option to select the interface type. Select a supported interface from the list box. The options are:
  • USB ColdFire Multilink - USB Port
  • USB Multilink Universal [FX]- USB Port
NOTE: The USB Multilink Universal and USB Multilink Universal FX can conveniently support all Freescale architectures found in the current CodeWarrior 10 version
  • Cyclone - Serial Port
  • Cyclone - USB Port
  • Cyclone - Ethernet Port
  • TraceLink - USB Port
  • TraceLink - Ethernet Port
  • OSBDM
NOTE: Click on the "Compatible Hardware" link to help you determine which P&E hardware is most suitable for your project.
Port This option selects the port over which debug communications is conducted. Select an available port from the list box. NOTE: If you are having issues trying to get a port to display, click on the [FAQ #29] link for help
Specify IP (Cyclone and Tracelink Ethernet only) Use this option to specify the IP address of a Cyclone or Tracelink outside of the local network. Click on the checkbox to enable the textbox. This will also disable the port drop down box. Currently supports IPv4 only.
Specify Network Card IP (Cyclone and Tracelink Ethernet only) Use this option to specify the local network card IP address if there are multiple cards on your computer. Click on the checkbox to enable the textbox. Currently supports IPv4 only.
Refresh Click this button to have the workstation scan for a valid interface and port. Valid interfaces and ports appear in the Interface and Port list boxes.
Provide power to target (Tracelink and USB Multilink Universal FX only) Check this option to have the Cyclone or USB Multilink Universal FX (circuitry) supply power to the hardware target. Uncheck this option to not provide power.
Note: For USB Multilink Universal FX, use the jumper settings located at JP10 to provide either 3.3V or 5V.
Power off target upon software exit (Tracelink and USB Multilink Universal FX only) Check this option to turn off the power when the program terminates. Uncheck this option to leave the hardware target powered continuously.
Regulator Output Voltage (Tracelink only) This option adjusts the output voltage that powers the hardware target. Select a voltage value from this option's list box.
CAUTION:
An improper voltage setting can damage the board.
Power down delay (Tracelink and USB Multilink Universal FX only) This option specifies amount of time for which the target will be turned off during a RESET power cycling sequence. Enter the delay interval (in milliseconds) in this option's text box.
Power up delay (Tracelink and USB Multilink Universal FX only) This option specifies amount of time for which the target will remain powered prior to a RESET power cycling sequence. Enter the delay interval (in milliseconds) in this option's text box.
Debug Shift Freq. This option lets you to set the debug shift clock speed of P&E's interfaces. This integer value may be used to determine the speed of communications according to the following equations: Cyclone / TraceLink : (50000000/(2*N+5)) Hz USB-ML-CF : ( 1000000/(N+1)) Hz USB Multilink Universal: (1000000/(N+1)) Hz USB ML Universal FX : (25000000/(N+1)) Hz OSBDM : Fixed Frequency The value n should be between 0 and 31. This shift clock takes effect after the commands in the top of the programming algorithm are executed so that these commands can increase the target frequency and allow a faster shift clock. This clock can't generally exceed a div 4 of the processor bus frequency.
Delay After Reset Specifies a delay after the programmer resets the target that we check to see if the part has properly gone into background debug mode. This is useful if the target has a reset driver which hold the MCU in reset after the programmer releases the reset line. The n value is a delay in milliseconds.
Trace Max Buffer Size Only applicable for the P&E TraceLink interface. Configures the trace buffer capacity of the TraceLink. Smaller sizes result in faster trace upload times, whereas larger sizes allow the user to view more trace information.

To change P&E Connections settings, perform these steps:

  1. In the CodeWarrior Projects view, select the project for which you want to change the P&E Connections settings.
    Note: It is assumed that you have created a project and built it.
  2. Select Run > Debug Configurations from the main menu bar of the IDE.

    The Debug Configurations dialog box appears.

  3. Expand the CodeWarrior tree control in the left pane and select the launch configuration you want to debug.
  4. Click the Main tab.

    The Main page appears in the area beneath the tabs.

  5. Select a system within Connection of which you would like to use to debug. You could create a new system by clicking the New button. For more details about creating a new remote system, refer to the topic Target Management via Remote System Explorer in the CodeWarrior Common Features Guide. Once a remote system is selected, click the Edit button. The Launch Configuration Panel will appear.
  6. Ensure that the Target is the correct microcontroller you want to debug. Use the drop-down box or the Edit button to change this option.
  7. In the Connection Type drop-down box, select P&E ColdFire V234 Multilink/Multilink Universal/Cyclone /OSBDM. The P&E connections settings will appear below.
  8. Click Refresh to scan valid interface and port.

    Valid interfaces and ports appear in the Interface and Port drop-down lists in the Connection Port and Interface Type group.

  9. Select a supported interface from the Interface drop-down list.
  10. Select a supported port from the Port drop-down list.
    Note: The port displayed may vary depending on the interface. For example, if you select interface as Cyclone - Serial Port, the available port option is COM1 : Serial Port 1.
  11. Specify settings in the Hardware Interface Power Control (Voltage --> Power -Out Jack) group.
    Note: This group will be enabled for the Tracelink and USB Multilink Universal FX interfaces only. For USB Multilink Universal FX interface, use the jumper settings located at JP10 to provide either 3.3V or 5V.
    • Check the Provide power to target checkbox to have the hardware interface (circuitry) provide power to the target else clear the checkbox if you do not want to provide power to the target.
    • Check the Power off target upon software exit checkbox to turn off the power when the program terminate else clear the checkbox to leave the hardware target powered continuously.
    • Select a voltage value from the Regulator Output Voltage drop-down list. This adjusts the output voltage that powers the hardware target.
      CAUTION:
      An improper voltage setting can damage the board.
    • Enter the delay interval (in milliseconds) in the Power Down Delay text box. This option specifies the time interval to wait before shutting off the power to the hardware target. The hardware interface powers down the device once the debug session is over, or while executing a power cycling sequence after beginning a new debug session.
    • Enter the delay interval (in milliseconds) in the Power Up Delay text box. This option specifies the time interval to wait before turning on the power to the hardware target. If the power to target feature is enabled, the interface will power up the device while executing a power cycling sequence at the beginning of every debug session.
    • Select a BDM speed using the drop-down box in the BDM Debug Shift Frequency.
      Note: If you select a fast BDM speed, there may be scenarios where you may have difficulty communicating with your target device. You may want to experimentally select a BDM speed that is fast and yet have a good communication with your target.
    • Click on the Delay after Reset checkbox and enter the desired delay (in milliseconds) in the text box.

      This option specifies the time interval to wait between resetting and communicating the target device.

    • Click the OK to save changes to the P&E Connections settings. The Launch Configuration Panel dialog box will close.
    • Click on the Close button to close the Debug Configuration dialog box.