Hi,
I'm trying to simulate a STM32F030C8Tx (a ST Cortex M0) part in Keil.
The problem is that the firmware monitors the HSERDY flag in the Clock control register (RCC_CR) to determine if the external 8MHz crystal is oscillating (set in the XTAL parameter of the Options->Target dialogue).
The problem is that this flag never seems to get set through the simulator, and so the firmware returns an error.
How can you get the simulator to set this automatically? It is disabled in the Peripherals->System Viewer->RCC panel and therefore I'm unable to set it even manually!
I'm trying to get as much of the pre-release firmware tested (through the simulator) before my prototype PCB arrives in September (due to tight development deadlines).
Any help in this regard will be greatly appreciated,
Nicholas