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
Can you give me some more information regarding debugger initialization script? I am not familiar with this.
It's here: http://www.keil.com/support/man/docs/uv3/uv3_db_cmd_input_file.htm
You can initialize MCU registers with proper values using debugger initialization file.
Thank you very much. I will take a look at it right away.