Hello,
I am new and doing my first steps with the ARM Cortex evaluation board from Keil. I want to read a SPI device at SPI2 and I want to use the ST library. Everything is fine and compiles and downloads, BUT when I ran the program then I got an : *** error 65: access violation at 0x40003800 : no 'read' permission
When I type MAP then I see, that there is no read write defined for the SPI2 location.
Does anybody know, what has to be done, that the map is setup correctly, when using the SPI2 with the ST library ?
Any help would be great.
Uwe Renschler
Are there some documents out, where this can be read ?
There's a user's manual for the debugger, and a reference manual for the debugger's builtin commands, e.g. here: http://www.keil.com/support/man/docs/uv4/uv4_debug_commands.htm. You have this documentation locally on your machine, too.
Try inserting this line near the top of your code as it seem's to cure a lot of wierd problems
#include <stdlib.h>
"it seem's (sic) to cure a lot of wierd problems"
The only problems it will fix are those related to using stuff that's defined in the stdint.h header - part of the standard 'C' library.
It has absolutely nothing whatsoever to do with the error at hand!