Skip to main content
svcguy
Associate III
September 10, 2020
Solved

[SOLVED] External Loader not recognized by STM32CubeProgrammer

  • September 10, 2020
  • 2 replies
  • 4651 views

Hello,

I'm hoping that someone out there can help me with the last bit of getting an external loader working for my custom board. I'm in the very early stages of developing, specifically at the whacking together dev boards for proof of concept stage. So anything can be changed at this point.

Ultimately my issue is that I've built an external loader that runs tested/verified QSPI flash routines, adpated that to the loader format (Loader_Src.c, Dev_info.c, etc) and built that using example linker scripts. For the life of me, I can't get CubeProgrammer to see the *.stldr. I can see the Dev_info object in the elf, as well as Init, Write, etc. Is there anyone out there that knows the specifics that CubeProgrammer is looking for?

Project specifics:

STM32CubeIDE 1.4.2

STM32CubeProgrammer 2.5.0

STM32F767IGT MCU

MT25QL512A QSPI Flash

I've attached a zip of the project and a copy of the .stldr

Thanks,

Andy

This topic has been closed for replies.
Best answer by Tesla DeLorean

Finds and loads it here, from the ...\bin\ExternalLoader subdirectory.

Would recommend installing outside of ProgramFiles subdirectory so copying in is permitted.

0693W000003RLdAQAW.jpg

2 replies

svcguy
svcguyAuthor
Associate III
September 10, 2020

Just noticed I have two linker scripts in the project. Project is currently configured to use Target.ld

Tesla DeLorean
Tesla DeLoreanBest answer
Guru
September 10, 2020

Finds and loads it here, from the ...\bin\ExternalLoader subdirectory.

Would recommend installing outside of ProgramFiles subdirectory so copying in is permitted.

0693W000003RLdAQAW.jpg

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
svcguy
svcguyAuthor
Associate III
September 10, 2020

Thanks Clive! You’re the guy I hoped would find this thread.

Guess I should have been a little more verbose. I’ve copied the stldr to the ExternalLoader folder in my CubeProg install folder but it never appears in the list.

I’ll try moving cube prog to a different folder.

More specifically I’m asking what CubeProg needs to see in the stldr to consider it valid