Skip to main content
Associate III
February 22, 2024
Question

Scalable Image and ExtFlashSection problem

  • February 22, 2024
  • 3 replies
  • 1619 views

Hi everyone.

I use scalable image in extflashsection. But image is not shown on the TFT. If i select the intflashsection, the image is shown on the TFT. 

I am using external flash. There is not any problem in normal image widget. And it is storaged in extflash.

Is there any solution for this problem? How to i can use scalable Image in external flash?

 

xxx_flash.ld file

ExtFlashSection :
{
*(ExtFlashSection ExtFlashSection.*)
*(.gnu.linkonce.r.*)
. = ALIGN(0x4);
} >SPIFLASH

This topic has been closed for replies.

3 replies

ST Employee
February 28, 2024

Hello @erkanc ,

Could you please specify which MCU you are using? Are you working on a custom board or a STM32 Discovery Board? 
Have you defined the address range for SPI Flash large enough for to host the scalable images? 
Also, keep in mind that scalable images are heavy widgets for MCUs, so there might be a chance that the MCU cannot render them fast enough when they are stored on the External Flash, but I can't say it for sure since I don't know which MCU you are using. 

 

Best regards,

erkancAuthor
Associate III
March 3, 2024

Is there any solution about this? I shared my MCU information.

ST Employee
March 8, 2024

Hello again,

Unfortunately, the MCU that you mentioned is not capable of handling Scalable Images. Instead, you can store multiple sizes of the image you like to scale as a simple solution and go through them. I know it is not the best solution, but it can help you.

 

Don't hesitate to ask more questions, 
Good luck

erkancAuthor
Associate III
February 28, 2024

Thank you for your response. I am using NUCLEO STM32G0B1RE kit that have 64 MHz clock and 32 Mbits/s SPI. But the external flash IC is in custom board. DMA is activated. Memory of my flash IC has 8 MB. And indicator of capacity is ~8% for ext flash IC.  

 

***Also, keep in mind that scalable images are heavy widgets for MCUs, so there might be a chance that the MCU cannot render them fast enough when they are stored on the External Flash

It's possible. 

My memory state is the following SS. 

erkanc_0-1709129532659.png

 

ST Employee
April 9, 2024

I'm closing this ticket due to a month of inactivity.

Best regards,