ARM Technical Support Knowledge Articles

FATAL ERROR 204 (INVALID INPUT FILE)

Applies to: OC51 Banked Object File Converter

Answer


Information in this article applies to:


SYMPTOMS

I'm writing a simple test application and I've enabled code banking (I specified the BANKAREA directive and included the L51_BANK.A51 file in my project). But now, I get the following error from the OC51 program:

*** ERROR 204: INVALID INPUT FILE

What's wrong?

CAUSE

When you create a code banking program, the linker emits a special OMF51 object module that includes information for the common area and for each code bank. When you go through the motions of creating a code banking program, but you don't actually specify any code banks, the linker outputs a regular OMF51 object file.

Then, when you run the OC51 Banked Object File Converter (which expects a banked OMF51 file) it chokes (because the object module doesn't have any code banks).

RESOLUTION

To avoid this error, move at least one function into a code bank or don't specify the BANKAREA directive to the linker.

MORE INFORMATION

Article last edited on: 2005-07-15 15:57:54

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