EEVblog Electronics Community Forum
A Free & Open Forum For Electronics Enthusiasts & Professionals
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
This topic
This board
Entire forum
Google
Bing
Home
Help
Search
About us
Links
Login
Register
EEVblog Electronics Community Forum
»
Electronics
»
Projects, Designs, and Technical Stuff
»
DIY STM32 flash programmer with FT232R
« previous
next »
Print
Search
Pages: [
1
]
Go Down
Author
Topic: DIY STM32 flash programmer with FT232R (Read 2601 times)
0 Members and 1 Guest are viewing this topic.
Boscoe
Frequent Contributor
Posts: 279
DIY STM32 flash programmer with FT232R
«
on:
September 08, 2015, 11:25:31 am »
So i'm doing a programmer to make a batch of MCUs a bit easier to program with an automated process (program). However I'm having trouble with the UART comms. I have set all the baud rates etc. to the correct values and i'm sending the commands described in the boot loader documentation from ST but I get strange or no no response. First off the baud rate the boot loader is sending seems to be faster than the max of 115200 and some times I get one, two or three bytes sent back from the boot loader when I should be getting fifteen for the command I'm sending.
This is the document I've been using
http://www.st.com/web/en/resource/technical/document/application_note/CD00264342.pdf
If anyone who has experience doing this could give me some pointers?
Thanks
Logged
Psi
Super Contributor
Posts: 10229
Country:
Re: DIY STM32 flash programmer with FT232R
«
Reply #1 on:
September 08, 2015, 11:28:59 am »
I use this linux stm32 flashing tool to program some STM32F1 chips and it works fine.
http://sourceforge.net/projects/stm32flash/
You could look at the code or datalog what it sends and compare that to your app. It might give you some clues.
Logged
Greek letter 'Psi' (not Pounds per Square Inch)
Boscoe
Frequent Contributor
Posts: 279
Re: DIY STM32 flash programmer with FT232R
«
Reply #2 on:
September 08, 2015, 03:23:01 pm »
Thanks. I found what it was. I didn't initialise the boot loader, i just started writing commands to it.
Logged
Print
Search
Pages: [
1
]
Go Up
« previous
next »
Share me
Smf
EEVblog Electronics Community Forum
»
Electronics
»
Projects, Designs, and Technical Stuff
»
DIY STM32 flash programmer with FT232R
There was an error while thanking
Thanking...
EEVblog Main Site
EEVblog on Youtube
EEVblog on Twitter
EEVblog on Facebook
EEVblog on Odysee