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: I/O ERROR ON INPUT FILE: EXCEPTION 0021H: PATH OR FILE NOT FOUND

I try to port uCOS-II to my kitcon167cr evalution board.But I met a problem with error message as listed below:
*** FATAL ERROR L210: I/O ERROR ON INPUT FILE: EXCEPTION 0021H: PATH OR FILE NOT FOUND FILE: .\Object\OS_CPU_C.obj
I can not resolve it . Can you help me??!!

  • This usually means that the file doesn't exist, or it's not in the specified folder.

    Are you sure that the file OS_CPU_C.obj exists in the .\Object\ folder, and is a valid object file?

  • I have resolved this problem! I think it is a bug of keil's IDE. OS_CPU_C.c file includes asm routines in C language function. In keil IDE's default setting ,keil C166 will compile
    it and output .obj file .But in fact ,it wouldn't have done it .You should check these settings in file attribute page by youselfe.

  • I think it is a bug of keil's IDE.

    File: Keil\C166\hlp\GS166.PDF (Getting Started and Create Applications with µVision2 and 166/ST10 Microcontroller Development Tools)

    Chapter 4. Creating Applications
    Tips and Tricks
    File and Group Specific Options – Properties Dialog
    Translate a C Module with asm / endasm Sections
    If you use within your C source module assembler statements, the C166
    compiler requires you to generate an assembler source file and translate this
    assembler source file. In this case enable the options Generate Assembler
    SRC File and Assembler SRC File in the properties dialog.


    - Mike