Hello All, I need to start the flash program from 0x08020000 origin. I have updated the linker file with that value as you can see at below./* Memories definition */
MEMORY
{
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 64K
FLASH (rx) ...
I have detected the error source. But, I don't understand why I receive such an error. Do you have any idea? /*-------------------------------- PLL Configuration -----------------------*/
if((RCC_OscInitStruct->PLL.PLLState) == RCC_PLL_OFF)
{
...
I have researched on the internet, but I can not find anything about the issue. Could you please help me about the problem? What may be root cause of the problem?Here is the RCC configuration:void SystemClock_Config(void)
{
RCC_OscInitTypeDef RCC_O...
So, the system enters to Error_Handler();void SystemClock_Config(void)
{
if (HAL_RCC_OscConfig(&RCC_OscInitStruct) != HAL_OK)
{
Error_Handler();
}
}There is a problem about RCC_OscConfig as far as I understand. What may be the problem ?
Dear All, I have solved the problem. I have compared all the c and header files between previous version and updated version of stmcubeMX. I detected that there is a difference between main.c files as you can see at below:void Error_Handler(void)
{
...
As I mentioned, the system is working accurately with CubeMX version 5.0.0, but it doesn't work above 5.0.0. Some questions have answers with this information. I have also debugged the system, the system enters hard fault and VTOR register returns th...