Anfängerproblem Build Fehler

Gast #2253378
Lesenswert?

Hallo,
Ich versuche gerade mittels ICSP40 Adapter einen PIC18F45K22 zu 
programmieren, ich scheitere aber wieder kläglich an den CONFIG 
Einstellungen:

----------------------------------------------------------------------
Debug build of project `C:\Users\patrick\Microcontroller\PIC 
Projects\PIC18F45K22\lauflocht.mcp' started.
Language tool versions: MPASMWIN.exe v5.41, mplink.exe v4.39, mplib.exe 
v4.39
Preprocessor symbol `__DEBUG' is defined.
Target debug platform is `__MPLAB_DEBUGGER_PK3=1'.
Debug platform options are: `__ICD2RAM=1'.
Tue Jul 05 20:40:16 2011
----------------------------------------------------------------------
Make: The target "(...)\PIC18F45K22\Untitled.o" is out of date.
Executing: "C:\Program Files (x86)\Microchip\MPASM Suite\MPASMWIN.exe" 
/q /p18F45K22 "Untitled.asm" /l"Untitled.lst" /e"Untitled.err" 
/o"Untitled.o" /d__DEBUG=1 /d__MPLAB_DEBUGGER_PK3=1
Error[176]   C:\USERS\PATRICK\MICROCONTROLLER\PIC 
PROJECTS\PIC18F45K22\UNTITLED.ASM 4 : CONFIG Directive Error:  (value 
"ONHalting build on first failure as requested.
----------------------------------------------------------------------
Debug build of project `(...)\PIC18F45K22\lauflocht.mcp' failed.
Language tool versions: MPASMWIN.exe v5.41, mplink.exe v4.39, mplib.exe 
v4.39
Preprocessor symbol `__DEBUG' is defined.
Target debug platform is `__MPLAB_DEBUGGER_PK3=1'.
Debug platform options are: `__ICD2RAM=1'.
Tue Jul 05 20:40:18 2011
----------------------------------------------------------------------
BUILD FAILED

Code:
1
#include<p18f45k22.inc>
2

3
  CONFIG WDTEN = OFF    ; disable watchdog timer
4
  CONFIG MCLRE = ON     ; MCLEAR Pin on
5
  CONFIG DEBUG = OFF    ; Enable Debug Mode
6
  CONFIG LVP = OFF      ; Low-Voltage programming disabled
7
  CONFIG FOSC = INTIO67 ; Internal oscillator, port function on RA6 and RA7

Ich frage mich woran dies liegt, ich weiss mir nicht zu helfen. (Auch 
nicht aus dem Datenblatt unter Instruction Summary). Ich weiss nicht, 
was er mit dieser Fehlermeldung will.
Falls nötig kann ich schon noch den ganzen Code hochladen. Danke schon 
im voraus.

Antwort schreiben

Bitte melde dich an, um einen Beitrag zu schreiben.

oder

Mit Google-Account einloggen

Die Registrierung ist kostenlos und dauert nur eine Minute.

Jetzt registrieren