Projekt

Allgemein

Profil

Feature #305

Von Maximilian Seesslen vor etwa 2 Jahren aktualisiert

Image cataloge format for SPI-Flash.

Type:
* Splash
* Photo
* Icon
* End
* Font

Format:
* Raw RGBA
* Raw RGB
* PNG
*

ID (UTF-8 like):
* Egg
* Socks

-CRC
-Data-Size

Reference SPI Flash: Reference: https://www.tme.eu/Document/7080d3aeec3464c7fd84a2ef65cc1f9c/gd25lq16.pdf
Sektor has 4K.

* 512 Sectors
* 240*320*4 = 307200
* replacing single icons would have been nice, but the price to align the images on sectors is too high
* Need an UART transfer mechanism anyway

Using ST-tools to flash images to SPI would be really nice. The Bootloader protocol is not that complicated.
https://www.st.com/en/development-tools/stm32cubeprog.html
https://www.st.com/resource/en/application_note/an3155-usart-protocol-used-in-the-stm32-bootloader-stmicroelectronics.pdf

_if Flash>=128KB,then FLASH PAGE size is 2KB
if not , page size is 1KB
_
libPhonyBL

48x48x4 = 9216; Start with injection

Zurück