Arm Community
Arm Community
  • Site
  • User
  • Site
  • Search
  • User
Open Source Software and Platforms
Open Source Software and Platforms
Wiki FPGA Prescale register address incorrect in MPS2(+) software header file
  • 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
      • MPS2(+) M-class prototyping system
      • Keil Board Support Packs for MPS2(+)
      • +Keil pack for SSE-200 IoT System for MPS2+
      • Running uCLinux on the Arm MPS2(+) platform
      • MPS2(+) Mbed OS automated testing
      • FPGA Prescale register address incorrect in MPS2(+) software header file
      • MPS2+ Firmware update for reboot.txt method
    • +MPS3 FPGA Prototyping System
  • +Open source software

FPGA Prescale register address incorrect in MPS2(+) software header file

The FPGA prescaler register address is incorrectly defined in the header file SMM_MPS2.h

This file is used in all Arm test software for MPS2, such as selftest, shieldtest, demo etc. The same header file is also used in MBED base code for MPS2.

The incorrect file defines the following register offsets:

RESERVED; // Offset: 0x01C
PRESCALE; // Offset: 0x020
PSCNTR;   // Offset: 0x024

In order to use the prescaler feature on MPS2, SMM_MPS2.h will need to be edited locally such that these offsets are correctly defined as:

PRESCALE; // Offset: 0x01C 
PSCNTR;   // Offset: 0x020
RESERVED; // Offset: 0x024
  • FPGA
  • Cortex-M Prototyping System (V2M-MPS2)
  • Share
  • History
  • More
  • Cancel
Related
Recommended