DEV Community

Cover image for NXP i. MX RT1050 EVK BSP(Board Support Package) Execution Instruction.
Abby
Abby

Posted on

NXP i. MX RT1050 EVK BSP(Board Support Package) Execution Instruction.

Introduction:

The mainly-used resources of this board are shown as follows:

  • MCU:MIMXRT1052DVL6A. Main Frequency 600MHz,
  • Memory:256MB SDRAM、512MB Hyper FLASH
  • Common-used peripherals:
    • Motion Sensors:FXOS8700CQ
    • LED
  • Common-used interfaces :USB、SD Card、Ethernet、LCD、Camera.
  • Debug interface:Standard JTAG/SWD. For more details about this board, please refer to https://www.nxp.com/

Peripheral Condition:

Each peripheral supporting condition for this BSP is as follows:

Alt Text

Instruction

Get Started:

This BSP provides MDK 5 and IAR projects for developers and it supports the GCC development environment. Here's an example of the MDK5 development environment, to introduce how to run the system.

Hardware Connection:

Use a USB cable to connect the development board to the PC and turn on the power switch.

Compile and Download:

Double-click the project.uvprojx file, to open the MDK 5 project, compile and download the project to the board.

By default, the project uses the CMSIS-DAP to download the program, when the CMSIS-DAP connects the board, clicking the download button can download the program to the board.

Running Results:

Once the project is successfully downloaded, the system runs automatically. The green LED on the board will flash periodically.

Connect the serial port of the board to the PC, communicate with it via a serial terminal tool(115200-8-1-N). Reset the board and the startup information of RT-Thread will be observed:

 \ | /
- RT -     Thread Operating System
 / | \     4.0.1 build May 28 2020
 2006 - 2020 Copyright by rt-thread team
Enter fullscreen mode Exit fullscreen mode

This BSP only enables GPIO and serial port 1 by default. If you need more advanced features, you need to configure the BSP with RT-Thread Env tools, as follows:

Advanced Features:

  1. Open the env tool under BSP.

  2. Enter menuconfig command to configure the project, then save and exit.

  3. Enter pkgs --update command to update the package.

  4. Enter scons --target=mdk4/mdk5/iar command to regenerate the project.

Learn how to use RT-Thread Env, click Here.

RT-Thread Contact Info:

Website | Github | Twitter | Facebook | Youtube

Top comments (1)

Collapse
 
fashaun profile image
Shaun Lin

Hello, did you use buildroot or openwrt