Serial Flash Programming Mdcserflashimg.exe - Epson S1C31D01 Software Manual

Cmos 32-bit single chip microcontroller peripheral circuit sample software manual
Table of Contents

Advertisement

2.5.4

Serial Flash Programming MDCSerFlashImg.exe

MDCSerFlashImg.exe is a tool which helps to create and download a binary image for the N25Q128 Serial NOR
Flash memory chip on the S5U1C31D01T1 evaluation board. The tool accepts binary files generated by
MDCImgConv.exe and MDCFontConv.exe. The output of the tool consists of two files: a header file with
addresses of all included items (to be used by the application) and a single binary image which is a collection of
all the image and font binaries (.mdcfont and .mdcimg files) specified to be included in the single binary image.
The tool allows user to:
Add/Remove font (.mdcfont) and image (.mdcimg) files to include
Export (generate) a C header file (.h) and a single binary image (.bin)
Optionally execute the N25Q128 flash loader tool to program the .bin image to the evaluation board
Enabling the checkbox "Export and Flash" directs the tool to download the binary image into N25Q128 Serial
NOR Flash memory using the SEGGER J-Link Commander software. Refer to Section 0 for instructions on
installing the SEGGER Flash programming tools for the S5U1C31D01T1 evaluation board.
The output C header file (.h) contains seMDC_GFX_SerFlashFontStruct and seMDC_SerFlashImgStruct
structures for all the fonts and images included in the output binary image.
The seMDC_GFX_SerFlashFontStruct has the following fields:
rmadrh – Value to write to the RMADRH register of the QSPI module for accessing external serial flash
in Memory-Mapped Access (MMA) mode
*Font – pointer to the seMDC_GFX_FontStruct font structure in the external serial flash image
The seMDC_SerFlashImgStruct has the following fields:
rmadrh – Value to write to the RMADRH register of the QSPI module for accessing external serial flash
in Memory-Mapped Access (MMA) mode
*img – pointer to the seMDC_ImgStruct image structure in the external serial flash image
The tool will not accept files larger than 1 MBytes and total image size cannot be larger than 16 MBytes.
Before downloading the binary image into the flash memory, connect the J-Link debugger to PC and the
evaluation board.
S1C31D01 Peripheral Circuit
Sample Software Manual (Rev.3.00)
Seiko Epson Corporation
27

Advertisement

Table of Contents
loading

Table of Contents