Skip to main content
Chandan Bhatia1
Associate III
August 3, 2020
Question

Touchgfx data store in External QSPI Flash

  • August 3, 2020
  • 6 replies
  • 1025 views

Hello, I am using STM32F746 discovery board with Touchgfx. As LCD data size is more( Assume 5 MB), I need to put in external QSPI flash. We can store QSPI data in indirect mode and read with memory mapped mode of QSPI. I found that with changes in linker file and with some setting in IDE, we can able to program QSPI with internal flash.

But suppose if i just want to share .hex file of application to other person, In that case how should we flash QSPI data ? I am not able to understand that process.

Any suggestion?

Thanks

This topic has been closed for replies.

6 replies

Tesla DeLorean
Guru
August 3, 2020

You could write your own boot loader that could take a .HEX file and program your internal/external memories.

For the boot loader path, perhaps review the docs / example for IAP (In Application Programming)

For field updates you could perhaps store a .HEX or .DFU on a MicroSD card and the IAP loader could use that to update your device's memories.

If you supply a .HEX file, it should describe the data in the assorted memories, and then your flashing tool/application would need to provide an external loader compatible with your design.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
Chandan Bhatia1
Associate III
August 3, 2020

Thanks, I not using exactly Devkit but a customized board which don't have MicroSD card. I was looking if there is quick solution for this issue from STM thn going with own boot loader solution for initial phase.

Chandan Bhatia1
Associate III
August 3, 2020

Also I can see external loader option in IDE STM32CUBE programmer. Not sure if this can help.

0693W000003BypcQAC.jpg