![ST STM32303C-EVAL Скачать руководство пользователя страница 63](http://html1.mh-extra.com/html/st/stm32303c-eval/stm32303c-eval_user-manual_1356057063.webp)
UM1590
STM32303C-EVAL demonstration programming
Doc ID 023892 Rev 1
4
STM32303C-EVAL demonstration programming
4.1
Programming the media files
The STM32303C-EVAL board comes with a MicroSD card memory pre-programmed with
the Audio and Image resources used by the demonstration. However, you can load your own
image (*.bmp) and audio (*.wav) files in the USER directory, providing that these file formats
are supported by the demonstration. For more details, please refer to
Figure 84.
MicroSD Card directory organization
The default content of the media files (STFILES and USER directories) can be retrieved
from the Binary\Media folder. So, if you want to reprogram the MicroSD card, you can copy
the content of the Binary\Media folder to your own MicroSD card memory.
4.2
Programming the demo
You can program the demonstration using three methods.
4.2.1 Using
Bootloader
To program the demonstration binary image in the internal Flash memory, you have to use
the stm32303C-EVAL_FW_1.0.0.bin file located under Project\STM32303C-EVAL\Binary
with embedded Bootloader. For more details, please refer to Bootloader application note
AN2606
STM32™ microcontroller system memory boot mode
.
4.2.2 Using
IAP
To program the binary image of the demonstration firmware in the internal Flash memory of
the MCU, you have to use the stm32303C-EVAL_FW_V1.0.0_offset_0x3000.bin file located
under Project\STM32303C-EVAL\Binary with IAP over USART. For more details, please
refer to application note AN4045:
STM32F3xx in-application programming using the
USART
.
4.2.3 Using
preconfigured
projects
1.
Select the folder corresponding to your preferred toolchain (MDK-ARM, EWARM,
RIDE, TASKING or TrueSTUDIO).
2.
Open the STM32303C_EVAL project and rebuild all sources.
3.
Load the project image through your debugger.
4.
Restart the evaluation board (press B1: reset button).
MS31114V2
Demo mandatory files
User files