Skip to main content
dacha.1
Associate II
Sep 26, 2025 10:20 AM UTC
Solved

Cube ide and qspi

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?

This topic has been closed for replies.
mƎALLEm
mƎALLEmBest answer
ST Technical Moderator
Sep 26, 2025 10:38 AM UTC

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 "Best answer" on the reply which solved your issue or answered your question.

1 reply

mƎALLEm
mƎALLEmBest answer
ST Technical Moderator
Sep 26, 2025 10:38 AM UTC

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 "Best answer" on the reply which solved your issue or answered your question.