SydC
Newbie level 3
preprocessor symbol `__debug is defined.
I upgraded to MPLAB V8.01 and deleted my first 16F626A program in the process which compiled and ran without errors in the previous version of MPLAB simulator.
I have copied and pasted my original program into MPLAB V8.01 and get the following error message:
Debug build of project `C:\Projects\16F628A Ver2 31 December 2007.mcp' started.
Preprocessor symbol `__DEBUG' is defined.
Mon Dec 31 08:44:06 2007
----------------------------------------------------------------------
Clean: Deleting intermediary and output files.
Clean: Deleted file "C:\Projects\16F628ATMP".
Clean: Deleted file "C:\Projects\16F628ATMPO.lst".
Clean: Done.
Executing: "C:\Program Files\Microchip\MPASM Suite\MPAsmWin.exe" /q /p16F628A "16F628ATMPO.ASM" /l"16F628ATMPO.lst" /e"16F628ATMPO.err" /o"16F628ATMP" /d__DEBUG=1
Message[313] C:\PROJECTS\16F628ATMPO.ASM 76 : CBLOCK constants will start with a value of 0.
Executing: "C:\Program Files\Microchip\MPASM Suite\MPLink.exe" "16f628a.lkr" "16F628ATMP" /z__MPLAB_BUILD=1 /z__MPLAB_DEBUG=1 /o"16F628A Ver2 31 December 2007.cof" /M"16F628A Ver2 31 December 2007.map" /W
MPLINK 4.15, Linker
Copyright (c) 2007 Microchip Technology Inc.
Error - section 'RESET_VECTOR' can not fit the absolute section. Section 'RESET_VECTOR' start=0x00000000, length=0x00000046
Errors : 1
Link step failed.
----------------------------------------------------------------------
Debug build of project `C:\Projects\16F628A Ver2 31 December 2007.mcp' failed.
Preprocessor symbol `__DEBUG' is defined.
Mon Dec 31 08:44:07 2007
FAILED
----------------------------------------------------------------------
Can someone please tell me what I am now doing wrong?
Thanks
Syd
I upgraded to MPLAB V8.01 and deleted my first 16F626A program in the process which compiled and ran without errors in the previous version of MPLAB simulator.
I have copied and pasted my original program into MPLAB V8.01 and get the following error message:
Debug build of project `C:\Projects\16F628A Ver2 31 December 2007.mcp' started.
Preprocessor symbol `__DEBUG' is defined.
Mon Dec 31 08:44:06 2007
----------------------------------------------------------------------
Clean: Deleting intermediary and output files.
Clean: Deleted file "C:\Projects\16F628ATMP".
Clean: Deleted file "C:\Projects\16F628ATMPO.lst".
Clean: Done.
Executing: "C:\Program Files\Microchip\MPASM Suite\MPAsmWin.exe" /q /p16F628A "16F628ATMPO.ASM" /l"16F628ATMPO.lst" /e"16F628ATMPO.err" /o"16F628ATMP" /d__DEBUG=1
Message[313] C:\PROJECTS\16F628ATMPO.ASM 76 : CBLOCK constants will start with a value of 0.
Executing: "C:\Program Files\Microchip\MPASM Suite\MPLink.exe" "16f628a.lkr" "16F628ATMP" /z__MPLAB_BUILD=1 /z__MPLAB_DEBUG=1 /o"16F628A Ver2 31 December 2007.cof" /M"16F628A Ver2 31 December 2007.map" /W
MPLINK 4.15, Linker
Copyright (c) 2007 Microchip Technology Inc.
Error - section 'RESET_VECTOR' can not fit the absolute section. Section 'RESET_VECTOR' start=0x00000000, length=0x00000046
Errors : 1
Link step failed.
----------------------------------------------------------------------
Debug build of project `C:\Projects\16F628A Ver2 31 December 2007.mcp' failed.
Preprocessor symbol `__DEBUG' is defined.
Mon Dec 31 08:44:07 2007
FAILED
----------------------------------------------------------------------
Can someone please tell me what I am now doing wrong?
Thanks
Syd