Skip to main content
ctc.ctc
Associate II
December 26, 2016
Question

how to use st-link to reset stm32 chip?

  • December 26, 2016
  • 1 reply
  • 734 views
Posted on December 26, 2016 at 12:50

I use st-link tool in ubuntu,

I found that 'st-flash reset' or  after I st-flash a bin file to the stm32 chip

the led action will not actually reset,

for example, after on power, the ledA will not turn on,

after I press user button ledA now is on,

but at this moment, I enter a 'st-flash reset' command, the ledA will not be off,

But if I press reset button, the ledA will be off,

I'm not sure why

Is there a command that I can reset whole chip like press reset button?

THX

    This topic has been closed for replies.

    1 reply

    Nesrine M_O
    Associate
    December 26, 2016
    Posted on December 26, 2016 at 14:06

    Hi

    ctc.ctc

    ‌,

    I recommend you to have a look toSTM32 ST-LINK utility command line interface (CLI) section on the

    http://www.st.com/content/ccc/resource/technical/document/user_manual/e6/10/d8/80/d6/1d/4a/f2/CD00262pdf/files/CD00262pdf/jcr:content/translations/en.CD00262pdf

    user manual

    -Nesrine-