cancel
Showing results for 
Search instead for 
Did you mean: 

qspi data not compiling

MMARI.1
Senior

hi,

I am trying to external loader connect with stm32h723zgt6 + w25q128 .

before loading  the stldr file into debugger  i need know why cube ide not compiling the data into qspi location ? 

In the main.c file constant data  has been declared as below .

const __attribute__((section(".extFlash"))) uint8_t buff[] = "Hello world from H723 QSPI";

In the flash id file has been modified as below.

QSPI_FLASH (r)    : ORIGIN = 0x90000000,  LENGTH = 16M 


.extFlash :
  {
     *(.extFlash)  
  } >QSPI

 after compiling why memory details not showing in the below menu 

MMARI1_0-1738907478474.png

 

2 REPLIES 2
SofLit
ST Employee

hello,

Try:

uint8_t buff[] __attribute__((section(".extFlash")));
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.
PS:
1 - This is NOT an online support (https://ols.st.com) but a collaborative space.
2 - Please be polite in your reply. Otherwise, it will be reported as inappropriate and you will be permanently blacklisted from my help.

hi,

i have modified as below : 

uint8_t buff[] __attribute__((section(".extFlash")))= "hello world";

 but still problem continues as same !. it not showing as earlier attached picture