View Single Post
Old 14-06-2011, 05:26 PM   #1
caydan
Nhập môn đệ tử
 
caydan's Avatar
 
Tham gia ngày: May 2011
Bài gửi: 1
:
Trình dịch báo lỗi

Em mới Download Mplab về, bản mới nhất.
Cài đặt các bước làm theo hướng dẫn trong Tut1 của thầy Nguyễn Quang Nam
Khi chạy chương trình trong ví du1 của thầy thì trình dịch báo lỗi như sau:


Debug build of project `E:\ViXuLy_ISIS_ASM\PIC\TUT\Bai1\bai1.mcp' started.
Language tool versions: pic30-as.exe v3.30, pic30-ld.exe v3.30, pic30-ar.exe v3.30
Preprocessor symbol `__DEBUG' is defined.
Tue Jun 14 16:19:20 2011
----------------------------------------------------------------------
Clean: Deleting intermediary and output files.
Clean: Deleted file "E:\ViXuLy_ISIS_ASM\PIC\TUT\Bai1\bai1.mcs".
Clean: Done.
Executing: "C:\Program Files\Microchip\MPLAB ASM30 Suite\bin\pic30-as.exe" "Vidu.s" -o"Vidu.o" -p=30F4012 --defsym=__DEBUG=1 -g
Executing: "C:\Program Files\Microchip\MPLAB ASM30 Suite\bin\pic30-ld.exe" "Vidu.o" --script="C:\Program Files\Microchip\MPLAB ASM30 Suite\Support\dsPIC30F\gld\p30F4012.gld" --defsym=__MPLAB_BUILD=1 --defsym=__MPLAB_DEBUG=1 -o"bai1.cof" -Map="bai1.map" --report-mem
C:\Program Files\Microchip\MPLAB ASM30 Suite\bin\bin/pic30-coff-ld.exe: Error: Settings in '__FGS.sec' are not valid for target device 30F4012
Link step failed.
----------------------------------------------------------------------
Debug build of project `E:\ViXuLy_ISIS_ASM\PIC\TUT\Bai1\bai1.mcp' failed.
Language tool versions: pic30-as.exe v3.30, pic30-ld.exe v3.30, pic30-ar.exe v3.30
Preprocessor symbol `__DEBUG' is defined.
Tue Jun 14 16:19:23 2011
----------------------------------------------------------------------
BUILD FAILED
__________________
Vạn lý độc hành
caydan vẫn chưa có mặt trong diễn đàn   Trả Lời Với Trích Dẫn