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

Access violation at 0xFFFE2000

Hi,

I just started a project with the NXP (Sharp) LH79525 controller.
I created a new project in Keil µVision3, selected the controller, and used the pre-made startup file; LH79524.s
The LH79524 and LH79525 are all most identical, so I guess that is why it chooses this one.

I wrote a simple C program, just to try out the simulator, but here the problem begins.
When building, no warnings or errors occurs, but when running the Debug, I get the access violation in the 0xFFFE2000 register.
This is the RCPC (Reset, Clock and Power Register) register. I am not really experienced in programming systems like this, but I find it pretty impotent to have access to this register.

Any one who knows if this is a bug, or some setting that has not been set?

Regards Bjoern Soerensen

0