2024-11-25 08:00 AM
Hello, everyone,
I am following the following youtube video posted by ST: https://www.youtube.com/watch?v=jE_nL1GObmA.
My intention is to use an SD card to go and insert images due to a lack of space in flash or external ram.
I followed the video, creating a bitmap cache in a portion of external RAM away from frame buffers and other important resources.
In the LD file, I then added a virtual section called SDCARD into which I went to place all the contents of the ExtFlashSection.
Then following the video I am right at the point where from the .elf file I should have created the .bin file through the command arm-none-eabi-objcopy.exe --dump-section ExtFlashSection=images.bin STM32H7S78-DK_24bpp_Appli.elf.
However, I unfortunately get the following error: STM32H7S78-DK_24bpp_Appli.elf[ExtFlashSection]: can't dump section - it has no contents: File in wrong format
C:\TouchGFX\4.24.1\env\MinGW\msys\1.0\gnu-arm-gcc\bin\arm-none-eabi-objcopy.exe: unable to rename 'STM32H7S78-DK_24bpp_Appli.elf'; reason: File exists
Has anyone been through this before and has a possible solution to the problem?
2024-11-25 08:04 AM
Hello @Leo_Berna99 ,
The video is using TouchGFX. So are you using it for this purpose?