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
RE: A novice question
Matthias Hertel
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
RE: A novice question
cactus blip
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
This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.
ARM websites use two types of cookie: (1) those that enable the site to function and perform as required; and (2) analytical cookies which anonymously track visitors only while using the site. If you are not happy with this use of these cookies please review our Privacy Policy to learn how they can be disabled. By disabling cookies some features of the site will not work.