I am using STM32f103c8 and keil for programing and am new to
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
refer to: http://www.keil.com/support/docs/4045.htm
The simulator has limited functionality, and you have hit those
Buy a better simulator or use real hardware.
What "better simulator" are you aware of?
Mentor has some gate level simulation tools, ARM has some CPAKS
related stuff based on the RTL, people have integrated that into
other tools. QEMU offers STM32F4 support, and could probably be
further modified. Jumper has STM32F4 products.
With the proliferation of chips/vendors, and $10-$20 price points
for actual hardware/boards, ARM/Keil seems to have become
disinterested in developing the simulator in uVision, or
providing/promoting a toolkit for users to extend and expand current
functionality. There was ASGI, but I haven't looked at that in
Is there something newer than 2005? http://www.keil.com/appnotes/docs/apnt_154.asp
A half competent computer architecture graduate could probably
code a half decent emulation/simulation from available resources.
Wilson created a whole suite of tools in BBC BASIC
Why use any simulator at all?
As already suggested, why not just use a real board?
There is Proteus ...
All things have their place, people frequently seem to pick the
wrong tool for the wrong job, or frankly escaping their own event
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.
View all questions in Keil forum