Arm Community
Arm Community
  • Site
  • User
  • Site
  • Search
  • User
Open Source Software and Platforms
Open Source Software and Platforms
Wiki MPS2+ SSE-200 Secure/Non-secure Blinky Example
  • 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+
        • -SSE-200 for MPS2+ Software Examples
          • MPS2+ SSE-200 TF-M Examples User Guide
          • MPS2+ SSE-200 Devices Example
          • MPS2+ SSE-200 Devices Secure/Non-secure Example
          • MPS2+ SSE-200 Secure/Non-secure Blinky Example
      • 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

MPS2+ SSE-200 Secure/Non-secure Blinky Example

PLEASE NOTE: These examples do not build when Keil Arm MPS2 SSE-200 BSP v2.0.0 or later is installed.

This example swicthes ON and OFF the MPS2 SCC LEDs based on the MPS2 user button pressed.

The implementation is divided in secure and non-secure code.

The secure code performs the follow functionality:

  • Sets secure and non-secure system configuration.
  • Gets and provides button states.
  • Sleep function.
  • Switchs on/off user LEDs based on user button states.

The non-secure code performs the follow functionality:

  • Requests to the secure code:
    • Button states.
    • Sleep for X amount of ms.
  • Switchs on/off the SCC LEDs based on:
    • if User button 0 is pressed, the SCC LEDs blink state is enabled.
    • If User button 1 is pressed, the SCC LEDs blink state is disabled.

To compile the example correctly it is necessary to first compile the secure code, and then the non-secure code.
Compiling the secure code generates the veneers object file required by the non-secure code to compile correctly.

See the ReadMe file provided with the example for further information.

  • Share
  • History
  • More
  • Cancel
Related
Recommended