Keil Logo Arm Logo

Discussion Forum

A novice question

Next Thread | Thread List | Previous Thread Start a Thread | Settings

Details Message
Read-Only
Author
cactus blip
Posted
21-Jun-2006 14:27 GMT
Toolset
C166
New! A novice question
hi,
sorry for bothering you with the most simple question but i am stuck. i created the most simple project for an XC167CI using nothing but default setting. it builds, but the simulator reports "access violation" because the startup code is placed at 0xC00008, but the process starts at 0x0. I checked sample projects provided by Keil but i didn't see what the big differnece is: i tried to replace by interrupt vector table and play with the memory classes to no avail - it won't start where the startup code is placed by the linker. what did i miss? sorry again for such a silliy question.
Read-Only
Author
Matthias Hertel
Posted
21-Jun-2006 14:36 GMT
Toolset
C166
New! RE: A novice question
The solution should be simple.
Go to Options for target -> Debug
Press Settings next to Use Simulator
Check EA#

This will instruct the simulator to run in single-chip mode (same behavoir as on the real chip).
Read-Only
Author
cactus blip
Posted
21-Jun-2006 15:14 GMT
Toolset
C166
New! RE: A novice question
Matthias,
thanks for your speedy reply. i am using uv3 (not uv2) so i don't have the setting that you mentioned as part of the UI (as far as I can see). the simulator's settings button reports when pressing on it: "the selected device has no configuration options!". can i somehow configure this from uv3?
thanks
Read-Only
Author
Reinhard Keil
Posted
21-Jun-2006 16:45 GMT
Toolset
C166
New! RE: A novice question
UV3 has exactly the same dialogs.

Take a look here:
http://www.keil.com/support/docs/2688.htm

Maybe this explaination covers it a bit better.
Read-Only
Author
Matthias Hertel
Posted
22-Jun-2006 07:27 GMT
Toolset
C166
New! RE: A novice question
"the selected device has no configuration options!"
This indicates that you have not chosen the correct device under Options for Target -> Device.

Next Thread | Thread List | Previous Thread Start a Thread | Settings

Keil logo

Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.