Embedded Target for Motorola MPC555    

Downloading the Application to RAM
via SingleStep/BDM

In this section, we will use the Wind River Systems SingleStep debugger to download and start the generated Target_ram.out file to RAM on the target system. Target_ram.out contains both code and symbols for use with the debugger.

Do the following before you begin:

To download the generated Target_ram.out file to RAM:

  1. Start SingleStep using the SingleStep On Chip (MPC5xx) for RAM shortcut you created previously (see Configure Shortcuts to SingleStep). The Debug dialog opens. Clear the Debug without a file option. Click on the File tab. Then, use the Browse button to locate the Target_ram.out file.

  2. Click on the Processor tab. Confirm that the MPC555 is selected in the Processor list, as shown.

  1. Click on the Options tab. Make sure that the Reset Target and Load Application Image options are selected, as shown.

  2. Click on the Connection tab. Choose parallel port or network settings appropriate to the physical connection you will be using between your PC and PhyCORE-MPC555 board. In the picture below, connection options are configured for the parallel port LPT1, with a Delay setting of 6.

  1. Click on the Target Configuration tab and select General from the Category menu. Then select Internal Memory Mapping Register from the Registers menu, as shown.

  1. Click on the Show button to open the Internal Memory Mapping Register dialog. Clear the FLEN-flash enable option, as shown below.

  1. Click OK to return to the Target Configuration pane, and select Base/Option Register 1 from the Registers menu, as shown.

  1. Click on the Show button to open the Base/Option Register 1 dialog. Set the BA-Base address field to 0x00000000, as shown below.

  1. Click OK to return to the Target Configuration pane.
  2. In the Target Configuration pane, click OK. SingleStep attempts to connect to the processor, and displays a Debug Status window. This picture shows the Debug Status window after a successful connection and download.

  1. If you see error messages, consult the SingleStep documentation to troubleshoot the connection, or contact Wind River Systems for technical support.

  1. Click Close to dismiss the Debug Status window.
  2. At this point, the application code is in RAM, and SingleStep has established a debugging session. To execute the program, click on the green Go button in the SingleStep Debug panel. Observe that the red and green LEDs on the target board are blinking, indicating that the program is running.
  3. You can now stop, restart, and otherwise exercise the target program via SingleStep.


  Generating Code Downloading the Application to RAM via CAN