Skip to main content
Peter Chang
Associate
May 11, 2018
Question

ST-LINK programming code to external Flash fail

  • May 11, 2018
  • 6 replies
  • 2770 views
Posted on May 11, 2018 at 03:48

I use ST-LINK utility V4.2 to program a code to external flash, always fail.

Attachment is my code. it include embedded code(start at 0x08000000) & external flash code (start at 0x90000000).

Platform : STM32L496G-DISCO

External Flash : MX25R6435F

0690X00000602VqQAI.bmp
    This topic has been closed for replies.

    6 replies

    Tesla DeLorean
    Guru
    May 11, 2018
    Posted on May 11, 2018 at 04:19

    Use the Cube Programmer, the ST-LINK Utility v4.2.0 is very flaky with external memory, and not the active development path.

    http://www.st.com/en/development-tools/stm32cubeprog.html

     
    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    William Chang1
    Associate II
    May 11, 2018
    Posted on May 11, 2018 at 08:33

    0690X0000060B7PQAU.png

    Then why the marketing status is Active?

    Tesla DeLorean
    Guru
    May 11, 2018
    Posted on May 11, 2018 at 08:40

    It works for the most part. I'm saying from observation that development effort has forked, the branch that has development resources behind it is the Cube Programmer, moving forward migrate to that.

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..