This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

FATAL ERROR L210

When i compile the following code :
counsigned char a,b,value;

void main()
{
value = 0xF0;
a = (value >> 4) && 0x0F;
b = (value << 4) && 0x0F;
}

i get this error massage:

***FATAL ERROR L210 : I/O ERROR ON INPUT FILE
EXEPTION 0021H; PATH OR FILE NOT FOUND

Did anyone know what i can do???
FILE : TST.OBJ

  • When posting code, use the &ltpre&gt and &lt/pre&gt tags - see the "Tips for Posting Messages" link:

    void main()
    {
       value = 0xF0;
       a = (value >> 4) && 0x0F;
       b = (value << 4) && 0x0F;
    }

    The linker message means, as it says, that it couldn't find its input file TEST.OBJ.
    I presume that TEST.OBJ should be the result of compiling TEST.C?
    Did the compilation succeed?
    Does a TEST.OBJ exist? Is it in the correct folder for the linker to find it?

    BTW: in your 'C' code, do you really mean to use && (logical AND) or should that be & (bitwise AND)?

  • the File test.obj does not exist.
    when i compile test.c i get this warning:
    warning c500: missing device (security key not found)

  • Is the security key attached to the printer port of your PC? The compiler will not generate code without it (unless it's demo version).

  • it is not a demo version. in the installation he ask if i want to install the security key. do i need it to compile programms??

  • Yes!
    The Security Key - or "Dongle" - must be attached in order to be able to compile & link files!

    Check your documentation for any specific issues regarding your particular platform (eg, you may need a driver on WinNT).

    There is a "Dongle" checker available in the Downloads area.

    Note: whenever you receive errors, you should always fix the first reported error before attempting to investigate subsequent errors; very often (as in this case) the first error will cause further reports later on!

  • I am using PK166 package, so it may be different from the 8051 development tools.
    During the installation of the package there was only one thing concerning security key: I was asked if I wanted security key drivers for WinNT/Win2000 installed. Since my PC was running WinME, those drivers were not necessary.
    The compiler WILL NOT generate code without security key attached to the printer port of your PC.
    Good luck!
    Mike.