PIC Vietnam

Go Back   PIC Vietnam > Microchip PIC > Cơ bản về vi điều khiển và PIC

Tài trợ cho PIC Vietnam
Trang chủ Đăng Kí Hỏi/Ðáp Thành Viên Lịch Bài Trong Ngày Vi điều khiển

Cơ bản về vi điều khiển và PIC Những bài hướng dẫn cơ bản nhất để làm quen với vi điều khiển PIC

 
 
Ðiều Chỉnh Xếp Bài
Prev Previous Post   Next Post Next
Old 10-06-2009, 04:40 PM   #1
aka413b
Nhập môn đệ tử
 
Tham gia ngày: Jun 2009
Bài gửi: 2
:
Lỗi khi bien dich ? Giup em voi, hicz !!

Mình lấy 1 project trên mạng viết cho PIC6F873A, mình muốn biên dịch cho con 877A có được ko? Mình đã thử nhưng nó bao lỗi như sau :


Debug build of project `DAN939AA.mcp' started.
Preprocessor symbol `__DEBUG' is defined.
Wed Jun 03 082556 2009
----------------------------------------------------------------------
Clean Deleting intermediary and output files.
Clean Deleted file DAN939compute.o.
Clean Deleted file DAN939earth.o.
Clean Deleted file DAN939em_eep.o.
Clean Deleted file DAN939EnergyVariables.o.
Clean Deleted file DAN939kva.o.
Clean Deleted file DAN939md.o.
Clean Deleted file DAN939pfndisp.o.
Clean Deleted file DAN939rtc.o.
Clean Deleted file DAN939sinphee.o.
Clean Deleted file DAN939sinpheem.o.
Clean Deleted file DAN939compute.lst.
Clean Deleted file DAN939earth.lst.
Clean Deleted file DAN939em_eep.lst.
Clean Deleted file DAN939EnergyVariables.lst.
Clean Deleted file DAN939kva.lst.
Clean Deleted file DAN939md.lst.
Clean Deleted file DAN939pfndisp.lst.
Clean Deleted file DAN939rtc.lst.
Clean Deleted file DAN939sinphee.lst.
Clean Deleted file DAN939sinpheem.lst.
Clean Deleted file DAN939AA.mcs.
Clean Done.
Executing CProgram FilesMicrochipMPASM SuiteMPASMWIN.exe q p16F877A compute.asm lcompute.lst ecompute.err ocompute.o d__DEBUG=1
Executing CProgram FilesMicrochipMPASM SuiteMPASMWIN.exe q p16F877A earth.asm learth.lst eearth.err oearth.o d__DEBUG=1
Executing CProgram FilesMicrochipMPASM SuiteMPASMWIN.exe q p16F877A em_eep.asm lem_eep.lst eem_eep.err oem_eep.o d__DEBUG=1
Message[302] DAN939EM_EEP.ASM 53 Register in operand not in bank 0. Ensure that bank bits are correct.
Message[302] DAN939EM_EEP.ASM 54 Register in operand not in bank 0. Ensure that bank bits are correct.
Message[302] DAN939EM_EEP.ASM 58 Register in operand not in bank 0. Ensure that bank bits are correct.
Message[302] DAN939EM_EEP.ASM 62 Register in operand not in bank 0. Ensure that bank bits are correct.
Message[302] DAN939EM_EEP.ASM 66 Register in operand not in bank 0. Ensure that bank bits are correct.
Message[302] DAN939EM_EEP.ASM 70 Register in operand not in bank 0. Ensure that bank bits are correct.
Message[302] DAN939EM_EEP.ASM 72 Register in operand not in bank 0. Ensure that bank bits are correct.
Message[302] DAN939EM_EEP.ASM 74 Register in operand not in bank 0. Ensure that bank bits are correct.
Message[302] DAN939EM_EEP.ASM 80 Register in operand not in bank 0. Ensure that bank bits are correct.
Message[302] DAN939EM_EEP.ASM 82 Register in operand not in bank 0. Ensure that bank bits are correct.
Message[302] DAN939EM_EEP.ASM 84 Register in operand not in bank 0. Ensure that bank bits are correct.
Message[302] DAN939EM_EEP.ASM 85 Register in operand not in bank 0. Ensure that bank bits are correct.
Message[302] DAN939EM_EEP.ASM 88 Register in operand not in bank 0. Ensure that bank bits are correct.
Executing CProgram FilesMicrochipMPASM SuiteMPASMWIN.exe q p16F877A EnergyVariables.asm lEnergyVariables.lst eEnergyVariables.err oEnergyVariables.o d__DEBUG=1
Executing CProgram FilesMicrochipMPASM SuiteMPASMWIN.exe q p16F877A kva.asm lkva.lst ekva.err okva.o d__DEBUG=1
Executing CProgram FilesMicrochipMPASM SuiteMPASMWIN.exe q p16F877A md.asm lmd.lst emd.err omd.o d__DEBUG=1
Executing CProgram FilesMicrochipMPASM SuiteMPASMWIN.exe q p16F877A pfndisp.asm lpfndisp.lst epfndisp.err opfndisp.o d__DEBUG=1
Message[305] DAN939PFNDISP.ASM 1008 Using default destination of 1 (file).
Executing CProgram FilesMicrochipMPASM SuiteMPASMWIN.exe q p16F877A rtc.asm lrtc.lst ertc.err ortc.o d__DEBUG=1
Message[302] DAN939RTC.ASM 84 Register in operand not in bank 0. Ensure that bank bits are correct.
Message[302] DAN939RTC.ASM 85 Register in operand not in bank 0. Ensure that bank bits are correct.
Message[302] DAN939RTC.ASM 94 Register in operand not in bank 0. Ensure that bank bits are correct.
Message[302] DAN939RTC.ASM 98 Register in operand not in bank 0. Ensure that bank bits are correct.
Message[302] DAN939RTC.ASM 102 Register in operand not in bank 0. Ensure that bank bits are correct.
Message[302] DAN939RTC.ASM 117 Register in operand not in bank 0. Ensure that bank bits are correct.
Message[302] DAN939RTC.ASM 121 Register in operand not in bank 0. Ensure that bank bits are correct.
Message[302] DAN939RTC.ASM 123 Register in operand not in bank 0. Ensure that bank bits are correct.
Message[302] DAN939RTC.ASM 125 Register in operand not in bank 0. Ensure that bank bits are correct.
Message[302] DAN939RTC.ASM 127 Register in operand not in bank 0. Ensure that bank bits are correct.
Message[302] DAN939RTC.ASM 129 Register in operand not in bank 0. Ensure that bank bits are correct.
Message[302] DAN939RTC.ASM 142 Register in operand not in bank 0. Ensure that bank bits are correct.
Message[302] DAN939RTC.ASM 153 Register in operand not in bank 0. Ensure that bank bits are correct.
Message[302] DAN939RTC.ASM 165 Register in operand not in bank 0. Ensure that bank bits are correct.
Message[302] DAN939RTC.ASM 188 Register in operand not in bank 0. Ensure that bank bits are correct.
Message[302] DAN939RTC.ASM 203 Register in operand not in bank 0. Ensure that bank bits are correct.
Message[302] DAN939RTC.ASM 204 Register in operand not in bank 0. Ensure that bank bits are correct.
Message[302] DAN939RTC.ASM 212 Register in operand not in bank 0. Ensure that bank bits are correct.
Message[302] DAN939RTC.ASM 213 Register in operand not in bank 0. Ensure that bank bits are correct.
Executing CProgram FilesMicrochipMPASM SuiteMPASMWIN.exe q p16F877A sinphee.asm lsinphee.lst esinphee.err osinphee.o d__DEBUG=1
Message[305] DAN939SINPHEE.ASM 176 Using default destination of 1 (file).
Message[302] DAN939SINPHEE.ASM 262 Register in operand not in bank 0. Ensure that bank bits are correct.
Message[302] DAN939SINPHEE.ASM 279 Register in operand not in bank 0. Ensure that bank bits are correct.
Message[302] DAN939SINPHEE.ASM 290 Register in operand not in bank 0. Ensure that bank bits are correct.
Message[302] DAN939SINPHEE.ASM 318 Register in operand not in bank 0. Ensure that bank bits are correct.
Message[302] DAN939SINPHEE.ASM 329 Register in operand not in bank 0. Ensure that bank bits are correct.
Message[302] DAN939SINPHEE.ASM 351 Register in operand not in bank 0. Ensure that bank bits are correct.
Message[305] DAN939SINPHEE.ASM 422 Using default destination of 1 (file).
Message[305] DAN939SINPHEE.ASM 487 Using default destination of 1 (file).
Message[305] DAN939SINPHEE.ASM 774 Using default destination of 1 (file).
Message[305] DAN939SINPHEE.ASM 775 Using default destination of 1 (file).
Message[305] DAN939SINPHEE.ASM 776 Using default destination of 1 (file).
Message[305] DAN939SINPHEE.ASM 777 Using default destination of 1 (file).
Message[305] DAN939SINPHEE.ASM 780 Using default destination of 1 (file).
Message[305] DAN939SINPHEE.ASM 782 Using default destination of 1 (file).
Message[305] DAN939SINPHEE.ASM 784 Using default destination of 1 (file).
Message[305] DAN939SINPHEE.ASM 821 Using default destination of 1 (file).
Message[302] DAN939SINPHEE.ASM 1142 Register in operand not in bank 0. Ensure that bank bits are correct.
Message[305] DAN939SINPHEE.ASM 1325 Using default destination of 1 (file).
Message[305] DAN939SINPHEE.ASM 1329 Using default destination of 1 (file).
Message[305] DAN939SINPHEE.ASM 1333 Using default destination of 1 (file).
Message[305] DAN939SINPHEE.ASM 1342 Using default destination of 1 (file).
Message[305] DAN939SINPHEE.ASM 1343 Using default destination of 1 (file).
Message[305] DAN939SINPHEE.ASM 1344 Using default destination of 1 (file).
Message[305] DAN939SINPHEE.ASM 1345 Using default destination of 1 (file).
Message[302] DAN939SINPHEE.ASM 1359 Register in operand not in bank 0. Ensure that bank bits are correct.
Message[302] DAN939SINPHEE.ASM 1360 Register in operand not in bank 0. Ensure that bank bits are correct.
Message[302] DAN939SINPHEE.ASM 1362 Register in operand not in bank 0. Ensure that bank bits are correct.
Message[302] DAN939SINPHEE.ASM 1468 Register in operand not in bank 0. Ensure that bank bits are correct.
Message[302] DAN939SINPHEE.ASM 1471 Register in operand not in bank 0. Ensure that bank bits are correct.
Message[302] DAN939SINPHEE.ASM 1473 Register in operand not in bank 0. Ensure that bank bits are correct.
Message[302] DAN939SINPHEE.ASM 1475 Register in operand not in bank 0. Ensure that bank bits are correct.
Message[302] DAN939SINPHEE.ASM 1477 Register in operand not in bank 0. Ensure that bank bits are correct.
Message[302] DAN939SINPHEE.ASM 1479 Register in operand not in bank 0. Ensure that bank bits are correct.
Message[302] DAN939SINPHEE.ASM 1531 Register in operand not in bank 0. Ensure that bank bits are correct.
Message[302] DAN939SINPHEE.ASM 1534 Register in operand not in bank 0. Ensure that bank bits are correct.
Message[302] DAN939SINPHEE.ASM 1548 Register in operand not in bank 0. Ensure that bank bits are correct.
Message[302] DAN939SINPHEE.ASM 1551 Register in operand not in bank 0. Ensure that bank bits are correct.
Message[302] DAN939SINPHEE.ASM 1553 Register in operand not in bank 0. Ensure that bank bits are correct.
Message[302] DAN939SINPHEE.ASM 1554 Register in operand not in bank 0. Ensure that bank bits are correct.
Message[302] DAN939SINPHEE.ASM 1561 Register in operand not in bank 0. Ensure that bank bits are correct.
Message[302] DAN939SINPHEE.ASM 1564 Register in operand not in bank 0. Ensure that bank bits are correct.
Message[302] DAN939SINPHEE.ASM 1566 Register in operand not in bank 0. Ensure that bank bits are correct.
Message[302] DAN939SINPHEE.ASM 1567 Register in operand not in bank 0. Ensure that bank bits are correct.
Message[302] DAN939SINPHEE.ASM 1577 Register in operand not in bank 0. Ensure that bank bits are correct.
Message[302] DAN939SINPHEE.ASM 1578 Register in operand not in bank 0. Ensure that bank bits are correct.
Message[302] DAN939SINPHEE.ASM 1579 Register in operand not in bank 0. Ensure that bank bits are correct.
Message[302] DAN939SINPHEE.ASM 1602 Register in operand not in bank 0. Ensure that bank bits are correct.
Message[302] DAN939SINPHEE.ASM 1605 Register in operand not in bank 0. Ensure that bank bits are correct.
Message[305] DAN939SINPHEE.ASM 1767 Using default destination of 1 (file).
Message[302] DAN939SINPHEE.ASM 1808 Register in operand not in bank 0. Ensure that bank bits are correct.
Message[302] DAN939SINPHEE.ASM 1815 Register in operand not in bank 0. Ensure that bank bits are correct.
Message[302] DAN939SINPHEE.ASM 1820 Register in operand not in bank 0. Ensure that bank bits are correct.
Message[302] DAN939SINPHEE.ASM 1827 Register in operand not in bank 0. Ensure that bank bits are correct.
Message[302] DAN939SINPHEE.ASM 1840 Register in operand not in bank 0. Ensure that bank bits are correct.
Message[302] DAN939SINPHEE.ASM 1844 Register in operand not in bank 0. Ensure that bank bits are correct.
Message[302] DAN939SINPHEE.ASM 1850 Register in operand not in bank 0. Ensure that bank bits are correct.
Message[302] DAN939SINPHEE.ASM 1851 Register in operand not in bank 0. Ensure that bank bits are correct.
Message[302] DAN939SINPHEE.ASM 1852 Register in operand not in bank 0. Ensure that bank bits are correct.
Message[302] DAN939SINPHEE.ASM 1854 Register in operand not in bank 0. Ensure that bank bits are correct.
Message[302] DAN939SINPHEE.ASM 1856 Register in operand not in bank 0. Ensure that bank bits are correct.
Message[302] DAN939SINPHEE.ASM 1857 Register in operand not in bank 0. Ensure that bank bits are correct.
Message[302] DAN939SINPHEE.ASM 1859 Register in operand not in bank 0. Ensure that bank bits are correct.
Message[302] DAN939SINPHEE.ASM 1861 Register in operand not in bank 0. Ensure that bank bits are correct.
Executing CProgram FilesMicrochipMPASM SuiteMPASMWIN.exe q p16F877A sinpheem.asm lsinpheem.lst esinpheem.err osinpheem.o d__DEBUG=1
Message[305] DAN939SINPHEEM.ASM 76 Using default destination of 1 (file).
Message[305] DAN939SINPHEEM.ASM 84 Using default destination of 1 (file).
Message[305] DAN939SINPHEEM.ASM 103 Using default destination of 1 (file).
Message[305] DAN939SINPHEEM.ASM 111 Using default destination of 1 (file).
Message[305] DAN939SINPHEEM.ASM 119 Using default destination of 1 (file).
Message[305] DAN939SINPHEEM.ASM 127 Using default destination of 1 (file).
Executing CProgram FilesMicrochipMPASM Suitemplink.exe CProgram FilesMicrochipMPASM SuiteLKR16f877a.lkr compute.o earth.o em_eep.o EnergyVariables.o kva.o md.o pfndisp.o rtc.o sinphee.o sinpheem.o z__MPLAB_BUILD=1 z__MPLAB_DEBUG=1 oAA.cof MAA.map W
MPLINK 4.16, Linker
Copyright (c) 2008 Microchip Technology Inc.
Error - section 'EnergyVarBank0' can not fit the absolute section. Section 'EnergyVarBank0' start=0x00000020, length=0x0000005e
Errors 1

Link step failed.
----------------------------------------------------------------------
Debug build of project `DAN939AA.mcp' failed.
Preprocessor symbol `__DEBUG' is defined.
Wed Jun 03 082604 2009
----------------------------------------------------------------------
BUILD FAILED


Có cách nào khắc phục kô ? Làm ơn giúp mình với !! cảm ơn nhiều !
File Kèm Theo
File Type: rar energy.rar (85.3 KB, 8 lần tải)
aka413b vẫn chưa có mặt trong diễn đàn   Trả Lời Với Trích Dẫn
 


Quyền Sử Dụng Ở Diễn Ðàn
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is Mở
Smilies đang Mở
[IMG] đang Mở
HTML đang Tắt

Chuyển đến


Múi giờ GMT. Hiện tại là 12:46 AM.


Được sáng lập bởi Đoàn Hiệp
Powered by vBulletin®
Page copy protected against web site content infringement by Copyscape
Copyright © PIC Vietnam