Forum: Mikrocontroller und Digitale Elektronik Fehler beim Build


von Berndi (Gast)


Lesenswert?

Moin Moin,

Vielleicht kann mir ja einer von euch weiterhelfen!
Ich habe ein Programm geschrieben (sehr lang, da ich viel Text auf einem 
2x16 LCD anzeigen lassen will) und hab nun ein Problem beim Build:

Message[302] C:\USERS\EXECUTE\DATEN\ELEKTRONIK\AKTUELLES 
PROJEKT\MARIA\PROGRAMMCODE\16F84ATEMP.ASM 112 : Register in operand not 
in bank 0.  Ensure that bank bits are correct.
Message[302] C:\USERS\EXECUTE\DATEN\ELEKTRONIK\AKTUELLES 
PROJEKT\MARIA\PROGRAMMCODE\16F84ATEMP.ASM 114 : Register in operand not 
in bank 0.  Ensure that bank bits are correct.
Message[302] C:\USERS\EXECUTE\DATEN\ELEKTRONIK\AKTUELLES 
PROJEKT\MARIA\PROGRAMMCODE\16F84ATEMP.ASM 116 : Register in operand not 
in bank 0.  Ensure that bank bits are correct.
Message[305] C:\USERS\EXECUTE\DATEN\ELEKTRONIK\AKTUELLES 
PROJEKT\MARIA\PROGRAMMCODE\16F84ATEMP.ASM 7757 : Using default 
destination of 1 (file).
Message[305] C:\USERS\EXECUTE\DATEN\ELEKTRONIK\AKTUELLES 
PROJEKT\MARIA\PROGRAMMCODE\16F84ATEMP.ASM 7759 : Using default 
destination of 1 (file).
Message[305] C:\USERS\EXECUTE\DATEN\ELEKTRONIK\AKTUELLES 
PROJEKT\MARIA\PROGRAMMCODE\16F84ATEMP.ASM 7761 : Using default 
destination of 1 (file).
Message[302] C:\USERS\EXECUTE\DATEN\ELEKTRONIK\AKTUELLES 
PROJEKT\MARIA\PROGRAMMCODE\16F84ATEMP.ASM 7869 : Register in operand not 
in bank 0.  Ensure that bank bits are correct.
Message[302] C:\USERS\EXECUTE\DATEN\ELEKTRONIK\AKTUELLES 
PROJEKT\MARIA\PROGRAMMCODE\16F84ATEMP.ASM 7888 : Register in operand not 
in bank 0.  Ensure that bank bits are correct.
Executing: "C:\Program Files (x86)\Microchip\MPASM Suite\mplink.exe" 
/p16F84A "16F84ATEMP.o" /u_DEBUG /z__MPLAB_BUILD=1 /z__MPLAB_DEBUG=1 
/o"Maria.cof" /M"Maria.map" /W
MPLINK 4.37, Linker
Copyright (c) 1998-2010 Microchip Technology Inc.
Error - section '.org_1' can not fit the absolute section. Section 
'.org_1' start=0x00000004, length=0x000035c8
Errors    : 1

Link step failed.
----------------------------------------------------------------------
Debug build of project `C:\Users\eXecuTe\Daten\Elektronik\Aktuelles 
Projekt\Maria\Programmcode\Maria.mcp' failed.
Language tool versions: MPASMWIN.exe v5.37, mplink.exe v4.37, mplib.exe 
v4.37
Preprocessor symbol `__DEBUG' is defined.
Wed May 23 12:43:20 2012
----------------------------------------------------------------------
BUILD FAILED



Ich denke die 302-Messages kann ich ignorieren. Hab überprüft ob die 
Bank-Bits richtig gesetzt sind.

Unsicher bin ich mir bei den 305-Messages und vor allem macht mir das 
hier Sorgen:

Error - section '.org_1' can not fit the absolute section. Section 
'.org_1' start=0x00000004, length=0x000035c8
Errors    : 1


Ich sag schon einmal danke für eure Hilfe! :-)

MfG

von Karl H. (kbuchegg)


Lesenswert?

Berndi schrieb:

> Unsicher bin ich mir bei den 305-Messages und vor allem macht mir das
> hier Sorgen:
>
> Error - section '.org_1' can not fit the absolute section. Section
> '.org_1' start=0x00000004, length=0x000035c8
> Errors    : 1


Dann wird wohl ....
> Ich habe ein Programm geschrieben (sehr lang, da ich viel Text
> auf einem 2x16 LCD anzeigen lassen will)
.... etwas zu viel Text und/oder Programm gewesen sein.

von Berndi (Gast)


Lesenswert?

Vielen Dank für deine Antwort.

Ich habe das Programm nun mit ein paar Tricks gekürzt und taaadaaaa:

es geht!

Nochmal vielen Dank und liebe Grüße ;-)

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
Noch kein Account? Hier anmelden.