Page 4 of 6
Re: STM32F030C8T6 Clock Issue
Posted: Wed Nov 25, 2015 1:45 pm
by Tabulous
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
Re: STM32F030C8T6 Clock Issue
Posted: Wed Nov 25, 2015 2:06 pm
by Giovanni
My fault, it is F042K6.
Giovanni
Re: STM32F030C8T6 Clock Issue
Posted: Fri Nov 27, 2015 9:55 am
by Tabulous
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
Re: STM32F030C8T6 Clock Issue
Posted: Fri Nov 27, 2015 10:05 am
by Tabulous
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
Re: STM32F030C8T6 Clock Issue
Posted: Mon Nov 30, 2015 4:58 pm
by Giovanni
Hi,
I made both of them (F031K6 and F042K6) work, there was an error in makefiles but not both demos are OK.
Giovanni
Re: STM32F030C8T6 Clock Issue
Posted: Mon Nov 30, 2015 6:33 pm
by Tabulous
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 ?
Re: STM32F030C8T6 Clock Issue
Posted: Mon Nov 30, 2015 7:55 pm
by Giovanni
Of course.
Giovanni
Re: STM32F030C8T6 Clock Issue
Posted: Tue Dec 01, 2015 2:07 pm
by Tabulous
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.
Re: STM32F030C8T6 Clock Issue
Posted: Tue Dec 01, 2015 2:21 pm
by Giovanni
Is cortex-m0 specified in the Makefile as target?
Giovanni
Re: STM32F030C8T6 Clock Issue
Posted: Tue Dec 01, 2015 2:28 pm
by Tabulous
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....