I made an .stdlr file (in "Release" mode) for ext-loader on STM32F23, copied the file to "prog files....STM32CubeProgrammer\bin\ExternalLoader" but the file doesn't appear in the list of external loaders in cube programmer OR STLink utility?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-08-12 6:41 AM
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-08-12 6:49 AM
Please try to keep the topic summary / title and body of question separate
STM32F23 ??
The .STLDR files have specific section and header expectations, if the StorageInfo record isn't in its own section and present, the file won't load. The tools will ignore during enumeration. Also the enumeration is done only as the tool starts.
Several things the linker needs to export are not internally referenced, you will need to ensure the Linker Script, marks them as things to KEEP rather than discard during dead code removal.
I've posted example linker scripts to the forum previously.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-08-12 6:49 AM
Please try to keep the topic summary / title and body of question separate
STM32F23 ??
The .STLDR files have specific section and header expectations, if the StorageInfo record isn't in its own section and present, the file won't load. The tools will ignore during enumeration. Also the enumeration is done only as the tool starts.
Several things the linker needs to export are not internally referenced, you will need to ensure the Linker Script, marks them as things to KEEP rather than discard during dead code removal.
I've posted example linker scripts to the forum previously.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-08-13 1:38 AM
Perhaps use tools like objcopy or fromelf​ to dump/decompose the external linkage and exports?
​
T​he device specifics need to be exposed along with the functional entry points like Init, Write, etc
Up vote any posts that you find helpful, it shows what's working..
