Personal tools

How to flash VisionSOM-RT1176 QSPI memory

From SomLabs Wiki

Jump to: navigation, search

How to flash VisionSOM-RT1176 QSPI memory


Requirements

Hardware

Software

Configuring the project

The xip and dcd files from the Xip_dcd_rt1172.zip archive should be copied to the project sources. They contain the Flash memory configuration for execution in place (XIP) and DCD in order to configure SDRAM before application start.

The project should also contain the following symbols in project settings:

  • XIP_BOOT_HEADER_ENABLE = 1
  • XIP_BOOT_HEADER_DCD_ENABLE = 1
  • BOARD_FLASH_SIZE = 0x4000000
  • SL_QSPI_FLASH = 1

Flashing device using JLink

The JLink probe should be connected to the JTAG port on the catrrier board. Additionally the DAP/Cons uUSB port may be used in order to observe LPUART2 port output from PRINTF functions. Only the RX/TX pins should be connected:

VisionSOM-RT1176 the first FreeRTOS application prog1.png

Te project may be flashed to a device directly using MCUXpresso.

VisionSOM-RT1176 the first FreeRTOS application prog2.png

Alternatively, the binary file may be programmed using JLinkExe tool with following script:

device MIMXRT1176XXX8_M7
si SWD
speed 4000
r
h
loadbin BINARY_FILE_NAME.bin 0x30000000
r
exit
NXP Partner ST Partner Renesas Partner