Arm Community
Arm Community
  • Site
  • User
  • Site
  • Search
  • User
  • Groups
    • Research Collaboration and Enablement
    • DesignStart
    • Education Hub
    • Innovation
    • Open Source Software and Platforms
  • Forums
    • AI and ML forum
    • Architectures and Processors forum
    • Arm Development Platforms forum
    • Arm Development Studio forum
    • Arm Virtual Hardware forum
    • Automotive forum
    • Compilers and Libraries forum
    • Graphics, Gaming, and VR forum
    • High Performance Computing (HPC) forum
    • Infrastructure Solutions forum
    • Internet of Things (IoT) forum
    • Keil forum
    • Morello Forum
    • Operating Systems forum
    • SoC Design and Simulation forum
    • 中文社区论区
  • Blogs
    • AI and ML blog
    • Announcements
    • Architectures and Processors blog
    • Automotive blog
    • Graphics, Gaming, and VR blog
    • High Performance Computing (HPC) blog
    • Infrastructure Solutions blog
    • Innovation blog
    • Internet of Things (IoT) blog
    • Operating Systems blog
    • Research Articles
    • SoC Design and Simulation blog
    • Smart Homes
    • Tools, Software and IDEs blog
    • Works on Arm blog
    • 中文社区博客
  • Support
    • Arm Support Services
    • Documentation
    • Downloads
    • Training
    • Arm Approved program
    • Arm Design Reviews
  • Community Help
  • More
  • Cancel
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

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 Arm® Keil® μVision®.  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 AN524).

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 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 also be download from 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

SSE-200-MPS3.sdf

  • Share
  • History
  • More
  • Cancel
Related
Recommended