cancel
Showing results for 
Search instead for 
Did you mean: 

how to use st-link to reset stm32 chip?

ctc.ctc
Associate II
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

1 REPLY 1
Nesrine M_O
Lead II
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-