Skip to main content
alexboyenju
Associate
June 15, 2015
Question

ST-LINK_CLI with win7

  • June 15, 2015
  • 3 replies
  • 726 views
Posted on June 15, 2015 at 10:20

Hi,

I noticed that when i'm trying to flash via the ST-Link_CLI in win 7 when i'm administrator.

the response that i'm getting from the ST-Link_CLI is ''Unable to open file!''

but when i'm doing it  without setting my self as an administrator it works and flashes the bin file as supposed to.

the command i'm sending is:

''C:\Program Files (x86)\STMicroelectronics\STM32 ST-LINK Utility\ST-LINK Utility\ST-LINK_CLI'' -P ''< bin file path >'' 0x08000000

I'm looking forward for your answer

Best Regards,

Alex.
    This topic has been closed for replies.

    3 replies

    tarekbouchkati
    Visitor II
    June 18, 2015
    Posted on June 18, 2015 at 09:44

    Hello Alex,

    Can you specify your ST-LINK Utility version.

    Best Regards,

    Ibn Ziyed.
    alexboyenju
    Associate
    June 18, 2015
    Posted on June 18, 2015 at 17:30

    STM32 ST-LINK utility v3.5.0

    STLinkUSBDriver.dll V4.3.3.0

    ST-Link_CLI V2.1.0

    ________________

    Attachments :

    st.PNG : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006HzTT&d=%2Fa%2F0X0000000bML%2FTHpOmr3P9yyXHlG4uK6OPRZvhJwuwOmM2vhByUAdTS8&asPdf=false
    tarekbouchkati
    Visitor II
    June 19, 2015
    Posted on June 19, 2015 at 11:46

    Hello again,

    I am using ST-LINK Utility v3.6.0 and it is fine for me.

    PC configuration : Win7 x64 with admin rights.

    I have used this command :

    ''C:\Program Files (x86)\STMicroelectronics\STM32 ST-LINK Utility\ST-LINK Utility\ST-LINK_CLI'' -c swd -p ''C:\Binaries\test.bin'' 0x08000000 -Rst -v

    Best Regards,

    Ibn Ziyed