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:
i just noticed a newer version of MPLAB is available maybe theres a fix in it.. brb going to download and try it out
 
Ok the update did NOT fix anything. I still get those errors and am so confused why.
 
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.
 
yep! omg stupid error... Thanks a ton dude! wow that was crazy!
 
Last edited:
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
 
heh yeah it asked me but i guess i was in a rush and poof clicked the wrong button.. they should ask ... "Are you sure?" lol
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…