ARM Technical Support Knowledge Articles

NOT ALL CODE BANK HEX FILES ARE GENERATED

Applies to: uVision (Version 1) IDE

Answer


Information in this article applies to:


QUESTION

I am writing a code banking project that uses banks 0, 2 and 3. When building my project, I run both the OC51 and OH51 programs to generate the code bank object files and hex files respectively.

The OC51 program generates object files for code banks 0, 2 and 3, however, the OH51 program only generates a hex file for code bank 0.

If I use code banks 0, 1 and 2, then hex files are generated for all three code banks. is this a bug?

ANSWER

Yes, this is a bug in uVision, and it will be fixed in the next version of uVision.

As a workaround, place something into code bank 1. For example, a constant code variable that isn't used or a function that isn't called. When programming your memory device, ignore the hex file for code bank 1.

Article last edited on: 2004-06-10 14:33:58

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