cancel
Showing results for 
Search instead for 
Did you mean: 

Mechanism for writing image file data to an external flash

Ebun.1
Senior

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.

8 REPLIES 8
Alexandre RENOUX
Principal

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

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
Up vote any posts that you find helpful, it shows what's working..

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.

Hi Clive1

I am always indebted.

Specifically, how should I work?

Attach the file.

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

Depends of your proposed means of delivery.

On the STM32F769I-DISCO the microsd card could be used.

The alternative would be the VCP connection, pushing the data (.BIN) in with something like X-MODEM via a terminal application.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

Hi Clive1

Thank you for your help.

I don't know what to do.

Is there a sample firmware update using an SD card?

>>Is there a sample firmware update using an SD card?

Not exactly, I've built things that suit my own needs, but a significant number of the pieces are provided in the CubeF7/HAL examples.

If you don't have a good mechanic, you probably need to hire one.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..