MCUXpresso_MIMXRT1052xxxxB/boards/evkbimxrt1050/display_examples/h264_freertos
2022-04-08 22:46:35 +08:00
..
armgcc SDK v2.11.1 2022-04-08 22:46:35 +08:00
linkscripts SDK v2.11.1 2022-04-08 22:46:35 +08:00
board.c SDK v2.11.1 2022-04-08 22:46:35 +08:00
board.h SDK v2.11.1 2022-04-08 22:46:35 +08:00
clock_config.c SDK v2.11.1 2022-04-08 22:46:35 +08:00
clock_config.h SDK v2.11.1 2022-04-08 22:46:35 +08:00
dcd.c SDK v2.11.1 2022-04-08 22:46:35 +08:00
dcd.h SDK v2.11.1 2022-04-08 22:46:35 +08:00
display_support.c SDK v2.11.1 2022-04-08 22:46:35 +08:00
display_support.h SDK v2.11.1 2022-04-08 22:46:35 +08:00
display.c SDK v2.11.1 2022-04-08 22:46:35 +08:00
display.h SDK v2.11.1 2022-04-08 22:46:35 +08:00
evkbimxrt1050_sdram_init.jlinkscript SDK v2.11.1 2022-04-08 22:46:35 +08:00
ffconf.h SDK v2.11.1 2022-04-08 22:46:35 +08:00
FreeRTOS_POSIX_portable.h SDK v2.11.1 2022-04-08 22:46:35 +08:00
FreeRTOSConfig.h SDK v2.11.1 2022-04-08 22:46:35 +08:00
h264_dec.cpp SDK v2.11.1 2022-04-08 22:46:35 +08:00
h264_dec.h SDK v2.11.1 2022-04-08 22:46:35 +08:00
h264_freertos_v3_9.xml SDK v2.11.1 2022-04-08 22:46:35 +08:00
h264_freertos.c SDK v2.11.1 2022-04-08 22:46:35 +08:00
pin_mux.c SDK v2.11.1 2022-04-08 22:46:35 +08:00
pin_mux.h SDK v2.11.1 2022-04-08 22:46:35 +08:00
readme.txt SDK v2.11.1 2022-04-08 22:46:35 +08:00
sdcard.c SDK v2.11.1 2022-04-08 22:46:35 +08:00
sdcard.h SDK v2.11.1 2022-04-08 22:46:35 +08:00
sdmmc_config.c SDK v2.11.1 2022-04-08 22:46:35 +08:00
sdmmc_config.h SDK v2.11.1 2022-04-08 22:46:35 +08:00

Overview
========
This project read the h264 files from SD card, decode them and show the frames
in LCD panel.

Prepare the H264 files
Name the H264 files like 000.264, 001.264, 002.264, ..., and save them
to the root path of the SD card. Please starts from 000.264, if there is only one
file, name it as 000.264. This project reads the files one by one and decode.
The recommend file is: https://github.com/cisco/openh264/blob/v2.1.1/res/test_cif_P_CABAC_slice.264


Toolchain supported
===================
- IAR embedded Workbench  9.20.2
- Keil MDK  5.36
- GCC ARM Embedded  10.3.1
- MCUXpresso  11.5.0

Hardware requirements
=====================
- Micro USB cable
- EVKB-IMXRT1050 board
- JLink Plus
- 5V power supply
- Personal Computer
- RK043FN02H-CT or RK043FN66HS-CT6 LCD board
  (RK043FN02H-CT and RK043FN66HS-CT6 are compatible)
- SD card

Board settings
==============
1. Connect the RK043FN02H-CT or RK043FN66HS-CT6 to board.
2. Prepare the H264 files and save in SD card.
3. Insert the SDCARD into card slot.

Prepare the Demo
================
1.  Connect a USB cable between the host PC and the OpenSDA USB port on the target board.
2.  Open a serial terminal with the following settings:
    - 115200 baud rate
    - 8 data bits
    - No parity
    - One stop bit
    - No flow control
3.  Download the program to the target board.
4.  Launch the debugger in your IDE to begin running the demo.

Running the demo
================
If this example runs correctly, pictures are shown in the lcd panel.