Skip to main content
Badam.17
Associate
June 23, 2019
Question

Using Internal Flash Memory For Frame Buffer

  • June 23, 2019
  • 2 replies
  • 857 views

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
June 23, 2019

How hard would it be to just try?

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
Badam.17
Badam.17Author
Associate
June 25, 2019

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.