Skip to main content
MPast.1
Senior
January 24, 2021
Question

Remove loader to fast debug

  • January 24, 2021
  • 2 replies
  • 1284 views

Hi all,

I'm building a custom board with touchgfx and QSPI resources.

Everything work well!

I would like to know how is possible to remove loader to fast the debugger session: the external resource need more than 4Mbytes and loader everytime I start a debug session update the external memory. This process take about 1 and half minute.

the problem is that I don't updating nothing on graphic design, but I'm adding only code to my project: everytime I program the uC everything is erased and reprogrammed.

So I would like to have the possibility to run the project, loading the external QSPI resources needed by graphic stack and correct as fast as possible my code. Is it possible?

( I'm know where remove the loader (on debug settings) and I know how to edit the linker to add/remove external reosurces: but if I edit the linker, Touchgfx don't know where load the picutres and fonts from) . how can I solve it?

Thanks in advance

This topic has been closed for replies.

2 replies

MM..1
Chief III
January 24, 2021

You dont write how IDE used , but simply you need only skip flash external section ,,,

MPast.1
MPast.1Author
Senior
January 24, 2021

i'm using IDECube 1.5.1. (sry I forgot it)

How can I edit this setting? I'm new about stm32 world, and soometimes I need some help.

Can you show me with a picture?

MM..1
Chief III
January 24, 2021

Here in CubeIde exist more type of projects, but when you use normal , then in Debug configuration window you have one settings for external loading and second for startup download. I mean simple is turn off Download and in command part write cmd line to flash only hex file .

0693W000007CReFQAW.jpg 

or try disable only external loading on Debugger settings

MPast.1
MPast.1Author
Senior
January 24, 2021

If I disable the external loader, debugger connection crash and nothing works.

In the section you show me, I tryed to change the configuration but I discovered that is only possibile to set an offset.

If my uC FLASH range is 0x08000000 --> 0x08200000 and QSPI section is 0x09000000, i'm not able to exclude the QSPI section. Offset allow to me to exclude the main program instead of external resources. (IE I can set the Offset to 0x09000000, but not a valid range)