www.mikrocontroller.net

Forum: Mikrocontroller und Elektronik Error - Device not specified

Important announcement: there is an English version of this forum on EmbDev.net. Posts you create there will be displayed on Mikrocontroller.net and EmbDev.net.
Autor: Beni W. (wenben)
Datum:

hallo zusammen,
wollte nach Anleitung das HalloWelt Programm auf dem PicKit 3 versuchen
doch nun wenn ich BuildAll drücke kommt:


----------------------------------------------------------------------
Debug build of project `C:\Users\HP\Desktop\MPLAB 8.50 Test Programm
PicKit 3\helloworld.mcp' started.
Language tool versions: MPASMWIN.exe v5.42, mcc18.exe v3.40, mplib.exe
v4.40
Preprocessor symbol `__DEBUG' is defined.
Fri Jan 27 23:02:46 2012
----------------------------------------------------------------------
Clean: Deleting intermediary and output files.
Clean: Deleted file "C:\Users\HP\Desktop\MPLAB 8.50 Test Programm PicKit
3\01 Hello LED.o".
Clean: Done.
Executing: "C:\mplab_c-18\bin\mcc18.exe" -p=18F45K20
"C:\Users\HP\Desktop\Testprogramme\PICkit 3 Debug Express Lessons\01
Hello LED\01 Hello LED.c" -fo="01 Hello LED.o" -D__DEBUG -Ou- -Ot- -Ob-
-Op- -Or- -Od- -Opa-
Executing: "C:\mplab_c-18\bin\_mplink.exe" /l"C:\Program
Files\Microchip\mplabc18\v3.40\lib"
"..\..\..\..\mplab_c-18\bin\LKR\18f45k20_g.lkr" "01 Hello LED.o"
/z__MPLAB_BUILD=1 /z__MPLAB_DEBUG=1 /o"helloworld.cof"
/M"helloworld.map" /W
MPLINK 4.40, Linker
Device Database Version 1.3
Copyright (c) 1998-2011 Microchip Technology Inc.
Error - Device not specified. Use /p option to specify a device.
Errors    : 1

Link step failed.
----------------------------------------------------------------------
Debug build of project `C:\Users\HP\Desktop\MPLAB 8.50 Test Programm
PicKit 3\helloworld.mcp' failed.
Language tool versions: MPASMWIN.exe v5.42, mcc18.exe v3.40, mplib.exe
v4.40
Preprocessor symbol `__DEBUG' is defined.
Fri Jan 27 23:02:46 2012
----------------------------------------------------------------------
BUILD FAILED




Was mach ich falsch?
Autor: Wenben (Gast)
Datum:

Hat niemand hilfe oder eine idee?
Autor: Joachim Drechsel (Firma: JDCC) (scheppertreiber)
Datum:

Idee: Du hast dem Compiler nicht gesagt wie das Zielsystem heißt ...
Autor: Herman (Gast)
Datum:

Steht doch da:

Beni W. schrieb:
> Error - Device not specified. Use /p option to specify a device.
Autor: Wenben (Gast)
Datum:

Joachim Drechsel schrieb:
> Idee: Du hast dem Compiler nicht gesagt wie das Zielsystem heißt ...

Wie meinst du das das zielsystem ist doch mein pic in meinem fall der
vom pickit 3 der 18f45k20
Am programm kann es nicht liegen, da es ein fertiges übungsprogramm von
microchip ist
Muss ich noch was einstellen?
Autor: Joachim Drechsel (Firma: JDCC) (scheppertreiber)
Datum:

> Error - Device not specified. Use /p option to specify a device.

Zumindest besteht Dein Compiler darauf. Mach es halt.
Autor: Kein Name (Gast)
Datum:

Für mich sieht das so aus, als würden Mplab- und c18-Version nicht
zusammenpassen. 8.50 ist nicht mehr die neuste.

Device hast du ja angegeben. In der mplink Zeile findet sich ein
18f45k20_g.lkr . Und das /p soll die IDE ja automatisch richtig machen.

Antwort schreiben

Die Angabe einer E-Mail-Adresse ist freiwillig. Wenn Sie automatisch per E-Mail über Antworten auf Ihren Beitrag informiert werden möchten, melden Sie sich bitte an.

Wichtige Regeln - erst lesen, dann posten!

  • Groß- und Kleinschreibung verwenden
  • Längeren Sourcecode nicht im Text einfügen, sondern als Dateianhang

Formatierung (mehr Informationen...)

  • [c]C-Code[/c]
  • [avrasm]AVR-Assembler-Code[/avrasm]
  • [code]Code in anderen Sprachen, ASCII-Zeichnungen[/code]
  • [math]Formel in LaTeX-Syntax[/math]
  • [[Titel]] - Link zu Artikel




Bitte das JPG-Format nur für Fotos und Scans verwenden!
Zeichnungen und Screenshots im PNG- oder GIF-Format hochladen.
Siehe Bildformate

Mit dem Abschicken erkennst du die Nutzungsbedingungen an.

webmaster@mikrocontroller.netImpressumNutzungsbedingungenWerbung auf Mikrocontroller.net