Programming 'F407 ...

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

Re: Programming 'F407 ...

Post by victor_pv » Tue Feb 21, 2017 3:47 am

luudee wrote:Hi Guys,

Thanks for all the messages !

So I made a bit progress ! The Koduino library was surprisingly easy to set
up and use.

Edoglando, funny you should ask ! Out of the 10 boards I have, 4 seem
not to like the programming and do not execute my test sketch. The other
6 appear to work.

Now, I have 6 blinking boards and 4 "dead" ones. The dead ones are quite
interesting, and I wonder if it is a programming "bug" or "feature". I can
program the Flash, and read back, even after power cycling, BUT, it does
not execute my simple blinking sketch. I have also been trying to force the
use of HSI, instead of HSE to avoid external crystal issues. Not sure if that
has propagated now or not, or even if it will become effective when using
dfu, or I must use st-link.

I ideas guys ? Sound like a strange issue, and 4 boards having the same
issue, is also strange ...

BTW, destroyed a second st-link adapter last night. What's wrong with these
things, ? Looks like the LDO is dead, if powered by external battery it seems
to work :/

Many Thanks,
Perhaps a bad solder somewhere and the MCU pins for boot0 and boot1 are left floating?

Posts: 1674
Joined: Wed Jul 08, 2015 2:09 pm
Location: St Annes, Lancs,UK

Re: Programming 'F407 ...

Post by zmemw16 » Tue Feb 21, 2017 6:15 am

there doesn't seem to be a 'verse' for the generic f407 in boards.txt

this board is from ... 0.0.z0LbZh

very kindly they give ... 0.0.z0LbZh

if you toddle off there and get the 39M zip, unzipping gives a missing central something error :(
i did a rename to lose the spaces and shorten it

Code: Select all

zip -FF  -o
i use midnight commander and also do a rename to lose weird :) font characters when extracting

Code: Select all

total 39672
drwxr-xr-x   4 stephen stephen     4096 Feb 21 05:09 ./
drwxr-xr-x 150 stephen stephen    57344 Feb 21 05:05 ../
drwxr-xr-x   4 stephen stephen     4096 Oct 28  2015 STM32F407VET6/
-rw-r--r--   1 stephen stephen 26426027 Aug 29 13:49 STM32F407VET6.rar
drwxr-xr-x   7 stephen stephen     4096 Feb 21 05:08 STM32F407VET6VGT6_LED/
-rw-r--r--   1 stephen stephen   910272 Aug 29 13:48 STM32F407VET6VGT6_schematic.pdf
LED is PB0
force re-enum is PD6

apols if i'm slightly OTT


ps. i've added it as 'links' on the wiki

Post Reply