Skip to main content
Badam.17
Associate
Jun 23, 2019 4:51 PM UTC
Question

Using Internal Flash Memory For Frame Buffer

I'm using the stm32f769i-disco1. Which has 2 mB of flash memory.

https://www.st.com/en/evaluation-tools/32f769idiscovery.html

I'm creating a very simply application that's drawing circles and squares and some text, so it's not using most of the flash. Could i use the remanding flash to create a frame buffer for the display.

The only thing related to this idea is using external flash as framebuffer.

https://github.com/ProjectsByJRP/QSPI_Flash_to_LCD

If i need to, i'm fine with rendering partial display's in ram and writing them out to flash. I'm just trying to avoid having extra chips.

This topic has been closed for replies.

2 replies

Tesla DeLorean
Guru
Jun 23, 2019 7:03 PM UTC

How hard would it be to just try?

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
Badam.17
Badam.17Author
Associate
Jun 25, 2019 11:51 AM UTC

I tried it with this example of creating a h file from a image.

Example on page 77.

https://www.st.com/content/ccc/resource/technical/document/application_note/group0/25/ca/f9/b4/ae/fc/4e/1e/DM00287603/files/DM00287603.pdf/jcr:content/translations/en.DM00287603.pdf

But i found out that flash is extremely slow to write to and has around 10,000 write cycles, so it would be a bad choice for a frame buffer the way i was going to use it.