This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Problems simulating Tiva TM4C123G using ARM-MDK 5.12.0.0

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