Changing P&E Connections Settings

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

Figure 1. P&E QORIVVA Launch Configuration Dialog Box
P&E PowerPC Multilink\Multilink Universal\Cyclone \OSJTAG

The following table describes the options of the view.

Table 1. Connection Parameter Options for P&E Multilink/Cyclone /OSJTAG
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
  • Cyclone - Serial Port
  • Cyclone - USB Port
  • Cyclone - Ethernet Port
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.
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.
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 (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 (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.
Power down delay (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 (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 : (50000000/(2*N+5)) Hz
  • USB-ML-PPCNEXUS: (1000000/(N+1)) Hz
  • USB Multilink Universal: (1000000/(N+1)) Hz
  • USB ML Universal FX : (25000000/(N+1)) Hz OSJTAG : 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.

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 Hardware or Simulator Connection panel 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 PowerPC Multilink\Multilink Universal\Cyclone \OSJTAG. 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 Target Communication Speed 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.
    • Select a Debug Shift Frequency.
      Note: If you select a fast speed, there may be scenarios where you may have difficulty communicating with your target device. You may want to experimentally select a 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.