PDA

View Full Version : Giup ve Mplap


chubachung
06-09-2009, 02:29 AM
E mới học về Pic. E sử dụng phần mềm Mplap8.02 để viết code. Nhưng không hiểu sao khi add "Source files" mà minh save ở destop thì dịch được đúng. kòn add "Source files" mà save tại thư mục tạo Project thì toàn báo lỗi này là sao vậy các bác.

Debug build of project `D:\hoc tap\CHUYEN NGHANH DT\PIC\1Tu Hoc Pic Mplap8.02\Dk cac port\bt1.mcp' started.
Preprocessor symbol `__DEBUG' is defined.
Sat Sep 05 11:17:51 2009
----------------------------------------------------------------------
Clean: Deleting intermediary and output files.
Clean: Done.
Executing: "C:\Program Files\Microchip\MPASM Suite\MPASMWIN.exe" /q /p16F877A "bt2.ASM" /l"bt2.lst" /e"bt2.err" /d__DEBUG=1
Message[302] D:\HOC TAP\CHUYEN NGHANH DT\PIC\1TU HOC PIC MPLAP8.02\DK CAC PORT\BT2.ASM 21 : Register in operand not in bank 0. Ensure that bank bits are correct.
Error[173] D:\HOC TAP\CHUYEN NGHANH DT\PIC\1TU HOC PIC MPLAP8.02\DK CAC PORT\BT2.ASM 29 : Source file path exceeds 62 characters (D:\HOC TAP\CHUYEN NGHANH DT\PIC\1TU HOC PIC MPLAP8.02\DK CAC PORT\BT2.ASM)
Halting build on first failure as requested.
----------------------------------------------------------------------
Debug build of project `D:\hoc tap\CHUYEN NGHANH DT\PIC\1Tu Hoc Pic Mplap8.02\Dk cac port\bt1.mcp' failed.
Preprocessor symbol `__DEBUG' is defined.
Sat Sep 05 11:17:52 2009
----------------------------------------------------------------------
BUILD FAILED

tuidiveluon
09-11-2010, 01:38 PM
Vi duong dan cua ban vuot qua 62 ki tu nen ko bien dich dc! Ban luu o nhung noi nao ma duong dan den file can bien dich <62 ki tu la ok thoi