Is anyone interested in helping to make an Arduino Due which uses [edited:] a 100-pin STM32L471

Working libraries, libraries being ported and related hardware
victor_pv
Posts: 1747
Joined: Mon Apr 27, 2015 12:12 pm

Re: Is anyone interested in helping to make an Arduino Due which uses [edited:] a 100-pin STM32L471

Post by victor_pv » Wed Oct 18, 2017 6:40 pm

I saw this stm32 version, but may not be for the F030:
https://github.com/x893/CMSIS-DAP

May give you a head start if you can't find an F030 version. Not sure how large

devan
Posts: 50
Joined: Sat May 14, 2016 1:45 am

Re: Is anyone interested in helping to make an Arduino Due which uses [edited:] a 100-pin STM32L471

Post by devan » Wed Oct 18, 2017 9:45 pm

On the topic of CMSIS-DAP, if you want the full mbed/Nucleo-style drag'n'drop functionality, that's based on the DAPLINK project, which is open source (but requires Keil/IAR to build) and has been ported to the STM32F103. Off the top of my head, the DAPLink firmware weighs in at about 50KiB and the bootloader adds another 32KiB.

If you want to use a smaller chip like the F042 (I assume you want an F042 because the original chip mentioned was an F070 and the F030 doesn't have USB), that's almost certainly not going to fit. If you just want CMSIS-DAP for debugging and maybe some extra USB-serial, that will fit fairly comfortably in 14-15KiB.

lkcl
Posts: 123
Joined: Thu Sep 28, 2017 5:48 am

Re: Is anyone interested in helping to make an Arduino Due which uses [edited:] a 100-pin STM32L471

Post by lkcl » Thu Oct 19, 2017 3:33 am

devan wrote:
Wed Oct 18, 2017 9:45 pm
If you want to use a smaller chip like the F042 (I assume you want an F042 because the original chip mentioned was an F070 and the F030 doesn't have USB), that's almost certainly not going to fit. If you just want CMSIS-DAP for debugging and maybe some extra USB-serial, that will fit fairly comfortably in 14-15KiB.
yehyeh, the idea is to use the F030 as a near-equivalent=cost version of a USB-UART, with the advantage of flexibility which you certainly wouldn't get from e.g. a CH340G. the F030 has USB alright, just not crystal-less operation. whatever extra can fit in its limited NAND/RAM is a huge plus.

lkcl
Posts: 123
Joined: Thu Sep 28, 2017 5:48 am

Re: Is anyone interested in helping to make an Arduino Due which uses [edited:] a 100-pin STM32L471

Post by lkcl » Thu Oct 19, 2017 3:34 am

victor_pv wrote:
Wed Oct 18, 2017 6:40 pm
I saw this stm32 version, but may not be for the F030:
https://github.com/x893/CMSIS-DAP

May give you a head start if you can't find an F030 version. Not sure how large
super. i'm putting all this in the README, i know how things go with forum messages whizzing by...

devan
Posts: 50
Joined: Sat May 14, 2016 1:45 am

Re: Is anyone interested in helping to make an Arduino Due which uses [edited:] a 100-pin STM32L471

Post by devan » Thu Oct 19, 2017 3:58 am

lkcl wrote:
Thu Oct 19, 2017 3:33 am
the F030 has USB alright, just not crystal-less operation.
What's your source for that? Is this one of those secret features that's not listed on the datasheet like USB on the F101?

lkcl
Posts: 123
Joined: Thu Sep 28, 2017 5:48 am

Re: Is anyone interested in helping to make an Arduino Due which uses [edited:] a 100-pin STM32L471

Post by lkcl » Thu Oct 19, 2017 4:55 am

ok, so i'm really really pissed... at myself. i got word from the factory: they can't get hold of the STM32L471VCT6. what that means is: EVERY single one of the many, many "low-cost" taobao suppliers is FAKE.

now, normally, i apply the rule "discard immediately all parts without a huge number of suppliers, then throw out the high-cost ones, throw out the low-cost ones: what's left is likely to be ok".

unfortunately there were SO MANY "fake" suppliers for the STM32L471VCT6 that it hid the fact that there simply... aren't any suppliers - at all - with this part.

so... mike would have to IMPORT it... at a cost of around $USD 12 per part. which puts a massive delay on getting it in.... which in turn means i'm not going to meet the Shenzhen Maker Faire deadline.

so.... i have 10 PCBs on the way, i am quite happy to send some to people who have better access to digikey than i do, and i could likely also get the remaining low-cost components and sell those at cost as well. alternatively, they're all digikey-listed parts so anyone who would like to make this board up can do so.

"aaaargh" is all i can say right now.

anyway the good news is, there is plenty of time, with not having to meet the november 10th-12th deadline, on how to get a lower-cost (decent, 32-bit) arduino-compatible board using an STM32 processor.

lkcl
Posts: 123
Joined: Thu Sep 28, 2017 5:48 am

Re: Is anyone interested in helping to make an Arduino Due which uses [edited:] a 100-pin STM32L471

Post by lkcl » Thu Oct 19, 2017 5:36 am

ok, i think the board *might* be rescuable... by using an STM32F427VIT6 instead. there's a couple of differences on the power lines: also there's some indication / hint from the STM32F427 datasheet that the STM32F10xx family are also pin-compatible. that would be extremely good news as it would appear that by accident i've designed something that could take e.g. an STM32F103VCT6. which _is_ extremely common and actually available, only problem being it's 256k NAND / 64k RAM.

i think what i'll do is grab a handful of various processors, and see how it goes, cutting tracks to make power-compatible with the F427 series as necessary, and work on a redesign after SZMF to take advantage of the fact that all these processors have USB: the F427s even also have OTG.

... whew....

User avatar
martinayotte
Posts: 1229
Joined: Mon Apr 27, 2015 1:45 pm

Re: Is anyone interested in helping to make an Arduino Due which uses [edited:] a 100-pin STM32L471

Post by martinayotte » Thu Oct 19, 2017 4:30 pm

devan wrote:
Thu Oct 19, 2017 3:58 am
lkcl wrote:
Thu Oct 19, 2017 3:33 am
the F030 has USB alright, just not crystal-less operation.
What's your source for that? Is this one of those secret features that's not listed on the datasheet like USB on the F101?
F030 doesn't have any USB ...

lkcl
Posts: 123
Joined: Thu Sep 28, 2017 5:48 am

Re: Is anyone interested in helping to make an Arduino Due which uses [edited:] a 100-pin STM32L471

Post by lkcl » Thu Oct 19, 2017 5:10 pm

martinayotte wrote:
Thu Oct 19, 2017 4:30 pm
devan wrote:
Thu Oct 19, 2017 3:58 am
lkcl wrote:
Thu Oct 19, 2017 3:33 am
the F030 has USB alright, just not crystal-less operation.
What's your source for that? Is this one of those secret features that's not listed on the datasheet like USB on the F101?
F030 doesn't have any USB ...
... i'm an idiot! i have 2-3 other boards i'm doing, which use the F030, they're pin-compatible, i just ordered the wrong darn part for this board, gaah. i meant to order the STM32F070 *sigh*. okaay so not such a big mess, i can at least use the F030s for the other boards when i've finished them. ah dearie me - thank you martin and devan for pointing out the deliberate mistake...

User avatar
martinayotte
Posts: 1229
Joined: Mon Apr 27, 2015 1:45 pm

Re: Is anyone interested in helping to make an Arduino Due which uses [edited:] a 100-pin STM32L471

Post by martinayotte » Thu Oct 19, 2017 6:54 pm

The STM32F042 has the USB, but I didn't verify the pinout compatibility.

Post Reply