buydisplay.com
EastRising
3.4.1
SPI Flash Structure
After the project is compiled, press BIN GEN button to generate the “UartTFT_Flash.bin” file
and the “UserInfo.bin” file in the Binfile folder. These two files are used to Programming into
SPI Flash. The following figure shows the structure of SPI Flash. It can be seen that the
“UartTFT_Flash.bin” file actually includes the contents of the “UserInfo.bin” file, while the
“UserInfo.bin” file stores the Command parameters. Other areas are pictures, animation files,
text files, and audio files. If only modify Command parameter, the “UartTFT_Flash.bin” file and
the “UserInfo.bin” file will be generated at the same time, but only the “UserInfo.bin” file needs
to be updated. The size of the “UserInfo.bin” file is fixed at 128Kbytes. Therefore, you can use
the USB to RS232 cable to update quickly in the UI_Editor environment without using SPI Flash
Programmer.
In addition, developers can programming Bin file into SPI Flash through the PC's USB and
using the "ER-TFT028A2-4-5465_ISP_Vxx.exe" program. Please refer to the description in
Chapter 6 for details.
Figure 3-76: SPI Flash Structure
3.4.2 Userinfo
.bin (128K) Update
Figure 3-77: “Userinfo.Bin” Update Button
If you only update the individual parameters of partial commands, such as the display position
of a picture, the playback speed of the GIF animation, the commands executed by the button
control, etc., you do not need to Programming the flash to update the changes. You can
recompile the project after changing these parameters and generate a BIN file. Open the
Command and use the “128K Update” to change the “UserInfo.bin” in the SPI Flash, Now the
parameters in the TFT panel is changed.