ChibiOS public support forum for topics related to the STMicroelectronics STM32 family of micro-controllers.
Moderator: RoccoMarco
Tabulous
Posts: 518 Joined: Fri May 03, 2013 12:02 pm
Has thanked: 7 times
Been thanked: 18 times
Post
by Tabulous » Wed Nov 25, 2015 1:45 pm
Giovanni wrote: I have a STM32F041 Nucleo32 board, I could test on that but I am having problems flashing it using OpenOCD, have to understand why. Giovanni
F041 ???
thats not even listed on ST website
Tabulous
Posts: 518 Joined: Fri May 03, 2013 12:02 pm
Has thanked: 7 times
Been thanked: 18 times
Post
by Tabulous » Fri Nov 27, 2015 9:55 am
F042K6 this is a more normal clock tree, so i believe it will work outta the box. Its the parts that have hardware div2 and no PREDIV that dont work
Tabulous
Posts: 518 Joined: Fri May 03, 2013 12:02 pm
Has thanked: 7 times
Been thanked: 18 times
Post
by Tabulous » Fri Nov 27, 2015 10:05 am
Tabulous wrote: F042K6 this is a more normal clock tree, so i believe it will work outta the box. Its the parts that have hardware div2 and no PREDIV that dont work
if you also get a F031K6 this has the other clock tree, so if your get it it working with both these all should be good
Giovanni
Site Admin
Posts: 14893 Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times
Post
by Giovanni » Mon Nov 30, 2015 4:58 pm
Hi, I made both of them (F031K6 and F042K6) work, there was an error in makefiles but not both demos are OK. Giovanni
Tabulous
Posts: 518 Joined: Fri May 03, 2013 12:02 pm
Has thanked: 7 times
Been thanked: 18 times
Post
by Tabulous » Mon Nov 30, 2015 6:33 pm
Giovanni wrote: Hi, I made both of them (F031K6 and F042K6) work, there was an error in makefiles but not both demos are OK. Giovanni
is this updated on the repo ?
Tabulous
Posts: 518 Joined: Fri May 03, 2013 12:02 pm
Has thanked: 7 times
Been thanked: 18 times
Post
by Tabulous » Tue Dec 01, 2015 2:07 pm
STill cant get the STM32F030CC working, still bombs the debug when enabling the PLL in the clock setup......... one thing i have found weird is using ST-Link flasher it detects the part as Device family :STM32F091xB-xC/F098xC which is weird......ST must be doing something like using 91/98 silicon for other devices.
Tabulous
Posts: 518 Joined: Fri May 03, 2013 12:02 pm
Has thanked: 7 times
Been thanked: 18 times
Post
by Tabulous » Tue Dec 01, 2015 2:28 pm
yep
even just tried the the Nucleo F091RC demo on my target hardware and this does the same as soon as you single step through PLL enable
Code: Select all
/* PLL activation.*/ RCC->CR |= RCC_CR_PLLON;debugger is dropped....