Skip to main content
Associate
August 7, 2026
Question

STM32H750VBT External Loader for W25Q64JVSSIQ

  • August 7, 2026
  • 3 replies
  • 88 views

Erase sector operation is failing for more than 2 sectors
I have attached the code base
ignore trace functionality added for debugging
0x20 function code, (Not clear if the call to erase sector are separate or single call)
write enable, erase command, wait for Busy bit to be cleared

Can someone help to spot the issue

3 replies

KDJEM.1
ST Technical Moderator
August 13, 2026

Hello ​@Abhi_17 and welcome to the community;

 

Could you please check your configuration.

I recommend you to look at External QSPI loader how to - STMicroelectronics and get inspired to check the settings.

This github can help you to erase more than 2 sectors.

 

I hope this help you.

 

Thank you.

Kaouthar

To give better visibility on the answered topics, please click on "Best answer" on the reply which solved your issue or answered your question.
Abhi_17Author
Associate
August 20, 2026

Hi ​@KDJEM.1 

Thanks for the resources.

However I have used same flow for the External loader, but it is still causing the error while the erasing.

I have attached the logs, where we can see it stuck after the INIT call.

 

Another question, can the linker's allocation of RAM cause error?

Thanks, 
Abhishek

 

Abhi_17Author
Associate
August 21, 2026

@KDJEM.1 

Just want to inform, The INIT() function call was repeated before each Sectorerase() call

Causing the pointer to get memory allocated on each call and memory to overflow.

Restrict the initialization process to singleton 

This will solve this,

Thanks,
Abhishek