this repository aim to make the official ST DISCO F746NG demo from STM32Cube_FW_F7_V1.2.0 working on mbed.
Dependencies: BSP_DISCO_F746NG_patch mbed-rtos mbed
readme.txt@0:c00e6c923941, 2015-11-02 (annotated)
- Committer:
- NirT
- Date:
- Mon Nov 02 23:38:08 2015 +0000
- Revision:
- 0:c00e6c923941
Error: Incomplete type is not allowed in "patch/LwIP/src/include/lwip/dhcp.h", Line: 83, Col: 4; ; and more like this.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
NirT | 0:c00e6c923941 | 1 | /** |
NirT | 0:c00e6c923941 | 2 | @page Demo STM32746G-DISCO Demonstration Firmware |
NirT | 0:c00e6c923941 | 3 | |
NirT | 0:c00e6c923941 | 4 | @verbatim |
NirT | 0:c00e6c923941 | 5 | ******************** (C) COPYRIGHT 2015 STMicroelectronics ******************* |
NirT | 0:c00e6c923941 | 6 | * @file Demonstrations/readme.txt |
NirT | 0:c00e6c923941 | 7 | * @author MCD Application Team |
NirT | 0:c00e6c923941 | 8 | * @version V1.1.0 |
NirT | 0:c00e6c923941 | 9 | * @date 21-September-2015 |
NirT | 0:c00e6c923941 | 10 | * @brief Description of STM32746G-DISCO Demonstration |
NirT | 0:c00e6c923941 | 11 | ****************************************************************************** |
NirT | 0:c00e6c923941 | 12 | * |
NirT | 0:c00e6c923941 | 13 | * Licensed under MCD-ST Liberty SW License Agreement V2, (the "License"); |
NirT | 0:c00e6c923941 | 14 | * You may not use this file except in compliance with the License. |
NirT | 0:c00e6c923941 | 15 | * You may obtain a copy of the License at: |
NirT | 0:c00e6c923941 | 16 | * |
NirT | 0:c00e6c923941 | 17 | * http://www.st.com/software_license_agreement_liberty_v2 |
NirT | 0:c00e6c923941 | 18 | * |
NirT | 0:c00e6c923941 | 19 | * Unless required by applicable law or agreed to in writing, software |
NirT | 0:c00e6c923941 | 20 | * distributed under the License is distributed on an "AS IS" BASIS, |
NirT | 0:c00e6c923941 | 21 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
NirT | 0:c00e6c923941 | 22 | * See the License for the specific language governing permissions and |
NirT | 0:c00e6c923941 | 23 | * limitations under the License. |
NirT | 0:c00e6c923941 | 24 | * |
NirT | 0:c00e6c923941 | 25 | ****************************************************************************** |
NirT | 0:c00e6c923941 | 26 | @endverbatim |
NirT | 0:c00e6c923941 | 27 | |
NirT | 0:c00e6c923941 | 28 | @par Demo Description |
NirT | 0:c00e6c923941 | 29 | |
NirT | 0:c00e6c923941 | 30 | The STM32Cube Demonstration platform comes on top of the STM32CubeTM as a firmware |
NirT | 0:c00e6c923941 | 31 | package that offers a full set of software components based on a modules architecture |
NirT | 0:c00e6c923941 | 32 | allowing re-using them separately in standalone applications. All these modules are |
NirT | 0:c00e6c923941 | 33 | managed by the STM32Cube Demonstration kernel allowing to dynamically adding new |
NirT | 0:c00e6c923941 | 34 | modules and access to common resources (storage, graphical components and widgets, |
NirT | 0:c00e6c923941 | 35 | memory management, Real-Time operating system) |
NirT | 0:c00e6c923941 | 36 | |
NirT | 0:c00e6c923941 | 37 | The STM32Cube Demonstration platform is built around the powerful graphical library |
NirT | 0:c00e6c923941 | 38 | STemWin and the FreeRTOS real time operating system and uses almost the whole STM32 |
NirT | 0:c00e6c923941 | 39 | capability to offer a large scope of usage based on the STM32Cube HAL BSP and several |
NirT | 0:c00e6c923941 | 40 | middleware components. |
NirT | 0:c00e6c923941 | 41 | |
NirT | 0:c00e6c923941 | 42 | @par Demo Description |
NirT | 0:c00e6c923941 | 43 | |
NirT | 0:c00e6c923941 | 44 | The STM32 F7 demonstration is running on STM32746G-DISCOVERY boards RevB. |
NirT | 0:c00e6c923941 | 45 | |
NirT | 0:c00e6c923941 | 46 | |
NirT | 0:c00e6c923941 | 47 | Below you find an overview of the different offered module in the demonstration: |
NirT | 0:c00e6c923941 | 48 | |
NirT | 0:c00e6c923941 | 49 | + Video player |
NirT | 0:c00e6c923941 | 50 | -------------- |
NirT | 0:c00e6c923941 | 51 | The video player module provides a video solution based on the STM32F7xx and STemWin |
NirT | 0:c00e6c923941 | 52 | movie API. It supports playing movie in emf format. |
NirT | 0:c00e6c923941 | 53 | |
NirT | 0:c00e6c923941 | 54 | + Audio player |
NirT | 0:c00e6c923941 | 55 | -------------- |
NirT | 0:c00e6c923941 | 56 | The audio player module provides a complete audio solution based on the STM32F7xx and |
NirT | 0:c00e6c923941 | 57 | delivers a high-quality music experience. It supports playing music in WAV format but may |
NirT | 0:c00e6c923941 | 58 | be extended to support other compressed formats such as MP3 and WMA audio formats. |
NirT | 0:c00e6c923941 | 59 | The Module supports background mode feature. |
NirT | 0:c00e6c923941 | 60 | |
NirT | 0:c00e6c923941 | 61 | + Audio recorder |
NirT | 0:c00e6c923941 | 62 | ----------------- |
NirT | 0:c00e6c923941 | 63 | The audio recorder module allows recording audio and playing it back. |
NirT | 0:c00e6c923941 | 64 | |
NirT | 0:c00e6c923941 | 65 | + VNC Server |
NirT | 0:c00e6c923941 | 66 | ------------ |
NirT | 0:c00e6c923941 | 67 | The VNC server module allows to control the demo from a remote machine. It is based on |
NirT | 0:c00e6c923941 | 68 | the TCP/IP LwIP stacks. The background mode is supported. |
NirT | 0:c00e6c923941 | 69 | |
NirT | 0:c00e6c923941 | 70 | + Audio Recorder |
NirT | 0:c00e6c923941 | 71 | ---------------- |
NirT | 0:c00e6c923941 | 72 | The Audio record module allows to record an audio file. The audio format supported is |
NirT | 0:c00e6c923941 | 73 | WAV format but may be extended to support other compressed formats such as MP3. |
NirT | 0:c00e6c923941 | 74 | The recorded files are stored in USB Disk flash(USB High Speed). |
NirT | 0:c00e6c923941 | 75 | |
NirT | 0:c00e6c923941 | 76 | + Home alarm |
NirT | 0:c00e6c923941 | 77 | ------------ |
NirT | 0:c00e6c923941 | 78 | Control of Home alarm system, equipped with cameras. |
NirT | 0:c00e6c923941 | 79 | Static picture shown when a room is selected and then the camera icon pressed |
NirT | 0:c00e6c923941 | 80 | General room alarm activation/deactivation when pressed. |
NirT | 0:c00e6c923941 | 81 | |
NirT | 0:c00e6c923941 | 82 | + Gardening control |
NirT | 0:c00e6c923941 | 83 | ------------------- |
NirT | 0:c00e6c923941 | 84 | The gardening control module provides a graphic garden watering system behaviour |
NirT | 0:c00e6c923941 | 85 | |
NirT | 0:c00e6c923941 | 86 | + Game |
NirT | 0:c00e6c923941 | 87 | ------ |
NirT | 0:c00e6c923941 | 88 | The game coming in the STM32Cube demonstration is based on the Reversi game. It is a |
NirT | 0:c00e6c923941 | 89 | strategy board game for two players, played on an 8×8 board. The goal of the game is to |
NirT | 0:c00e6c923941 | 90 | have the majority of disks turned to display your color when the last playable empty square |
NirT | 0:c00e6c923941 | 91 | is filled. |
NirT | 0:c00e6c923941 | 92 | |
NirT | 0:c00e6c923941 | 93 | + System Info |
NirT | 0:c00e6c923941 | 94 | -------------- |
NirT | 0:c00e6c923941 | 95 | The system info module provides information about the core, supported eval boards, |
NirT | 0:c00e6c923941 | 96 | CPU speed and demonstration version. |
NirT | 0:c00e6c923941 | 97 | |
NirT | 0:c00e6c923941 | 98 | For more details about the demonstration modules please refers to STM32CubeF7 demonstration (UM1906) |
NirT | 0:c00e6c923941 | 99 | |
NirT | 0:c00e6c923941 | 100 | @note The STM32F7xx devices can reach a maximum clock frequency of 216MHz but as this demonstration uses SDRAM, |
NirT | 0:c00e6c923941 | 101 | the system clock is limited to 200MHz. Indeed proper functioning of the SDRAM is only guaranteed |
NirT | 0:c00e6c923941 | 102 | at a maximum system clock frequency of 200MHz. |
NirT | 0:c00e6c923941 | 103 | |
NirT | 0:c00e6c923941 | 104 | @par Hardware and Software environment |
NirT | 0:c00e6c923941 | 105 | |
NirT | 0:c00e6c923941 | 106 | - This application runs on STM32F746xx devices. |
NirT | 0:c00e6c923941 | 107 | |
NirT | 0:c00e6c923941 | 108 | - This example has been tested with STMicroelectronics STM32746G_DISCOVERY |
NirT | 0:c00e6c923941 | 109 | boards RevB and can be easily tailored to any other supported device |
NirT | 0:c00e6c923941 | 110 | and development board. |
NirT | 0:c00e6c923941 | 111 | |
NirT | 0:c00e6c923941 | 112 | |
NirT | 0:c00e6c923941 | 113 | @par How to use it ? |
NirT | 0:c00e6c923941 | 114 | |
NirT | 0:c00e6c923941 | 115 | In order to make the program work, you must do the following : |
NirT | 0:c00e6c923941 | 116 | - Open your preferred toolchain |
NirT | 0:c00e6c923941 | 117 | - Rebuild all files |
NirT | 0:c00e6c923941 | 118 | - Open STM32 ST-Link Utility V3.7, click on "External Loader" from the bar menu then check "N25Q128A_STM32F746G-DISCO" box |
NirT | 0:c00e6c923941 | 119 | - Connect the STM32746G-DISCOVERY board to PC with USB cable through CN14 |
NirT | 0:c00e6c923941 | 120 | - Use "STM32CubeDemo_STM32746G-DISCO_V1.1.0.hex" file with STM32 ST-Link Utility to program both internal Flash and external QSPI memory |
NirT | 0:c00e6c923941 | 121 | - Run the demonstration |
NirT | 0:c00e6c923941 | 122 | - copy the audio and video files provided under "Utilities/Media/" in the USB key |
NirT | 0:c00e6c923941 | 123 | - Plug a USB micro A-Male to A-Female cable on CN12 connector |
NirT | 0:c00e6c923941 | 124 | |
NirT | 0:c00e6c923941 | 125 | * <h3><center>© COPYRIGHT STMicroelectronics</center></h3> |
NirT | 0:c00e6c923941 | 126 | */ |
NirT | 0:c00e6c923941 | 127 |