Skip to main content
dacha.1
Associate II
September 26, 2025
Solved

Cube ide and qspi

  • September 26, 2025
  • 1 reply
  • 304 views

hello

we want to use cube debuger in debug whith the qspi.

We have some data in the qspi programed by my bootloader or whith the cube programer 

Qspi is MX25L51245G we have test them and it is running well the linker

QSPI (rx) : ORIGIN = 0x90000000, LENGTH = 32M

My data declared as

.extflash_data :
{
 KEEP(*(.extflash_data))
} >QSPI

We have test the program with my bootloader it was OK.

We want now use the project with the debugger :

how we can remove the programation of QSPI when we enter in debug?

Best answer by mƎALLEm

Hello,

Try to use NOLOAD directive in your linker file: 

.extflash_data (NOLOAD):
{
 KEEP(*(.extflash_data))
} >QSPI

  

1 reply

mƎALLEm
mƎALLEmBest answer
Technical Moderator
September 26, 2025

Hello,

Try to use NOLOAD directive in your linker file: 

.extflash_data (NOLOAD):
{
 KEEP(*(.extflash_data))
} >QSPI

  

"To give better visibility on the answered topics, please click on ""Accept as Solution"" on the reply which solved your issue or answered your question."