I am using STEVAL-IHM042V1 bldc dev board in which STM32F303xc is used and having inbuilt ST-LINK.
So, I took demo code as ST_STM32F3_DISCOVERY which is having same processor.
I use the same code and tried to flash and debug. I found processor get halted at following line. In function stm32_clock_init
Code: Select all
while (!(RCC->CR & RCC_CR_HSERDY))Because Discovery board is works on Internal Oscillator and board i m using is working on External crystal. So, I enabled this STM32_HSE_ENABLED.
And after that i tried to flash but board was not responding. I reseted many times, disconnect/connect but not at all working after that.
And also previously led on board was changing color but after this happening only it was yellow color.
After that i restarted ChibiStudio, then i got following error when i tried to flash.