Hi everybody, We have a big problem with the MDK 4.60 version. Having the same Keil version, same project, files, libraries etc... Keil generates different output files for programming the STM32F417 on two different computers.
This wouldn't be a problem, but one output file causes fault work of the uC - the UART isn't working. What could be the cause of this problem? Any suggestions?
I use the stm32f2xx and Keil had a default for the HSE in the enviroment and there is a HSE setting in the source files.
Ah, the joy of using so-called 'libraries'! I wonder if they solve more problems than they create.
check the system_stm32f4xx.c and where the project is picking it up from
If you use a different HSE clk than the standard default Keil value and demo boards you will need to make sure all the clk rates are correct.
I use a 8 mhz clk rather than the 25Mhz on the eval board so had to use the STM excel app to generate the file.
It was the stm32f4xx.h HSE clk! Guys, thank you so much for helping!