Page 2 of 5

Re: stm32f4 main chip module

Posted: Sat May 17, 2014 3:14 am
by UnaClocker
I'll take a whack at one of the boards. Easy peasy.

Re: stm32f4 main chip module

Posted: Tue May 20, 2014 2:13 am
by UnaClocker
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

Re: stm32f4 main chip module

Posted: Tue May 20, 2014 2:44 am
by AndreyB
How is this even possible? How do you do it?

Re: stm32f4 main chip module

Posted: Tue May 20, 2014 3:12 am
by UnaClocker
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. :)

Re: stm32f4 main chip module

Posted: Mon May 26, 2014 8:10 pm
by AndreyB


Image

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.

Re: stm32f4 main chip module

Posted: Mon May 26, 2014 10:52 pm
by UnaClocker
haha! Awesome! Glad to see it living! Motivates me to put some more work into the other two. :)

Re: stm32f4 main chip module

Posted: Mon May 26, 2014 10:57 pm
by AndreyB
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 @!

Re: stm32f4 main chip module

Posted: Mon May 26, 2014 11:43 pm
by kb1gtt
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.

Re: stm32f4 main chip module

Posted: Mon May 26, 2014 11:46 pm
by AndreyB
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 :)

Re: stm32f4 MPU module

Posted: Tue Dec 09, 2014 3:17 am
by AndreyB

Re: stm32f4 MPU module LQFP 100

Posted: Fri Dec 12, 2014 8:38 pm
by AndreyB
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.

Re: stm32f4 MPU module LQFP 100

Posted: Mon Jan 05, 2015 4:42 am
by AndreyB
this board has it's own life outside of rusEfi now :) http://www.eevblog.com/forum/microcontrollers/stm32f4-minimal-circuit/

Re: stm32f4 MPU module LQFP 100

Posted: Mon Jan 05, 2015 11:22 am
by kb1gtt
Cool. I should fix the 3D of those push buttons.

Re: stm32f4 MPU module LQFP 100

Posted: Tue Mar 08, 2016 6:14 pm
by Suprazz
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.

Re: stm32f4 MPU module LQFP 100

Posted: Tue Mar 08, 2016 6:23 pm
by kb1gtt
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.

Re: stm32f4 MPU module LQFP 100

Posted: Tue Mar 08, 2016 6:33 pm
by AndreyB
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.

Re: stm32f4 MPU module LQFP 100

Posted: Wed Mar 09, 2016 1:08 am
by Suprazz
You know what!? I did the quote for the 176 pins version if reality... So it might be an interesting option!

Re: stm32f4 MPU module LQFP 100

Posted: Wed Dec 07, 2016 3:31 am
by AndreyB

Re: stm32f4 MPU module LQFP 100

Posted: Wed Dec 21, 2016 2:18 am
by AndreyB
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

Re: stm32f4 MPU module LQFP 100

Posted: Wed Dec 21, 2016 5:07 am
by AndreyB
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

Re: stm32f4 MPU module LQFP 100

Posted: Sat Dec 24, 2016 12:13 am
by kb1gtt
Did I guess this correctly?

Re: stm32f4 MPU module LQFP 100

Posted: Sat Dec 24, 2016 1:05 am
by AndreyB
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.

Re: stm32f4 MPU module LQFP 100

Posted: Sat Dec 24, 2016 1:17 am
by AndreyB
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.

Re: stm32f4 MPU module LQFP 100

Posted: Sat Dec 24, 2016 1:35 am
by kb1gtt
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

Re: stm32f4 MPU module LQFP 100

Posted: Sat Dec 24, 2016 1:42 am
by AndreyB

Re: stm32f4 MPU module LQFP 100

Posted: Sat Dec 24, 2016 2:23 am
by kb1gtt
Is this correct?

Re: stm32f4 MPU module LQFP 100

Posted: Sat Dec 24, 2016 2:26 am
by AndreyB
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.

Re: stm32f4 MPU module LQFP 100

Posted: Sat Dec 24, 2016 10:10 am
by kb1gtt
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.

Re: stm32f4 MPU module LQFP 100

Posted: Sat Dec 24, 2016 12:01 pm
by kb1gtt
Was there going to be a battery holder change on the back?

Re: stm32f4 MPU module LQFP 100

Posted: Sat Dec 24, 2016 2:44 pm
by AndreyB
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.