Arm Community
Arm Community
  • Site
  • User
  • Site
  • Search
  • User
Open Source Software and Platforms
Open Source Software and Platforms
Wiki How to view trace for Application note AN524 on MPS3 board
  • Help
  • Jump...
  • Cancel
  • About this wiki
  • Supported platforms
  • Obtaining support
  • +Arm Reference Platforms deliverables
  • +A-class platforms
  • +M-class platforms
  • +R-class platforms
  • -FPGA prototyping boards
    • +MPS2(+) FPGA prototyping board
    • -MPS3 FPGA Prototyping System
      • MPS3 FPGA prototyping board
      • Accessing MPS3 serial ports in Windows 10
      • How to boot AN524 v1.0 on MPS3 Rev C board
      • Accessing MPS3 getting started guide
      • Accessing MPS3 pinout documents
      • Difference between MPS3 board revisions
      • How to view trace for Application note AN524 on MPS3 board
  • +Open source software

You are currently reviewing an older revision of this page.

  • History View current version

How to view trace for Application note AN524 on MPS3 board

The Keil Board support pack for SSE-200 on MPS3 ARM::V2M-MPS3_SSE_200_BSP version 1.0.0 does not support trace output in Keil uVision.  However a patch file has now been created that allows trace to be viewed with this BSP.  Below are instructions on how to install the board support pack and patch and view trace for SSE-200 on MPS3 (Application note 524).

Requirements:

  • Keil uVision 5.27 or later installed.
  • MPS3 board with the SD card containing the board files of Application note AN524.
  • A JTAG debug probe such as ULINK pro connected to the MPS3 board.

Instructions:

In the Arm® Keil® μVision®, under Projects>Manage>Pack Installer you can find the “ARM::V2M-MPS3_SSE_200_BSP”. Install the pack, as it contains software components like peripheral drivers and example software for the target platform.

This pack can be also download form Keil website: http://www.keil.com/dd2/pack/

 

If the trace does not work then follow these instructions to patch the pack installation of ARM.V2M-MPS3_SSE_200_BSP.1.0.0.pack:

  • Goto the Keil <pack_installations> directory, which contains the Keil packs.

For windows machines it is usually C:\Keil_v5\ARM\PACK\

  • Create a sub-folder “Debug” inside the <pack_installations>\ARM\V2M-MPS3_SSE_200_BSP\1.0.0 directory.
  • Download the “SSE-200-MPS3.sdf” file provided below into the "Debug" directory.
  • Edit the .pdsc file present in the folder : <pack_installations>\ARM\V2M-MPS3_SSE_200_BSP\1.0.0\ARM.V2M-MPS3_SSE_200_BSP.pdsc
  • Remove read-only flag from .pdsc file (via Windows file properties)
  • Search for the “debugconfig” tag and add the attribute “sdf” with path to SDF file as shown below:

<debugconfig default="jtag" clock="1000000" swj="true" sdf="Debug/SSE-200-MPS3.sdf"/>

 

  • Restart Keil uVision.
  • Configure trace setup by going to Project>Options for Target. Under Debug tab click on Settings.

  • This launches the Target driver setup window. Click on Trace Enable and ETM Trace Enable. Then select Trace Port as “Sync Trace Port with 4-bit Data” and then Click the Ok buttons to close both the windows.

 

  • Trace should now be visible when the debug session is started.

Patch File Download

8547.Trace for AN524 with Keil.zip