Skip to main content
izal muin
Associate
May 21, 2018
Solved

St LINk Cli for External Memory programming.

  • May 21, 2018
  • 1 reply
  • 1377 views
Posted on May 21, 2018 at 10:33

Hello  I am to write  the CLI interface for the ST Link programmer to program an external memory through CLI.

'C:\Project\Programming\ST-LINK Utility>ST-LINK_CLI.exe -C -EL MX25L512G_STM32F769I-DISCO.stldr -P C:\Project\Programming\ST-LINK Utility\asset.hex'

the CLI Able to load the EL but unfortunately there is no programming is done.

'  

C:\Project\Programming\ST-LINK Utility>ST-LINK_CLI.exe -C -EL MX25L512G_STM32F769I-DISCO.stldr -P C:\Project\Programming\ST-LINK Utility\asset.hex

STM32 ST-LINK CLI v3.0.0.0

STM32 ST-LINK Command Line Interface

ST-LINK SN : 48FF6C067266535216230367

ST-LINK Firmware version : V2J27S6

Connected via SWD.

SWD Frequency = 4000K.

Target voltage = 3.1 V.

Connection mode : Normal.

Device ID:0x451

Device flash Size : 2048 Kbytes

Device family :STM32F76x'

I have tried to move around the command but seem is not working

I have tried usimg the GUI Utility & it was programmed successfully. Is there any thing that i did wrong?

I need the CLi becoz i need to interface it with labview

    This topic has been closed for replies.
    Best answer by Tesla DeLorean
    Posted on May 21, 2018 at 14:02

    The external loader functionality in the ST-LINK Utilities, as I've reported before, seems to have issues that have been resolved in the STM32CUBE Programmer.

    1 reply

    Technical Moderator
    May 21, 2018
    Posted on May 21, 2018 at 13:34

    Hello

    izal.muin

    ,

    I recommend you touse

    the latest version of ST-Link utility, and use this to update the ST-Link firmware.

    Best Regards,

    Imen

    In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
    Tesla DeLorean
    Tesla DeLoreanBest answer
    Guru
    May 21, 2018
    Posted on May 21, 2018 at 14:02

    The external loader functionality in the ST-LINK Utilities, as I've reported before, seems to have issues that have been resolved in the STM32CUBE Programmer.

    Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
    izal muin
    izal muinAuthor
    Associate
    May 22, 2018
    Posted on May 22, 2018 at 01:50

    Great . Thanks  for the info