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.
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).
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
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.
"the selected device has no configuration options!" This indicates that you have not chosen the correct device under Options for Target -> Device.