I just start Working on Stm32F070RBT6.I am using CubeMx to Configure Keil and I tried Blinky Example and run it in simulator mode.But The Example Is not working perfectly.I tried all the procedure available on internet but Still It is not working.After That I used Breakpoints and Step Debugging and I found That the problem is in Clock Configuration and my Program Stop At some king of Error Handler.I can't find any solution for that.Pleas Help. Below I am posting the Point where my Program enter into Error Handler.
RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSI; RCC_OscInitStruct.HSIState = RCC_HSI_ON; RCC_OscInitStruct.HSICalibrationValue = 16; RCC_OscInitStruct.PLL.PLLState = RCC_PLL_ON; RCC_OscInitStruct.PLL.PLLSource = RCC_PLLSOURCE_HSI; RCC_OscInitStruct.PLL.PLLMUL = RCC_PLL_MUL12; RCC_OscInitStruct.PLL.PREDIV = RCC_PREDIV_DIV1; if (HAL_RCC_OscConfig(&RCC_OscInitStruct) != HAL_OK) { _Error_Handler(__FILE__, __LINE__); }
Does Keil claim to support this part fully in simulation?
For Stm32F070RB, no simulation is supported, please refer below link: http://www.keil.com/dd2/stmicroelectronics/stm32f070rb/
Respected Sir, I Cant find any thing that say Keil does not Support the simulation mode and I tried same for STM32F4xx but the same problem occurs in that also. And If Keil is not Supporting my board Please tell me how can I check my Code, weather it is write or not.
You have subjected it to Static Analysis and Code Review, haven't you ... ?
Nowadays, with on-chip debug, the value of the kind of simulation offered by uVision is questionable.
Why not just run your code in your board with the debugger connected?