Skip to main content
Chandan Bhatia1
Associate III
September 7, 2020
Question

STM32 external loader program with STM32Cube programmer

  • September 7, 2020
  • 1 reply
  • 3219 views

Hello, I build program to store data in external QSPI flash memory using STM32Cube programmer and generated .stldr file but as soon as I place same file to bin external loader folder (STM32Cube\STM32CubeProgrammer\bin\ExternalLoader), STM32Cube programmer IDE wouldn't open. I not able to find the reason. Any suggestions?

Attaching my project.

Thanks

This topic has been closed for replies.

1 reply

Imen Ezzine
ST Employee
September 15, 2020

Hi Cbhat.1675,

I think you mean here you used CubeIDE to build the program and not the STM32Cube programmer?

To explain why STM32Cube programmer IDE wouldn't open after you place .stldr in it is probably because the the generated .stldr has a bug in it's format that wasn't compatible with STM32Cube programmer. This means there could be a problem with the project structure (drivers, framework, includes etc...)

Sorry I couldn't detect the problem with your project as I am more familiar with IAR structure for external loaders, but I advice you to re-create the project and try to follow another example of a project for an external loader created with cubeIDE to make sure you have the correct structure in order for the .stldr to be integrated successfully in CubeProgrammer.

I hope this help!

-Imen

Chandan Bhatia1
Associate III
September 15, 2020

Thanks for reply, Actually i tried with 4 different projects but still got same problem. Unable to figure out issue.

Would you mind sharing your IAR project ? I can migrate same code to my IDE and check.

Chandan Bhatia1
Associate III
September 16, 2020

HI @Imen Ezzine​ , I am looking to find solution from kind of long time. Would be great if you can help me out.