EasyManua.ls Logo

ARM Cortex-M3 DesignStart - 2.2 Running the Self-Test Program

ARM Cortex-M3 DesignStart
59 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
2.2 Running the self-test program
The MPS2+ FPGA platform uses a self-test program to test its main components. This self-test program
is specific to the prebuilt image, which is based on the Cortex-M3 DesignStart Eval example system.
If you extend the example system, then you may need to modify the self-test program.
If you need to modify and recompile the self-test image, you are required to install legacy support in
Keil
®
MDK. This provides the low-level interface which is used by the self-test. Source code for the self-
test is located at m3designstart/selftest/Build_Keil/ in the deliverables.
To run a self-test program, follow these steps:
1. Connect an RS232 serial lead to the General UART connector (FPGA), on the MPS2+ platform.
2. Configure the UART according to the following settings:
Table 2-1 UART configuration
Configuration Value
Baud rate 38 400
Data bits 8
Stop bits 1
Parity None
Flow control XON/XOFF protocol
3. Select the self-test program that you want to run based on the following options available that are
displayed by the UART console window when the MPS2+ platform has booted up:
Versatile Express Cortex-M Prototyping System (V2M-MPS2) Test Suite
Version 1.0.0 Build date: Mar 8 2017
Copyright (C) ARM Ltd 2015. All rights reserved.
V2M-MPS2 revison C
Application Note AN511, FPGA build 1
CPU: Cortex-M3 r2p1
Summary of results
====================================
1 AACI (Audio) : Not Run
2 CLCD (Video) : Not Run
3 TSC (touchscreen) : Not Run
4 LEDs/Switches/Buttons : Not Run
5 SSP (eeprom) : Not Run
6 Ethernet : Not Run
7 Memory : Not Run
8 Timer : Not Run
9 RTC : Not Run
Select the test you wish to run. (X - Exit)
Choice:
Note
To run Test 1, AACI (Audio), you must connect a 3.5mm stereo jack lead from the audio output
connector to the audio input connector.
When the test runs, the console window displays the self-test status:
Versatile Express Cortex-M Prototyping System (V2M-MPS2) Test Suite
Version 1.0.0 Build date: Mar 8 2017
Copyright (C) ARM Ltd 2015. All rights reserved.
V2M-MPS2 revison C
2 Using the prebuilt FPGA image
2.2 Running the self-test program
ARM 100896_0000_00_en Copyright © 2017 ARM Limited or its affiliates. All rights reserved. 2-21
Non-Confidential

Related product manuals