Changing P&E Connection Settings

All connection settings for P&E hardware interfaces are configured using the Connection group in the Main tab of the Debugger Configuration dialog box.

Figure 1. P&E RS08 Launch Configuration Dialog Box
P&E RS08 BDM Launch Configuration Dialog Box

The following table describes the options for this view.

Table 1. Connection Parameter Options for P&E Multilink/Cyclone /OSBDM
Option Description
Interface Use this option to select the interface type. Select a supported interface from the list box. The options are:
  • USB Multilink, USB Multilink FX, Embedded OSBDM/OSJTAG - USB Port
NOTE: The USB Multilink Universal can conveniently support all Freescale architectures found in the current CodeWarrior 10 version
  • Cyclone - Serial Port
  • Cyclone - USB Port
  • Cyclone - Ethernet Port
  • OSBDM
NOTE: Click on the "Compatible Hardware" link to help you determine which P&E hardware is most suitable for your project.
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.
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.
Socket Programming Options The Socket Programming Options button brings up a dialog that provides you with a graphical representation of the signals that must be connected from the BDM header to the pins of the microprocessor, in order to use Freescale socket adapters.
Advanced Programming Options The Advanced Programming Options button brings up a dialog that provides you with options to configure the flash programming procedure.
Specify IP (Cyclone Ethernet only) Use this option to specify the IP address of a Cyclone outside of the local network. Click on the checkbox to enable the textbox. This will also disable the port dropdown box. Currently supports IPv4 only.
Specify Network Card IP (Cyclone 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.
Provide power to target (Cyclone 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 (Cyclone 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 (Cyclone and USB Multilink Universal FX only) This option adjusts the output voltage that powers the hardware target. Select a voltage value from this option's list box.
Power down delay (Cyclone 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 (Cyclone 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.
WARNING: An improper voltage setting can damage the board.

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 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 RS08 Multilink/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 Cyclone, 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.
      Note: 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 hardware interface will power up the device while executing a power cycling sequence at the beginning of every debug session.
    • Click OK to save changes to the P&E Connections settings. The Launch Configuration Panel dialog box will close.
    • Click Close button to close the Debug Configuration dialog box.