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..
...just entering some quick links related to "error 65: access violation..." : http://www.keil.com/forum/13439/ http://www.keil.com/support/docs/814.htm
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.
Simulation won't blink a physical LED on a board. Need to pick the hardware as the "debugging" target, and run it there.
Perhaps it would help to remove simulation as an option when it's not sufficiently complete, or have a popup stating what is and isn't supported in a given release rather than having to go to a web page, or get the #65 error.
Failed simulations is one of the most common threads here, so it would really be wise to give a clear indication directly in the IDE.
i'm not using debugger. there is no provision given in the board to connect st link debugger. so can you suggest any other method to solve the problem.
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.
Then get a board which does have debug access!! And use it!!
Seriously: trying to develop without the debug access is folly - you are deliberately tying your hands behind your back!
Are you replying to a post from May?
It's highly unlikely that bod even remembers making the post. If he's still working on his problem then he's got real issues.
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.