[info] stm32f4 MPU module LQFP 100

Hardware inside and outside of the ECU
User avatar
UnaClocker
Posts: 46
Joined: Tue May 13, 2014 12:14 am
Location: Tacoma, WA
Contact:

Re: stm32f4 main chip module

Post by UnaClocker » Sat May 17, 2014 3:14 am

I'll take a whack at one of the boards. Easy peasy.
Brian from Tacoma, WA
84 Dodge Rampage
01 PT Cruiser

User avatar
UnaClocker
Posts: 46
Joined: Tue May 13, 2014 12:14 am
Location: Tacoma, WA
Contact:

Re: stm32f4 main chip module

Post by UnaClocker » Tue May 20, 2014 2:13 am

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. ;)
Image
Image
Image
Image

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

User avatar
russian
Site Admin
Posts: 9520
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Soldering skill: yes
Coding skill?: yes
Contact:

Re: stm32f4 main chip module

Post by russian » Tue May 20, 2014 2:44 am

How is this even possible? How do you do it?
https://rusefi.com/s/howtocontribute
very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
my skype is arro239

User avatar
UnaClocker
Posts: 46
Joined: Tue May 13, 2014 12:14 am
Location: Tacoma, WA
Contact:

Re: stm32f4 main chip module

Post by UnaClocker » Tue May 20, 2014 3:12 am

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

User avatar
russian
Site Admin
Posts: 9520
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Soldering skill: yes
Coding skill?: yes
Contact:

Re: stm32f4 main chip module

Post by russian » Mon May 26, 2014 8:10 pm

[video][/video]

Image

Thank you @ 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.
https://rusefi.com/s/howtocontribute
very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
my skype is arro239

User avatar
UnaClocker
Posts: 46
Joined: Tue May 13, 2014 12:14 am
Location: Tacoma, WA
Contact:

Re: stm32f4 main chip module

Post by UnaClocker » Mon May 26, 2014 10:52 pm

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

User avatar
russian
Site Admin
Posts: 9520
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Soldering skill: yes
Coding skill?: yes
Contact:

Re: stm32f4 main chip module

Post by russian » Mon May 26, 2014 10:57 pm

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 @!
https://rusefi.com/s/howtocontribute
very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
my skype is arro239

User avatar
kb1gtt
contributor
contributor
Posts: 3407
Joined: Tue Sep 10, 2013 1:42 am
Location: ME of USA
Contact:

Re: stm32f4 main chip module

Post by kb1gtt » Mon May 26, 2014 11:43 pm

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.
Welcome to the friendlier side of internet crazy :)

User avatar
russian
Site Admin
Posts: 9520
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Soldering skill: yes
Coding skill?: yes
Contact:

Re: stm32f4 main chip module

Post by russian » Mon May 26, 2014 11:46 pm

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 :)
https://rusefi.com/s/howtocontribute
very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
my skype is arro239

User avatar
russian
Site Admin
Posts: 9520
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Soldering skill: yes
Coding skill?: yes
Contact:

Re: stm32f4 MPU module

Post by russian » Tue Dec 09, 2014 3:17 am

https://rusefi.com/s/howtocontribute
very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
my skype is arro239

User avatar
russian
Site Admin
Posts: 9520
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Soldering skill: yes
Coding skill?: yes
Contact:

Re: stm32f4 MPU module LQFP 100

Post by russian » Fri Dec 12, 2014 8:38 pm

russian wrote:we are targeting STM32F407VGT6 chip which is 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 C

No idea if this changes anything for us. This one is in stock @ Mouser.
https://rusefi.com/s/howtocontribute
very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
my skype is arro239

User avatar
russian
Site Admin
Posts: 9520
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Soldering skill: yes
Coding skill?: yes
Contact:

Re: stm32f4 MPU module LQFP 100

Post by russian » Mon Jan 05, 2015 4:42 am

this board has it's own life outside of rusEfi now :) http://www.eevblog.com/forum/microcontr ... l-circuit/
https://rusefi.com/s/howtocontribute
very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
my skype is arro239

User avatar
kb1gtt
contributor
contributor
Posts: 3407
Joined: Tue Sep 10, 2013 1:42 am
Location: ME of USA
Contact:

Re: stm32f4 MPU module LQFP 100

Post by kb1gtt » Mon Jan 05, 2015 11:22 am

Cool. I should fix the 3D of those push buttons.
Welcome to the friendlier side of internet crazy :)

Suprazz
Posts: 7
Joined: Mon Mar 07, 2016 6:12 pm

Re: stm32f4 MPU module LQFP 100

Post by Suprazz » Tue Mar 08, 2016 6:14 pm

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.

User avatar
kb1gtt
contributor
contributor
Posts: 3407
Joined: Tue Sep 10, 2013 1:42 am
Location: ME of USA
Contact:

Re: stm32f4 MPU module LQFP 100

Post by kb1gtt » Tue Mar 08, 2016 6:23 pm

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 :)

User avatar
russian
Site Admin
Posts: 9520
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Soldering skill: yes
Coding skill?: yes
Contact:

Re: stm32f4 MPU module LQFP 100

Post by russian » Tue Mar 08, 2016 6:33 pm

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.
https://rusefi.com/s/howtocontribute
very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
my skype is arro239

Suprazz
Posts: 7
Joined: Mon Mar 07, 2016 6:12 pm

Re: stm32f4 MPU module LQFP 100

Post by Suprazz » Wed Mar 09, 2016 1:08 am

You know what!? I did the quote for the 176 pins version if reality... So it might be an interesting option!

User avatar
russian
Site Admin
Posts: 9520
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Soldering skill: yes
Coding skill?: yes
Contact:

Re: stm32f4 MPU module LQFP 100

Post by russian » Wed Dec 07, 2016 3:31 am

Barely on-topic, but a great picture from http://www.mobilerobots.pl/web_images/s ... pinout.png
Attachments
stm32f4_discovery_pinout.png
stm32f4_discovery_pinout.png (1.16 MiB) Viewed 3661 times
https://rusefi.com/s/howtocontribute
very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
my skype is arro239

User avatar
russian
Site Admin
Posts: 9520
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Soldering skill: yes
Coding skill?: yes
Contact:

Re: stm32f4 MPU module LQFP 100

Post by russian » Wed Dec 21, 2016 2:18 am

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/re ... -from.html
Attachments
screenshot.png
screenshot.png (624.9 KiB) Viewed 3625 times
https://rusefi.com/s/howtocontribute
very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
my skype is arro239

User avatar
russian
Site Admin
Posts: 9520
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Soldering skill: yes
Coding skill?: yes
Contact:

Re: stm32f4 MPU module LQFP 100

Post by russian » Wed Dec 21, 2016 5:07 am

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
st_link.png (97.65 KiB) Viewed 3621 times
https://rusefi.com/s/howtocontribute
very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
my skype is arro239

User avatar
kb1gtt
contributor
contributor
Posts: 3407
Joined: Tue Sep 10, 2013 1:42 am
Location: ME of USA
Contact:

Re: stm32f4 MPU module LQFP 100

Post by kb1gtt » Sat Dec 24, 2016 12:13 am

Did I guess this correctly?
Attachments
Untitled.png
Untitled.png (7.63 KiB) Viewed 3569 times
Welcome to the friendlier side of internet crazy :)

User avatar
russian
Site Admin
Posts: 9520
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Soldering skill: yes
Coding skill?: yes
Contact:

Re: stm32f4 MPU module LQFP 100

Post by russian » Sat Dec 24, 2016 1:05 am

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.
https://rusefi.com/s/howtocontribute
very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
my skype is arro239

User avatar
russian
Site Admin
Posts: 9520
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Soldering skill: yes
Coding skill?: yes
Contact:

Re: stm32f4 MPU module LQFP 100

Post by russian » Sat Dec 24, 2016 1:17 am

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.
https://rusefi.com/s/howtocontribute
very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
my skype is arro239

User avatar
kb1gtt
contributor
contributor
Posts: 3407
Joined: Tue Sep 10, 2013 1:42 am
Location: ME of USA
Contact:

Re: stm32f4 MPU module LQFP 100

Post by kb1gtt » Sat Dec 24, 2016 1:35 am

I think you mean IDC or header.
http://www.ebay.com/itm/New-10PCS-10-Pi ... 1411798788

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- ... 2437084318
Welcome to the friendlier side of internet crazy :)

User avatar
russian
Site Admin
Posts: 9520
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Soldering skill: yes
Coding skill?: yes
Contact:

Re: stm32f4 MPU module LQFP 100

Post by russian » Sat Dec 24, 2016 1:42 am

"key" was the keyword to get that notch

http://www.ebay.com/itm/10-Pcs-2-54mm-0 ... 1878091305
https://rusefi.com/s/howtocontribute
very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
my skype is arro239

User avatar
kb1gtt
contributor
contributor
Posts: 3407
Joined: Tue Sep 10, 2013 1:42 am
Location: ME of USA
Contact:

Re: stm32f4 MPU module LQFP 100

Post by kb1gtt » Sat Dec 24, 2016 2:23 am

Is this correct?
Attachments
Untitled.png
Untitled.png (4.03 KiB) Viewed 3560 times
Welcome to the friendlier side of internet crazy :)

User avatar
russian
Site Admin
Posts: 9520
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Soldering skill: yes
Coding skill?: yes
Contact:

Re: stm32f4 MPU module LQFP 100

Post by russian » Sat Dec 24, 2016 2:26 am

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.
https://rusefi.com/s/howtocontribute
very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
my skype is arro239

User avatar
kb1gtt
contributor
contributor
Posts: 3407
Joined: Tue Sep 10, 2013 1:42 am
Location: ME of USA
Contact:

Re: stm32f4 MPU module LQFP 100

Post by kb1gtt » Sat Dec 24, 2016 10:10 am

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
Untitled.png (19.46 KiB) Viewed 3553 times
Welcome to the friendlier side of internet crazy :)

User avatar
kb1gtt
contributor
contributor
Posts: 3407
Joined: Tue Sep 10, 2013 1:42 am
Location: ME of USA
Contact:

Re: stm32f4 MPU module LQFP 100

Post by kb1gtt » Sat Dec 24, 2016 12:01 pm

Was there going to be a battery holder change on the back?
Welcome to the friendlier side of internet crazy :)

User avatar
russian
Site Admin
Posts: 9520
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Soldering skill: yes
Coding skill?: yes
Contact:

Re: stm32f4 MPU module LQFP 100

Post by russian » Sat Dec 24, 2016 2:44 pm

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.
https://rusefi.com/s/howtocontribute
very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
my skype is arro239

Post Reply