|ARM Technical Support Knowledge Articles|
Applies to: uVision IDE
Information in this article applies to:
What's different when I use the "On-Chip ROM (128k)" option on the Siemens 166CR-16LM? My project gives errors when I'm not using it, but is fine when I check the box.
When the option is checked, uVision automatically allocates your code/const classes to use the range of memory in which that ROM "lives" according to the data sheet. Without it, (and also if you don't have any ROM defined in the external memory) the linker is assuming you have no ROM which will generate problems of locating classes like NCODE.
You'll notice that the classes defined with and without the option checked are different. You can check this by clicking the "L166 Locate" tab on the "options for target" dialog.
Article last edited on: 2000-09-10 00:00:00
Did you find this article helpful? Yes No
How can we improve this article?