Help with st-link

User avatar
BennehBoy
Posts: 418
Joined: Thu Jan 05, 2017 8:21 pm
Location: Yorkshire
Contact:

Re: Help with st-link

Postby BennehBoy » Thu Feb 02, 2017 10:46 pm

zmemw16 wrote:would or could you perhaps brick it again and then do the unbrick from linux to elucidate and enlighten us ? ;)


I would like to get it working on linux, but this time I used the ST windows app.
-------------------------------------
https://github.com/BennehBoy

User avatar
BennehBoy
Posts: 418
Joined: Thu Jan 05, 2017 8:21 pm
Location: Yorkshire
Contact:

Re: Help with st-link

Postby BennehBoy » Thu Feb 02, 2017 10:57 pm

Should be a way to use this method -> https://github.com/rogerclarkmelbourne/ ... from-Linux

But it will need a different config for the ch340 usb to serial...

So this line:

while true; do openocd -f /usr/local/share/openocd/scripts/interface/stlink-v2.cfg -f /usr/local/share/openocd/scripts/target/stm32f1x.cfg ; sleep 1;done

Would need to look something like:

while true; do openocd -f /usr/local/share/openocd/scripts/interface/ftdi/ch340.cfg -f /usr/local/share/openocd/scripts/target/stm32f1x.cfg ; sleep 1;done

I'm trying to find a suitable config though.
-------------------------------------
https://github.com/BennehBoy

User avatar
RogerClark
Posts: 5535
Joined: Mon Apr 27, 2015 10:36 am
Location: Melbourne, Australia
Contact:

Re: Help with st-link

Postby RogerClark » Thu Feb 02, 2017 11:08 pm

Can someone repost to this thread, as I need to check the cacheing

User avatar
BennehBoy
Posts: 418
Joined: Thu Jan 05, 2017 8:21 pm
Location: Yorkshire
Contact:

Re: Help with st-link

Postby BennehBoy » Thu Feb 02, 2017 11:19 pm

reposted
-------------------------------------
https://github.com/BennehBoy

User avatar
BennehBoy
Posts: 418
Joined: Thu Jan 05, 2017 8:21 pm
Location: Yorkshire
Contact:

Re: Help with st-link

Postby BennehBoy » Thu Feb 02, 2017 11:25 pm

This could be why I had problems using the python script to do the flashing on linux -> https://sourceforge.net/p/stm32flash/wiki/Hints/
-------------------------------------
https://github.com/BennehBoy

User avatar
RogerClark
Posts: 5535
Joined: Mon Apr 27, 2015 10:36 am
Location: Melbourne, Australia
Contact:

Re: Help with st-link

Postby RogerClark » Thu Feb 02, 2017 11:49 pm

This is a test post. I will delete later to test the server caching issues


Return to “Maple mini”

Who is online

Users browsing this forum: Bing [Bot] and 1 guest