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?
Idee: Du hast dem Compiler nicht gesagt wie das Zielsystem heißt ...
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?
> Error - Device not specified. Use /p option to specify a device.
Zumindest besteht Dein Compiler darauf. Mach es halt.
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.
Bitte melde dich an um einen Beitrag zu schreiben. Anmeldung ist kostenlos und dauert nur eine Minute.
Bestehender Account
Schon ein Account bei Google/GoogleMail? Keine Anmeldung erforderlich!
Mit Google-Account einloggen
Mit Google-Account einloggen
Noch kein Account? Hier anmelden.