I have been working on my test-kit for weeks now. The kit is functioning with at HEX-file that blink a LED every 1 second. This indicate that it is possible to comunicate and upload a program to the chip.
Next I want to write a ASM program with MPLAB IDE v7.62 from Microchip. I started with the introduction on the web-page: **broken link removed**. The time delay is added by downloading the full program at **broken link removed**.
MY full program is attached this Post.
Output from compiler is:
-----------------Output start -------------------
Clean: Deleting intermediary and output files.
Clean: Deleted file "C:\Data\Jan\Jp Engineering\Microchip\Test 07 - MPLab - blink 2\16F628TMP".
Clean: Deleted file "C:\Data\Jan\Jp Engineering\Microchip\Test 07 - MPLab - blink 2\16F628TMPO.lst".
Clean: Done.
Executing: "C:\Programmer\Microchip\MPASM Suite\MPAsmWin.exe" /q /p16F628 "16F628TMPO.ASM" /l"16F628TMPO.lst" /e"16F628TMPO.err" /o"16F628TMP"
Message[302] C:\DATA\JAN\JP ENGINEERING\MICROCHIP\TEST 07 - MPLAB - BLINK 2\16F628TMPO.ASM 56 : Register in operand not in bank 0. Ensure that bank bits are correct.
Message[302] C:\DATA\JAN\JP ENGINEERING\MICROCHIP\TEST 07 - MPLAB - BLINK 2\16F628TMPO.ASM 57 : Register in operand not in bank 0. Ensure that bank bits are correct.
Warning[219] C:\DATA\JAN\JP ENGINEERING\MICROCHIP\TEST 07 - MPLAB - BLINK 2\16F628TMPO.ASM 70 : Invalid RAM location specified.
Warning[219] C:\DATA\JAN\JP ENGINEERING\MICROCHIP\TEST 07 - MPLAB - BLINK 2\16F628TMPO.ASM 74 : Invalid RAM location specified.
Executing: "C:\Programmer\Microchip\MPASM Suite\MPLink.exe" "C:\Data\Jan\Jp Engineering\Microchip\Test 07 - MPLab - blink 2\16f628.lkr" "C:\Data\Jan\Jp Engineering\Microchip\Test 07 - MPLab - blink 2\16F628TMP" /o"Blink.cof" /M"Blink.map" /W
MPLINK 4.13, Linker
Copyright (c) 2007 Microchip Technology Inc.
Error - section '.org_0' can not fit the absolute section. Section '.org_0' start=0x00000000, length=0x0000004e
Errors : 1
Link step failed.
BUILD FAILED: Tue Oct 23 09:09:46 2007
-----------------Output stop -------------------
I hope someone could help me ?
Next I want to write a ASM program with MPLAB IDE v7.62 from Microchip. I started with the introduction on the web-page: **broken link removed**. The time delay is added by downloading the full program at **broken link removed**.
MY full program is attached this Post.
Output from compiler is:
-----------------Output start -------------------
Clean: Deleting intermediary and output files.
Clean: Deleted file "C:\Data\Jan\Jp Engineering\Microchip\Test 07 - MPLab - blink 2\16F628TMP".
Clean: Deleted file "C:\Data\Jan\Jp Engineering\Microchip\Test 07 - MPLab - blink 2\16F628TMPO.lst".
Clean: Done.
Executing: "C:\Programmer\Microchip\MPASM Suite\MPAsmWin.exe" /q /p16F628 "16F628TMPO.ASM" /l"16F628TMPO.lst" /e"16F628TMPO.err" /o"16F628TMP"
Message[302] C:\DATA\JAN\JP ENGINEERING\MICROCHIP\TEST 07 - MPLAB - BLINK 2\16F628TMPO.ASM 56 : Register in operand not in bank 0. Ensure that bank bits are correct.
Message[302] C:\DATA\JAN\JP ENGINEERING\MICROCHIP\TEST 07 - MPLAB - BLINK 2\16F628TMPO.ASM 57 : Register in operand not in bank 0. Ensure that bank bits are correct.
Warning[219] C:\DATA\JAN\JP ENGINEERING\MICROCHIP\TEST 07 - MPLAB - BLINK 2\16F628TMPO.ASM 70 : Invalid RAM location specified.
Warning[219] C:\DATA\JAN\JP ENGINEERING\MICROCHIP\TEST 07 - MPLAB - BLINK 2\16F628TMPO.ASM 74 : Invalid RAM location specified.
Executing: "C:\Programmer\Microchip\MPASM Suite\MPLink.exe" "C:\Data\Jan\Jp Engineering\Microchip\Test 07 - MPLab - blink 2\16f628.lkr" "C:\Data\Jan\Jp Engineering\Microchip\Test 07 - MPLab - blink 2\16F628TMP" /o"Blink.cof" /M"Blink.map" /W
MPLINK 4.13, Linker
Copyright (c) 2007 Microchip Technology Inc.
Error - section '.org_0' can not fit the absolute section. Section '.org_0' start=0x00000000, length=0x0000004e
Errors : 1
Link step failed.
BUILD FAILED: Tue Oct 23 09:09:46 2007
-----------------Output stop -------------------
I hope someone could help me ?