Feature #305
ImgCat
Beginn:
09.11.2022
Abgabedatum:
% erledigt:
0%
Geschätzter Aufwand:
CS Zielversion:
Beschreibung
Image cataloge format for SPI-Flash.
Type:- Splash
- Photo
- Icon
- End
- Font
- Raw RGBA
- Raw RGB
- PNG *
- Egg
- Socks
-CRC
-Data-Size
Reference SPI Flash: 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
Historie
Von Maximilian Seesslen vor etwa 2 Jahren aktualisiert
- Beschreibung aktualisiert (diff)
Works perfectly.
Global Header missing.
When article-ID and Version does not match, automatically start PhonyBL.