2017-01-30 11:59 PM
I try to programm stm32f405RG MCU using stm32f4-discovery as a programmer. I use Keil 5. I connect chips throgh SWD. I can load prodramm on stm32f405, but it doesn't work. I run debug session in Keil and see, that programm doesn't run after SystemClock_Config(). Going step by step I get a lot of 'Cannot access memory' messages in Command window. Approximetly at line 'else if(RCC_ClkInitStruct->SYSCLKSource == RCC_SYSCLKSOURCE_PLLCLK)'. The same program for stm32f4-discovery works properly.405 and 407 have almost the same
characteristics
. I think that problem is in using SWD.2017-05-03 06:08 PM
Did you solve this problem?
I have the same problem, too.
It would be grateful to share the solution.
2017-05-04 12:02 AM
The same program for stm32f4-discovery works properly.405 and 407 have almost the same
characteristics
.That is just half of the problem.
The F407VG on the F4-Discovery has a 8 MHz quartz oscillator attached to pins PH0 and PH1.
Does your F405 board has the same ?