• slider image 442
  • slider image 483
  • slider image 484
  • slider image 485
  • slider image 486
  • slider image 487
  • slider image 488
  • slider image 491
:::


Browsing this Thread:   1 Anonymous Users






Re: 救命!
#3
新會員
新會員


查看用戶資訊
昨晚再重新建一個project and new .asm file
再將之前檔案內容copy至new .asm file,結果就找到耶!



發表於: 2005/9/26 18:32
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: 救命!
#2
資深會員
資深會員


查看用戶資訊
看清楚點
Cannot open file (Include File "pl6f877.ASM" not found)
他是說 .asm 沒有找到
不是 .inc 沒有找到
看看有沒有設定錯路徑或是打錯字吧

發表於: 2005/9/26 10:18
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


救命!
#1
新會員
新會員


查看用戶資訊
在程式一開始,使用16f877的標準定義檔方式如下:
list p=16f877
#include <p16f877.inc>

經build all後!秀出結果如下:
Clean: Deleting intermediary and output files.
Clean: Done.
Executing: "C:\Program Files\Microchip\MPASM Suite\MPASM.exe" /q /p16F877 "test1.asm" /l"test1.lst" /e"test1.err"
Error[105] D:\HUGO\MICROC~1\TEST\TEST1\TEST1.ASM 6 : Cannot open file (Include File "pl6f877.ASM" not found)
Error[113] D:\HUGO\MICROC~1\TEST\TEST1\TEST1.ASM 21 : Symbol not previously defined (PCLATH)
Error[113] D:\HUGO\MICROC~1\TEST\TEST1\TEST1.ASM 22 : Symbol not previously defined (TRISC)
Error[113] D:\HUGO\MICROC~1\TEST\TEST1\TEST1.ASM 23 : Symbol not previously defined (TRISC)
Error[113] D:\HUGO\MICROC~1\TEST\TEST1\TEST1.ASM 24 : Symbol not previously defined (PORTC)
Error[113] D:\HUGO\MICROC~1\TEST\TEST1\TEST1.ASM 25 : Symbol not previously defined (PORTC)
Error[113] D:\HUGO\MICROC~1\TEST\TEST1\TEST1.ASM 29 : Symbol not previously defined (PCLATH)
Message[306] D:\HUGO\MICROC~1\TEST\TEST1\TEST1.ASM 32 : Crossing page boundary -- ensure page bits are set.
Error[113] D:\HUGO\MICROC~1\TEST\TEST1\TEST1.ASM 33 : Symbol not previously defined (PCLATH)
Error[113] D:\HUGO\MICROC~1\TEST\TEST1\TEST1.ASM 34 : Symbol not previously defined (PORTC)
Error[113] D:\HUGO\MICROC~1\TEST\TEST1\TEST1.ASM 72 : Symbol not previously defined (PCL)
Halting build on first failure as requested.
BUILD FAILED: Sun Sep 25 22:30:56 2005

我想應該是沒有順利載入定義檔所造成,檢查定義檔放置路徑應該沒有錯,但為什麼編譯器卻說沒有找到p16f877呢?

p16f877.inc放置路徑如下:
C:\Program Files\Microchip\MPASM Suite

此一問題,請各位大大指導!



發表於: 2005/9/25 22:41
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部







You can view topic.
不可以 發起新主題
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.
You cannot use topic type.
You cannot use HTML syntax.
You cannot use signature.
You cannot create PDF files.
You cannot get print page.

[進階搜尋]


:::

Microchip連結

https://www.facebook.com/microchiptechnologytaiwan/
http://www.microchip.com.tw/modules/tad_uploader/index.php?of_cat_sn=13
https://mu.microchip.com/page/tmu
http://elearning.microchip.com.tw/modules/tad_link/index.php?cate_sn=1
https://page.microchip.com/APAC-PrefCenters-TW.html
http://www.microchip.com/
http://www.microchip.com/treelink
http://www.microchipdirect.com/
http://www.microchip.com.cn/newcommunity/index.php?m=Video&a=index&id=103
http://www.microchip.com.tw/modules/tad_uploader/index.php?of_cat_sn=2
http://www.microchip.com.tw/Data_CD/eLearning/index.html
http://www.microchip.com.tw/RTC/RTC_DVD/
https://www.microchip.com/development-tools/
https://www.youtube.com/user/MicrochipTechnology
[ more... ]

教育訓練中心

!開發工具購買
辦法說明 [業界客戶] [教育單位]
----------------------------------
!校園樣品申請
辦法說明 [教師資格] [學生資格]
----------------------------------