Skip to main content
Ebun.1
Senior
December 17, 2020
Question

Mechanism for writing image file data to an external flash

  • December 17, 2020
  • 8 replies
  • 1976 views

Thank you for helping.

environment:

STM32CubeIDE Ver1.5.0

TouchGFX Ver4.15.0

Board: STM32F769I-DISCO

How is the image file data created by TouchGFX written to the external flash memory on the board?

Could you tell me how it works?

Is it possible to realize this function with STM32CubeProgrammer?

If you can't do it now, do you have any plans to add it in the future?

Thank you.

This topic has been closed for replies.

8 replies

Alexandre RENOUX
Visitor II
December 17, 2020

Hello Ebun.1,

I'm not sure I fully understand your request.

What do you want to do exactly ?

TouchGFX automatically puts images imported inside the Designer in the External Flash if there is one. If you use F769-DISCO Application Template, all the images (in png format) you use will be in external Flash.

/Alexandre

Ebun.1
Ebun.1Author
Senior
December 17, 2020

Hi Alexandre RENOUX

Thank you for your reply.

If there is data to be written to the flash (QUADSPI) area outside the microcomputer like the attached file, STM32CubeProgrammer will not write to that area.

In STM32CubeIDE, it seems that you can use the function by checking External Loader of Deubg Configurations.

In short, I want to write QuaDSPI without a debugger such as ST-Link (using STM32CubeProgrammer).

For example, after delivering a device to a customer, the only way to request the firmware of the device to be written is to realize it in an environment without a debugger.

Please let me know if there is a good way.

Ebun.1
Ebun.1Author
Senior
December 17, 2020

Attach the file.

I changed it to txt because I can't upload it if the extension is ld.

Tesla DeLorean
Guru
December 17, 2020

STM32 Cube Programmer ​can use an External Flash Loader, which maps the memory and can write into them.

O​n the STM32 side BSP code can be used to erase and write the memory.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
Ebun.1
Ebun.1Author
Senior
December 17, 2020

Hi Clive1

I am always indebted.

Specifically, how should I work?