Skip to main content
DLodo.1
Visitor II
October 6, 2022
Question

images.bin file creation error

  • October 6, 2022
  • 3 replies
  • 1156 views

Hi there,

We are completely stuck for a project with touch GFX and CubeMX (last version installed).

We try to use images stored in an SDcard.

We have understood the logic of transferring images from the SD card to the screen.

We have a just an output message from the command used to create le .bin file :

$ arm-none-eabi-objcopy.exe --dump-section ExtFlashSection=images.bin TouchGFX/build/bin/target.elf

file in wrong format

We don't understand or act !

Have you a good idea?

This topic has been closed for replies.

3 replies

Osman SOYKURT
ST Technical Moderator
October 12, 2022

Hello DLodo.1,

Can you give more information about your configuration please ?

  • Which TouchGFX board setup are you using ?
  • Which version of TouchGFX Designer are you using ?
  • Are your images in png ?

Do you use TouchGFX Designer application to create your bin file or do yo run command lines in a terminal ?

/Osman

ST Software Developer | TouchGFX
davaba
Associate II
November 13, 2022

Hello @Osman SOYKURT​ 

I have this problem too. I want to convert touchgfx images to images.bin file with touchgfx_Environment.

According to this link(here) and the error is : (It has no contents: File in wrong format)

please help.

thank you.

Romain DIELEMAN
ST Employee
November 14, 2022

Hi,

Could you share the same information Oskt asked in his original reply ?

/Romain