224 views
in System Integration by
Hi, I'm testing a new solution based on STM32F746, in my solution all the code is located in external memory. Not only the Ew Resources like the demos.

I put all section of the code into QSPI but the application start and crash during execution failing to free memory.

I need to define EW_BITMAP_PIXEL_SECTION_NAME and EW_FONT_PIXEL_SECTION_NAME or not?

Thank you

Michele

1 Answer

0 votes
by
Hi Michele,

concerning the section names - there should be no changes necessary.

Did you adapt the MPU settings in order to allow code execution from that memory range?

Best regards,

Manfred.
by
Hi Manfred, yes I modify the code in order to execute code from external memory.

If I try to divide the application between my process and Ew Resources (Font and Bitmap) and put only the Ew Resources on QSPI everything goes well. The application work and not hang.

Only when I have all application in QSPI flash the application start but after some time crash in memory allocation.

If I don't manage Embedded Wizard process the execution was ok.

Best regards

Michele
by
Hi Michele,

have you tried to execute some STM32 examples from STCube firmware within the QSPI flash?

In principle it works - I have executed several GUI examples on STM32F750-Discovery which has only a very small internal flash.

Do you have such a board? In that case I can provide you a draft version.

Best regards,

Manfred.
by
Hi Manfred, yes now we are using the 746 but we have also the  STM32F750-Discovery so if you have a draft version please send to me.

I'll try

Thank you

Michele
by
Ok - you have got an email...

Ask Embedded Wizard

Welcome to the question and answer site for Embedded Wizard users and UI developers.

Ask your question and receive answers from the Embedded Wizard support team or from other members of the community!

Embedded Wizard Website | Privacy Policy | Imprint

...