AnsweredAssumed Answered

St Link Utility : writing a new external loader

Question asked by Emmanuel FROCHOT on Jun 6, 2017
Latest reply on Sep 26, 2017 by Clive One

Hello,,

I need to write (or modify) a new External flash loader for StLink utility.
I'm using a STM32F475RCT6 with a N25Q128A13EF840E Quad Spi Flash.

It's seems to be very similar to the example given with StLink Utility (STM32L476G_EVAL\Examples\QSPI\N25Q256A_STM32L476G-EVAL).
For me, the first step is to compile the software given as example.

Compiler : IAR
Version : 7.70.1

After renaming the elf file in stldr and copying it in the directory C:\Program Files\STMicroelectronics\STM32 ST-LINK Utility\ST-LINK Utility\ExternalLoader\, the external loader is seen by StLink Utility.

But :
- the external loader has no name
- the 2 features available are Sector Erase and Program
- no sector description is available for sector erase
- Erasing, Programming or reading the externam flash is impossible

What are the good conditions (Define, ...) for compiling the project given as example?

Thanks

Outcomes