Problems simulating Tiva TM4C123G using ARM-MDK 5.12.0.0.
Hi all,
I need a bit of help. I havent worked with Keil IDE for more the 10 years and just started to play around wiht the TI Tiva C TM4C123G LaunchPad. This uses the TM4C123GH6PMI Cortex-M4 ARM MPU.
The problem is that I cannot simulate even the simplest code and get an access violation error everytime I write to an address.
Like this: *** error 65: access violation at 0x400FE108 : no 'write' permission
Code example:
SYSCTL_RCGC2_R = SYSCTL_RCGC2_GPIOF;
And yes, I #include the header file :)
The "funny" thing is that the code is working perfectly what I flash it to the board and I can debug it using the in-circuit debugger.
What am I doing wrong?
br, Jacob
Does Keil support simulation of your processor and the used peripherial hardware?
Hi Per,
Yes, Keil support simulation of your processor. The used peripherial hardware is not port on the controller and that should be support as well.
Error 65 suggest it is not.
http://www.keil.com/dd/chip/6015.htm
"Complete peripheral simulation is not available and is not planned to be implemented by ARM."
Do you have a link to information where Keil claims to support simulation of the peripherial hardware for that processor?
http://www.keil.com/chipvendor/newchips.asp "If your device is unique, only the default device simulation is provided."
And this link indicates that only the core is simulated: http://www.keil.com/dd/chip/6015.htm