• slider image 442
  • slider image 497
  • slider image 498
  • slider image 499
  • slider image 500
  • slider image 502
:::


Browsing this Thread:   1 Anonymous Users






Re: 為何我MARK後..無法產生HEX檔
#4
新會員
新會員


查看用戶資訊
感謝前輩Ryang 有找到HEX檔了 !!

發表於: 2009/9/25 0:12
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: 為何我MARK後..無法產生HEX檔
#3
版主
版主


查看用戶資訊
Hi-Tech PICC 的教育訓練可以在這裡下載:
http://www.microchip.com.tw/modules/w ... nglefile.php?cid=4&lid=35

發表於: 2009/9/24 9:49
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: 為何我MARK後..無法產生HEX檔
#2
版主
版主


查看用戶資訊
Release build of project `C:\pic16\84A_PILI\play\pili_play.mcp' started.
Language tool versions: MPASMWIN.exe v5.30.01, mplink.exe v4.30.01
Thu Sep 24 01:05:12 2009  
選擇語言工具為:MPASM 組合語言工具
----------------------------------------------------------------------
Make: The target "C:\pic16\84A_PILI\play\a1.o" is out of date. //a1.0 格式太舊了或格式不對,這個 a1.o 是應是舊版本的 MPASM 組譯出來的,新版本看不懂。

Executing: "C:\Program Files\Microchip\MPASM Suite\MPASMWIN.exe" /q /p16F84A "C:\pic16\84A_PILI\a1.asm" /l"a1.lst" /e"a1.err" /o"a1.o"
Warning[211] C:\PIC16\84A_PILI\A1.ASM 56 : Extraneous arguments on the line.
// 這裡又對 a1.asm 組譯一次,第 56 行檢查一下。

Make: The target "C:\pic16\84A_PILI\play\pili_play.cof" is out of date.

Executing: "C:\Program Files\Microchip\MPASM Suite\mplink.exe" /l"C:\Program Files\HI-TECH Software\PICC\PRO\9.60\lib" "..\..\..\Program Files\Microchip\MPASM Suite\LKR\16f84a.lkr" "a1.o" /z__MPLAB_BUILD=1 /o"pili_play.cof" /M"pili_play.map" /W
不知道你是怎樣設定的,MPASM 怎會去找 Hi-Tech PICC 的 Library? 這是不相關的事。

MPLINK 4.30.01, Linker
Copyright (c) 2009 Microchip Technology Inc.
Errors : 0

MP2HEX 4.30.01, COFF to HEX File Converter
Copyright (c) 2009 Microchip Technology Inc.
Errors : 0

Loaded C:\pic16\84A_PILI\play\pili_play.cof.
----------------------------------------------------------------------
Release build of project `C:\pic16\84A_PILI\play\pili_play.mcp' succeeded.
Language tool versions: MPASMWIN.exe v5.30.01, mplink.exe v4.30.01
Thu Sep 24 01:05:15 2009
----------------------------------------------------------------------
BUILD SUCCEEDED

既然成功就會有pili_play.hex 檔案,搜尋一下。

建議不要用 Make,改用 Build-All 重新組譯一次。

發表於: 2009/9/24 9:46
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


為何我MARK後..無法產生HEX檔
#1
新會員
新會員


查看用戶資訊
SOURCE file ..跟LINKER 都有加資料了!!!

使用16F84A

是不是 在MPLAB IDE >> PROJECT>>
>
> BUILD OPTIONS>> directories 這裡沒設定好~???

如果是.... 要怎麼設定 HI-TECH ???

BUILD
----------------------------------------------------------------------
Release build of project `C:\pic16\84A_PILI\play\pili_play.mcp' started.
Language tool versions: MPASMWIN.exe v5.30.01, mplink.exe v4.30.01
Thu Sep 24 01:05:12 2009
----------------------------------------------------------------------
Make: The target "C:\pic16\84A_PILI\play\a1.o" is out of date.
Executing: "C:\Program Files\Microchip\MPASM Suite\MPASMWIN.exe" /q /p16F84A "C:\pic16\84A_PILI\a1.asm" /l"a1.lst" /e"a1.err" /o"a1.o"
Warning[211] C:\PIC16\84A_PILI\A1.ASM 56 : Extraneous arguments on the line.
Make: The target "C:\pic16\84A_PILI\play\pili_play.cof" is out of date.
Executing: "C:\Program Files\Microchip\MPASM Suite\mplink.exe" /l"C:\Program Files\HI-TECH Software\PICC\PRO\9.60\lib" "..\..\..\Program Files\Microchip\MPASM Suite\LKR\16f84a.lkr" "a1.o" /z__MPLAB_BUILD=1 /o"pili_play.cof" /M"pili_play.map" /W
MPLINK 4.30.01, Linker
Copyright (c) 2009 Microchip Technology Inc.
Errors : 0

MP2HEX 4.30.01, COFF to HEX File Converter
Copyright (c) 2009 Microchip Technology Inc.
Errors : 0

Loaded C:\pic16\84A_PILI\play\pili_play.cof.
----------------------------------------------------------------------
Release build of project `C:\pic16\84A_PILI\play\pili_play.mcp' succeeded.
Language tool versions: MPASMWIN.exe v5.30.01, mplink.exe v4.30.01
Thu Sep 24 01:05:15 2009
----------------------------------------------------------------------
BUILD SUCCEEDED

發表於: 2009/9/24 1:11
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... ]

教育訓練中心

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