HI, I am using STM32f103c8 and keil for programing and am new to this. But i am facing problem of memory voilation when simulator choose in target configuration while debuging. its showing this error:*** error 65: access violation at 0x40021000 : no 'read' permission
Any help appreciated. Thanks in Advace
Why use any simulator at all?
As already suggested, why not just use a real board?
There is Proteus ...
https://www.labcenter.com/
All things have their place, people frequently seem to pick the wrong tool for the wrong job, or frankly escaping their own event horizon.
Keil uV support for simulation is tepid at best, we get the "error 65" posters here who just want to plug an address range into a table hoping it will create some functional behaviour. Although honestly expecting Keil to provide some simulation of a huge wad of ST IP is also probably unrealistic.
I don't have a problem developing the bulk of my code in Microsoft Visual C, around an abstracted framework, and then porting to real hardware, or a close proxy. Then again I don't need to single step every line of code I've written to know what it does.