[info] stm32f4 MPU module LQFP 100
- AndreyB
- Site Admin
- Posts: 14328
- 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 24116 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: 14328
- 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 24112 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 24036 times
Welcome to the friendlier side of internet crazy
- AndreyB
- Site Admin
- Posts: 14328
- 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: 14328
- 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: 14328
- 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 24027 times
Welcome to the friendlier side of internet crazy
- AndreyB
- Site Admin
- Posts: 14328
- 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 24020 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: 14328
- 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
Re: stm32f4 MPU module LQFP 100
So how would you connect the USB? If this is to plug directly into the board, it would be hard to get the laptop connected to the USB. So it will either need an USB cable, or a ribbon cable. If it has a ribbon cable, would that ribbon cable mirror it? Would we expect they use a USB extension cable? Perhaps something like the below.
http://www.ebay.com/itm/2ft-60cm-Black-USB-Male-to-A-Female-Extension-Extender-Data-M-F-Adapter-Cable-/351940900304?hash=item51f14ff5d0:g:lfcAAOSw6n5XrQ9C
http://www.ebay.com/itm/2ft-60cm-Black-USB-Male-to-A-Female-Extension-Extender-Data-M-F-Adapter-Cable-/351940900304?hash=item51f14ff5d0:g:lfcAAOSw6n5XrQ9C
Welcome to the friendlier side of internet crazy
Re: stm32f4 MPU module LQFP 100
@russian, you got it through my thick head. The SWD is now mirrored and looks like this. It's kind of annoying because KICAD's pin 1 and the programming device's pin 1 are mirrored. But as far as I can tell this is now routed properly.
- Attachments
-
- Untitled.png (17.74 KiB) Viewed 20891 times
Welcome to the friendlier side of internet crazy
- AndreyB
- Site Admin
- Posts: 14328
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: stm32f4 MPU module LQFP 100
Thank you Santa!
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: 14328
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: stm32f4 MPU module LQFP 100
8) Check if there is a chance to match discovery board reset button 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
- AndreyB
- Site Admin
- Posts: 14328
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: stm32f4 MPU module LQFP 100
Got the boards and we have a problem with vertical USB connectors - instead of slots they've produced little holes
Damn. Emailing oshpark support.
Damn. Emailing oshpark support.
- Attachments
-
- screenshot.png (103.71 KiB) Viewed 20833 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
From here http://docs.oshpark.com/submitting-orders/cutouts-and-slots/
It appears that OSHPark has some special and less standard expectations for plated slots. Even if you follow some funky rules, it's kind of a crap shoot if they happen to notice it's a plated slot.As mentioned above, there is no guarantee that this call out will produce the expected results, and the use of plated slots is discouraged.
Welcome to the friendlier side of internet crazy
Re: stm32f4 MPU module LQFP 100
As well, even if you follow the odd OSHPark rule(s), and you happen to have a slot that's less than 40mils wide, you still get drilled holes instead of a slot. In our case the slot is 20mil wide, and making the slot 20mils wider is a problem. See the original below. I'm not sure that OSHPark can MFG this board. Either that or we have to commit to either horizontal USB or vertical USB, but it appears we can't get both from OSHPark.
- Attachments
-
- Capture.PNG (5.89 KiB) Viewed 20832 times
Welcome to the friendlier side of internet crazy
- AndreyB
- Site Admin
- Posts: 14328
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: stm32f4 MPU module LQFP 100
discovery: button center is 27.5mm above lowest 25x2 pad hole center
discovery: 24mm between button centers
brain 0.2: button center is 24mm above lowerst 25x2 hole center
brain 0.2: 17.5mm between button centers
on the brain board, can we lift buttons 3.5mm higher?
on the brain board, can we place the buttons 6.5mm futher apart?
we only need oshpart for prototyping. I am planning to snip these stands off the connector and see how good it would hold with just the five vertical terminals
discovery: 24mm between button centers
brain 0.2: button center is 24mm above lowerst 25x2 hole center
brain 0.2: 17.5mm between button centers
on the brain board, can we lift buttons 3.5mm higher?
on the brain board, can we place the buttons 6.5mm futher apart?
we only need oshpart for prototyping. I am planning to snip these stands off the connector and see how good it would hold with just the five vertical terminals
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
Per the below thread, OSHPark is aware that slots use a G85 command, and as of 2015 they were working on flagging this issue. However apparently that has not happened yet. See the drill file, which includes the G85 commands. Yet you got no warnings about this problem. This issue could be easily programically checked for and could easily prevent bad productions. I do not know why this is not part of the Dynamic Rule Checking (DRC). It's a simple items to check for when compared to the other stuff they do check for.
https://forum.kicad.info/t/oval-pads-not-possible-for-oshpark/835/5
https://forum.kicad.info/t/oval-pads-not-possible-for-oshpark/835/5
- Attachments
-
- Capture.PNG (6.18 KiB) Viewed 20832 times
Welcome to the friendlier side of internet crazy
- AndreyB
- Site Admin
- Posts: 14328
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: stm32f4 MPU module LQFP 100
Another drilling issue - see how red Frankenso five holes are the right size while brainboard board five holes are smaller?
- Attachments
-
- brain_02_drilling_issues.jpg (157.38 KiB) Viewed 20820 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
Can you measure your wire lead?
I see Frankenso R0.4 has the drill at 0.015, same for the OSHPark. So I expect them to be the same. Is the fat-est part of your lead 0.015in? It's possible that the Chinese board used the 0.15 as the finish diameter, and that OSHPark used it as the drill, such that plating makes it smaller.
As far as I can tell, these hole diameters should have been the same.
I see Frankenso R0.4 has the drill at 0.015, same for the OSHPark. So I expect them to be the same. Is the fat-est part of your lead 0.015in? It's possible that the Chinese board used the 0.15 as the finish diameter, and that OSHPark used it as the drill, such that plating makes it smaller.
As far as I can tell, these hole diameters should have been the same.
Welcome to the friendlier side of internet crazy
- AndreyB
- Site Admin
- Posts: 14328
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: stm32f4 MPU module LQFP 100
Why so small pads for D5 and else Ds?
- Attachments
-
- screenshot.png (46.94 KiB) Viewed 20699 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: 14328
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: stm32f4 MPU module LQFP 100
Getting closer to reality! With the SD grand-daughter board we will have logs and tuning access via the top plastic cover.
- Attachments
-
- sd_vertical_usb_proto.jpg (255.33 KiB) Viewed 20673 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
-
- Posts: 113
- Joined: Fri Jan 13, 2017 4:15 am
- Location: CT
Re: stm32f4 MPU module LQFP 100
This is relevant to my interests.
Can we put the the MCU right on Frankenso 0.4? I was wondering if i could just take off the discovery board and installmit right on the main board.
Can we put the the MCU right on Frankenso 0.4? I was wondering if i could just take off the discovery board and installmit right on the main board.
- AndreyB
- Site Admin
- Posts: 14328
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: stm32f4 MPU module LQFP 100
This was done. Once. Two years agosleepingAwake wrote:Can we put the the MCU right on Frankenso 0.4? I was wondering if i could just take off the discovery board and installmit right on the main board.
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
Where can I get one those SD card thingies, and how does it connect to the board?russian wrote:Getting closer to reality! With the SD grand-daughter board we will have logs and tuning access via the top plastic cover.
- AndreyB
- Site Admin
- Posts: 14328
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: stm32f4 MPU module LQFP 100
Pictures coming very soon. Granddaughter board only works with rusEfi own brain board (not discovery), but actually now that you ask we can make a little adapter board for the SD card granddaughter board.tomiata wrote:Where can I get one those SD card thingies, and how does it connect to the board?
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
-
- Posts: 113
- Joined: Fri Jan 13, 2017 4:15 am
- Location: CT
Re: stm32f4 MPU module LQFP 100
russian wrote:This was done. Once. Two years agosleepingAwake wrote:Can we put the the MCU right on Frankenso 0.4? I was wondering if i could just take off the discovery board and installmit right on the main board.
Anyone reason it wasnt pursued further?