ARM Technical Support Knowledge Articles

ON-CHIP ROM OPTION

Applies to: uVision IDE

Answer


Information in this article applies to:


SYMPTOMS

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.

CAUSE

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.

RESOLUTION

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

Rate this article

[Bad]
|
|
[Good]
Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential