• Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Weird annoying errors MPLAB

Status
Not open for further replies.

AtomSoft

Well-Known Member
I get so many errors and have no clue why... can someone please tell me what is going on here:
Code:
----------------------------------------------------------------------
Debug build of project `C:\Users\Jason\Desktop\DS500\JaKo 16F84A\jako.mcp' started.
Language tool versions: MPASMWIN.exe v5.37, mplink.exe v4.37, mplib.exe v4.37
Preprocessor symbol `__DEBUG' is defined.
Mon Jan 03 15:32:57 2011
----------------------------------------------------------------------
Clean: Deleting intermediary and output files.
Clean: Done.
Executing: "C:\Program Files\Microchip\MPASM Suite\MPASMWIN.exe" /q /p16F84A "main.asm" /l"main.lst" /e"main.err" /o"main.o" /d__DEBUG=1
Error[152]   C:\USERS\JASON\DESKTOP\DS500\JAKO 16F84A\MAIN.ASM 31 : Executable code and data must be defined in an appropriate section
Error[152]   C:\USERS\JASON\DESKTOP\DS500\JAKO 16F84A\MAIN.ASM 32 : Executable code and data must be defined in an appropriate section
Error[152]   C:\USERS\JASON\DESKTOP\DS500\JAKO 16F84A\MAIN.ASM 35 : Executable code and data must be defined in an appropriate section
Error[152]   C:\USERS\JASON\DESKTOP\DS500\JAKO 16F84A\MAIN.ASM 36 : Executable code and data must be defined in an appropriate section
Error[152]   C:\USERS\JASON\DESKTOP\DS500\JAKO 16F84A\MAIN.ASM 37 : Executable code and data must be defined in an appropriate section
Error[152]   C:\USERS\JASON\DESKTOP\DS500\JAKO 16F84A\MAIN.ASM 38 : Executable code and data must be defined in an appropriate section
Error[152]   C:\USERS\JASON\DESKTOP\DS500\JAKO 16F84A\MAIN.ASM 39 : Executable code and data must be defined in an appropriate section
Error[152]   C:\USERS\JASON\DESKTOP\DS500\JAKO 16F84A\MAIN.ASM 40 : Executable code and data must be defined in an appropriate section
Error[152]   C:\USERS\JASON\DESKTOP\DS500\JAKO 16F84A\MAIN.ASM 42 : Executable code and data must be defined in an appropriate section
Error[152]   C:\USERS\JASON\DESKTOP\DS500\JAKO 16F84A\MAIN.ASM 43 : Executable code and data must be defined in an appropriate section
Error[152]   C:\USERS\JASON\DESKTOP\DS500\JAKO 16F84A\MAIN.ASM 45 : Executable code and data must be defined in an appropriate section
Error[152]   C:\USERS\JASON\DESKTOP\DS500\JAKO 16F84A\MAIN.ASM 46 : Executable code and data must be defined in an appropriate section
Error[152]   C:\USERS\JASON\DESKTOP\DS500\JAKO 16F84A\MAIN.ASM 47 : Executable code and data must be defined in an appropriate section
Error[152]   C:\USERS\JASON\DESKTOP\DS500\JAKO 16F84A\MAIN.ASM 48 : Executable code and data must be defined in an appropriate section
Error[152]   C:\USERS\JASON\DESKTOP\DS500\JAKO 16F84A\MAIN.ASM 49 : Executable code and data must be defined in an appropriate section
Error[152]   C:\USERS\JASON\DESKTOP\DS500\JAKO 16F84A\MAIN.ASM 50 : Executable code and data must be defined in an appropriate section
Error[152]   C:\USERS\JASON\DESKTOP\DS500\JAKO 16F84A\MAIN.ASM 51 : Executable code and data must be defined in an appropriate section
.............[b] MORE BUT TOO LONG[/b].....
Error[152]   C:\USERS\JASON\DESKTOP\DS500\JAKO 16F84A\MAIN.ASM 358 : Executable code and data must be defined in an appropriate section
Halting build on first failure as requested.
----------------------------------------------------------------------
Debug build of project `C:\Users\Jason\Desktop\DS500\JaKo 16F84A\jako.mcp' failed.
Language tool versions: MPASMWIN.exe v5.37, mplink.exe v4.37, mplib.exe v4.37
Preprocessor symbol `__DEBUG' is defined.
Mon Jan 03 15:32:59 2011
----------------------------------------------------------------------
BUILD FAILED
 
Last edited:

Wp100

Well-Known Member
Hi Jason,

That code does build ok, think you have got your Project parameters set for Relocatable code instead of Absolute.

BTW have you updated to Mplab 8.63 - seems their are issue with it and Pickit2/3 etc, ref Microchip forums, so you might be better with your earlier version.
 

be80be

Well-Known Member
yep! omg stupid error That's always the one you posted and wish your in a hole

We didn't have that to worry about a with MpLab 8.10 I have may MPLAB ask me so I'll stay on track LOL
 
Status
Not open for further replies.

EE World Online Articles

Loading
Top