Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About im.markus

  • Rank
  1. We need more information, please post what appears in the Output->Build window (you can select the text and copy and paste it into a forum post). Regards Dave This is copied from the build window: Executing: "C:\MCC18\mpasm\MPASMWIN.exe" /q /p18F452 "f452tmpo.asm" /l"f452tmpo.lst" /e"f452tmpo.err" /o"f452tmpo.o" Executing: "C:\MCC18\bin\mplink.exe" "18f452.lkr" "C:\Documents and Settings\manderson\My Documents\MPLAB_Projects\Tutorial\f452tmpo.o" /m"tutorial.map" /w /o"tutorial.cof" MPLINK 4.34, Linker Copyright © 2009 Microchip Technology Inc. Errors : 0 MP2HEX 4.34, COFF to HEX File Converter Copyright © 2009 Microchip Technology Inc. Errors : 0 BUILD SUCCEEDED: Tue Dec 08 09:09:56 2009 And from what I have seen it should say "Loaded C:\.....MyFile.cof" right above BUILD SUCCEEDED, but it isn't there. Instead a little window pops up that says it was unable to load that file. Because it never loaded the file I am unable to run my program, and when I debug it I get this error below: Error: Bad magic number in COFF file "C:\Documents and Settings\manderson\My Documents\MPLAB_Projects\Tutorial\f452tmpo.o". Thanks
  2. I am trying to get MPLAB to compile a simple program as outlined by the tutorial section of the MPLAB User's Guide. Everything builds okay except that it complains "Failed to load C:\Documents and Settings\manderson\My Documents\MPLAB_Projects\Tutorial\tutorial.cof". It doesn't complain in the build output, instead a little window pops up that says that. Any ideas? Mark
  • Create New...