[info] stm32f4 MPU module LQFP 100
- UnaClocker
- Posts: 46
- Joined: Tue May 13, 2014 12:14 am
- Location: Tacoma, WA
Re: stm32f4 main chip module
I'll take a whack at one of the boards. Easy peasy.
Brian from Tacoma, WA
84 Dodge Rampage
01 PT Cruiser
84 Dodge Rampage
01 PT Cruiser
- UnaClocker
- Posts: 46
- Joined: Tue May 13, 2014 12:14 am
- Location: Tacoma, WA
Re: stm32f4 main chip module
Got the boards today. The virgin one went well, I'll get to the other two another night. But for now I'll get this completed one back in the mail back to you so you can put the rest of the components on it and resume testing. I snapped some pictures to show the soldering. There are a couple pins that may appear unsoldered in the pictures, they are soldered.
Hope you don't mind the super massive epic large resolution, I felt like showing off. Best viewed on a computer, rather than a phone, obviously.
edit: looks like the forum sanitized the image size.. Links to the raw files FTW:
Top
Right side
Bottom
Left Side
Hope you don't mind the super massive epic large resolution, I felt like showing off. Best viewed on a computer, rather than a phone, obviously.
edit: looks like the forum sanitized the image size.. Links to the raw files FTW:
Top
Right side
Bottom
Left Side
Brian from Tacoma, WA
84 Dodge Rampage
01 PT Cruiser
84 Dodge Rampage
01 PT Cruiser
- AndreyB
- Site Admin
- Posts: 14360
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: stm32f4 main chip module
How is this even possible? How do you do it?
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
- UnaClocker
- Posts: 46
- Joined: Tue May 13, 2014 12:14 am
- Location: Tacoma, WA
Re: stm32f4 main chip module
Lots of flux, high quality iron with a fine wedge tip, LOTS of light, patience, good eyes, steady hands, fair amount of practice (replacing a blown chip on a plasma TV). I'd shoot video but my camera just isn't up to the task. There's a guy on YouTube, EEVBlog, I learned everything from his videos.
Brian from Tacoma, WA
84 Dodge Rampage
01 PT Cruiser
84 Dodge Rampage
01 PT Cruiser
- AndreyB
- Site Admin
- Posts: 14360
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: stm32f4 main chip module
Thank you @denisvak for explaining how to use SWD:
1) take discovery board, remove two "ST-LINK" jumpers
2) connect discovery and stm32 board with 5 wires (we are using the same pinout as discovery so I am just using a 8 pin cable)
3) DONE!
Pending issue: looks like USB interface does not work: I've failed to program the chip via USB and I do not get serial-over-usb console.
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
- UnaClocker
- Posts: 46
- Joined: Tue May 13, 2014 12:14 am
- Location: Tacoma, WA
Re: stm32f4 main chip module
haha! Awesome! Glad to see it living! Motivates me to put some more work into the other two.
Brian from Tacoma, WA
84 Dodge Rampage
01 PT Cruiser
84 Dodge Rampage
01 PT Cruiser
- AndreyB
- Site Admin
- Posts: 14360
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: stm32f4 main chip module
USB console issue is about the lack of PA9 <> USB VBUS trace, that's OTG_FS_VBUS. Got USB console working with a jumper wire.
I think one missing track is an AMAZING result. Way to go @!
I think one missing track is an AMAZING result. Way to go @!
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Re: stm32f4 main chip module
Was there any significant bumps in the road? Please say yes there was or I'll remain paranoid that we didn't test it enough
Good to hear that's working.
Good to hear that's working.
Welcome to the friendlier side of internet crazy
- AndreyB
- Site Admin
- Posts: 14360
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: stm32f4 main chip module
There is still a tiny bump on the road: while I've figured how to fix USB as in 'serial over USB', I am still trying to figure out why it would not upload the firmware via USB. But thanks to SWD the chip does run
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
- AndreyB
- Site Admin
- Posts: 14360
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: stm32f4 MPU module
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
- AndreyB
- Site Admin
- Posts: 14360
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: stm32f4 MPU module LQFP 100
I've realized that there is also STM32F407VGT7 which as far as I understand is the same thing just with Maximum Operating Temperature: + 105 Crussian wrote:we are targeting STM32F407VGT6 chip which is LQFP 100
No idea if this changes anything for us. This one is in stock @ Mouser.
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
- AndreyB
- Site Admin
- Posts: 14360
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: stm32f4 MPU module LQFP 100
this board has it's own life outside of rusEfi now http://www.eevblog.com/forum/microcontrollers/stm32f4-minimal-circuit/
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Re: stm32f4 MPU module LQFP 100
Cool. I should fix the 3D of those push buttons.
Welcome to the friendlier side of internet crazy
Re: stm32f4 MPU module LQFP 100
I dont know the exact status of this board because I'm new on the forum and I'm still learning about RUSEFI but have you consider using seeedstudio pcb and assembly to produce this board.
I did a quick quote with only the assembly of the microcontroller and price as 146$ for 10 boards assembled including the microcontroller... All the other parts are quite standard and cheap so I think it's possible to have assembled boards for around 25$/each maximum.
And it could be cheaper if we panelize the board.
I did a quick quote with only the assembly of the microcontroller and price as 146$ for 10 boards assembled including the microcontroller... All the other parts are quite standard and cheap so I think it's possible to have assembled boards for around 25$/each maximum.
And it could be cheaper if we panelize the board.
Re: stm32f4 MPU module LQFP 100
Hmmm, I wonder if that price would hold about the same for the 176 pin version found here http://rusefi.com/forum/viewtopic.php?f=4&t=749 This 100 pin was partly to make sure we could do it if the discovery boards became hard to find, etc. The longer term plan is to put this 176 pin board native on Frankenso board.
Welcome to the friendlier side of internet crazy
- AndreyB
- Site Admin
- Posts: 14360
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: stm32f4 MPU module LQFP 100
This board was mostly a step prior to putting the same chip on the Frankenso board - the approach is to try small things individually before merging them together. Also a contingency plan if discovery board disappears.
As Jared says - the future is with the 176 pin version which we have already validated but have not yet applied to Frankenso.
As Jared says - the future is with the 176 pin version which we have already validated but have not yet applied to Frankenso.
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Re: stm32f4 MPU module LQFP 100
You know what!? I did the quote for the 176 pins version if reality... So it might be an interesting option!
- AndreyB
- Site Admin
- Posts: 14360
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: stm32f4 MPU module LQFP 100
Barely on-topic, but a great picture from http://www.mobilerobots.pl/web_images/stm32f4_discovery_pinout.png
- Attachments
-
- stm32f4_discovery_pinout.png (1.16 MiB) Viewed 24633 times
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
- AndreyB
- Site Admin
- Posts: 14360
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: stm32f4 MPU module LQFP 100
I did not know about $3 ST-Link devices! I wonder how legal is them using ST firmware on these dongles?
PS: relevant article - http://www.taylorkillian.com/2013/01/retrieving-st-linkv2-firmware-from.html
PS: relevant article - http://www.taylorkillian.com/2013/01/retrieving-st-linkv2-firmware-from.html
- Attachments
-
- screenshot.png (624.9 KiB) Viewed 25148 times
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
- AndreyB
- Site Admin
- Posts: 14360
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: stm32f4 MPU module LQFP 100
Full wish list:
1) PA9 <> USB VBUS trace is needed to get USB functional
2) add vertical USB connector option (same as on Frankenso)
3) use stlink 5x2 header
- Attachments
-
- st_link.png (97.65 KiB) Viewed 25144 times
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Re: stm32f4 MPU module LQFP 100
Did I guess this correctly?
- Attachments
-
- Untitled.png (7.63 KiB) Viewed 25068 times
Welcome to the friendlier side of internet crazy
- AndreyB
- Site Admin
- Posts: 14360
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: stm32f4 MPU module LQFP 100
no, SWDIO is PA13. SWCLK is PA14 is correct. Not sure why they call it SWIM but that one must be PB3 TRACESWO
Also do you think we would need to mirror the connector since their picture is probably if you look at the make pins from the bottom? Too bad it's some time till I get my device.
Also do you think we would need to mirror the connector since their picture is probably if you look at the make pins from the bottom? Too bad it's some time till I get my device.
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
- AndreyB
- Site Admin
- Posts: 14360
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: stm32f4 MPU module LQFP 100
Somehow I've missed the fact that similar thingy is available from a US seller, placed another order. Funny news is that there is another version of similarly looking device with a different pinout! But the one we've chosed seems to be more popular.
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Re: stm32f4 MPU module LQFP 100
I think you mean IDC or header.
http://www.ebay.com/itm/New-10PCS-10-Pin-Dual-Row-2-54mm-Straight-Male-IDC-Socket-Box-Header-Connector-/361411798788
Are you thinking short ribbon cable? If we put a female connector on the brain board, then you could plug the connector in directly. Something like this.
http://www.ebay.com/itm/Reliable-10PCS-2x5-10Pin-2-54mm-Double-Row-Female-Header-Pitch-Socket-Pin-HFCA-/172437084318
http://www.ebay.com/itm/New-10PCS-10-Pin-Dual-Row-2-54mm-Straight-Male-IDC-Socket-Box-Header-Connector-/361411798788
Are you thinking short ribbon cable? If we put a female connector on the brain board, then you could plug the connector in directly. Something like this.
http://www.ebay.com/itm/Reliable-10PCS-2x5-10Pin-2-54mm-Double-Row-Female-Header-Pitch-Socket-Pin-HFCA-/172437084318
Welcome to the friendlier side of internet crazy
- AndreyB
- Site Admin
- Posts: 14360
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: stm32f4 MPU module LQFP 100
"key" was the keyword to get that notch
http://www.ebay.com/itm/10-Pcs-2-54mm-0-1-Pitch-2x5-Pin-10-Pin-Female-Pin-Header-Strip-Polarizing-Key-/181878091305
http://www.ebay.com/itm/10-Pcs-2-54mm-0-1-Pitch-2x5-Pin-10-Pin-Female-Pin-Header-Strip-Polarizing-Key-/181878091305
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Re: stm32f4 MPU module LQFP 100
Is this correct?
- Attachments
-
- Untitled.png (4.03 KiB) Viewed 25059 times
Welcome to the friendlier side of internet crazy
- AndreyB
- Site Admin
- Posts: 14360
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: stm32f4 MPU module LQFP 100
I believe your picture shows their connector and our connector would be mirrored, unless that would be taken care by the PCB or would you flip the connector and place it on the bottom of the board? The plan is to plug dongle from top.
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Re: stm32f4 MPU module LQFP 100
I'm not sure if it's mirrored or not. I see pin 1 = reset so I made pin 1 reset, etc. Then I made the connector poke up not down on the layout. What I don't know for sure is if their pin 1 is the same pin as our pin 1. Based on the graphic which shows the key. I think our pin 1 is the same as their pin 1. So I think this is good, but I won't know for sure until we get the board and can verify. This is how it looks in the layout.
- Attachments
-
- Untitled.png (19.46 KiB) Viewed 25052 times
Welcome to the friendlier side of internet crazy
Re: stm32f4 MPU module LQFP 100
Was there going to be a battery holder change on the back?
Welcome to the friendlier side of internet crazy
- AndreyB
- Site Admin
- Posts: 14360
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: stm32f4 MPU module LQFP 100
Look at the picture of the red device, pay attention at where the tab is located and where the tab is pictured on their schematics. Based on their picture I am sure we need to mirror the connector, as is it would work on the back of the board but I want it to work on top.
I am looking at my assembled LQFP 100 and LQFP 176 boards and both have battery holder soldered just fine, I think we are good with current location.
I am looking at my assembled LQFP 100 and LQFP 176 boards and both have battery holder soldered just fine, I think we are good with current location.
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute