i'm nagendra murthy, i'm developing code for STM32F427VITboard for blinking the led using keil. i'm facing the problem in solving this error *** error 65: access violation at 0x40023800 : no 'read' permission. i have connected the LED to port B pin no 14 and 15. program is running without errora and warning. but when i debug it. it is showing error mentioned above.. please help me..
The problem is that the STM32F4 series is not fully simulated and therefore any peripheral access causes an access violation.
We recommend to use target debugging instead.
Where can I find any official statement like this in Keil MDK's document? How about STM32F3 series then?
http://www.keil.com/dd/
Select a specific chip.
Today's wording is
"Complete peripheral simulation is not available and is not planned to be implemented by ARM." - http://www.keil.com/dd/chip/6331.htm
Which basically translates to there are now thousands of chips, hundreds in any given vendor family, we can't test/validate all those, and won't, if you need gate-level simulation be prepared to go to such a tool vendor and write a *very* big cheque.
Your choices are to buy a $10-100 board that gets you enough function you can test your ideas on it, or partition your design so you can test the logic/core function in a HW agnostic way first, by building a test framework that emulates the hardware on the edges with code, scripts, and data files.
Takes a special kind of fool to build a board they can't access, program or debug.
aka consultant.
The data sheet says the stm32f427 is very close tP Stm32f10x in most of the pin out. Maybe you can simulate with a slightly different part that is close.
The Keil simulator knows nothing about pinout - so it would be better to look for something that it most internally similar.