[help needed] Help me with stm32f4

Hardware inside and outside of the ECU
Post Reply
azasaw
Posts: 11
Joined: Thu Feb 21, 2019 7:05 pm

Help me with stm32f4

Post by azasaw »

Hello, I am new to this forum, got interested in rusefi when I was looking to buy ms, maybe half a year ago I bought frankenso and now I finished assembling/soldering and need your help. My problem or question is simply where do you short stm32 to program it, as my board doesn't have that stm discovery board as an add-on but the stm chip and other components are directly soldered to frankenso.
User avatar
Dron_Gus
contributor
contributor
Posts: 455
Joined: Wed Nov 13, 2013 1:11 pm
Location: S-Pb
Github Username: dron0gus

Re: Help me with stm32f4

Post by Dron_Gus »

User avatar
AndreyB
Site Admin
Posts: 14328
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Help me with stm32f4

Post by AndreyB »

Probably DFU. Jumper between VDD and BOOT0, will elaborate in a few hours
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
azasaw
Posts: 11
Joined: Thu Feb 21, 2019 7:05 pm

Re: Help me with stm32f4

Post by azasaw »

Dron_Gus wrote:
Thu Feb 21, 2019 8:39 pm
Serial bootloader? https://www.st.com/en/development-tools/flasher-stm32.html
Don't get your question, yes? I need to connect my pc with stm so i could programme the chip but on rusefi wiki I see that I need to place jumpers on the discovery board, but my problems is that I have directly soldered stm to frankenso board there is no stm discovery like in picture.
Image
Abricos
contributor
contributor
Posts: 849
Joined: Mon Aug 18, 2014 12:32 am
Location: Carteret, NJ 07008

Re: Help me with stm32f4

Post by Abricos »

you need ST-link ...
if you dont have you may use STM32 discoveri bord which has part of the board as a programmer see on pic ...
I do not remember exactly, but it seems you need to remove two jumper (in the white circle) in order to use SWD on STM32 Discoveri as Programmer ...
discovery_upload_wire.JPG
discovery_upload_wire.JPG (93.04 KiB) Viewed 4429 times
SWD_Discovery_to_Apogee.png
SWD_Discovery_to_Apogee.png (17.18 KiB) Viewed 4430 times
azasaw
Posts: 11
Joined: Thu Feb 21, 2019 7:05 pm

Re: Help me with stm32f4

Post by azasaw »

russian wrote:
Thu Feb 21, 2019 8:44 pm
Probably DFU. Jumper between VDD and BOOT0, will elaborate in a few hours
Yes, this helped me to program without st-link.
Post Reply