The File Extensions Database

.COF File Extension

  • Developer by: Microchip Technology
  • Category: Executable Files
  • Format: Binary

What is an .COF file?


Common Object File Format (COFF) executable file created by MPLAB IDE, an IDE used to program embedded applications for Microchip Technology's PIC and dsPIC microcontrollers; stores machine code and debugging information for the program.

COF files are created from the MPLINK linker component, which takes object .O files, library files, and a linker script to produce the executables. Two other files are created as well with the ".map" and ".hex" extensions.

NOTE: The COFF format is not unique to MPLAB IDE. However, MPLAB IDE uses the ".cof" extension for its COFF files. COFF files also use the .OUT extension.

Programs that open MPLAB COFF File
Microchip Technology MPLAB IDE

How to solve problems with COF files

  • Associate the COF file extension with the correct application. On :
    Windows: Right click on any COF file and then click "Open with" > "Choose another app". Now select another program and check the box "Always use this app to open *.COF files". Mac: Right click (or Ctrl-click) the COF file, then click "Open with" > "Other...". Then choose another program and check the "Always Open With" box. Linux: Right click on the file, and select "Open with" and choose another program. iPhone: Tap the file. If you do not see an app to open the file, then tap Share "Share" and choose an app. Alternatively, save the file. Then open the Files app Files app. There long-press on the file, then release your finger. You will see a black menu bar. Then tap "Share" and select an app. Android: Tap the Settings icon on your smartphone, then tap on the Apps section. There tap the Options icon in the top right-hand corner of the screen to change the default apps.
  • Update your software that should actually open .COF is MPLAB COFF File. Because only the current version supports the latest COF file format. Search, therefore, e.g. on the Microchip Technology manufacturer website after an available .COF is MPLAB COFF File update.
  • To make sure that your COF file is not corrupted or virus-infected, get the file again and scan it with antivirus software.