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


Browsing this Thread:   1 Anonymous Users






Re: 請問有關MPLINK的問題?
#4
版主
版主


查看用戶資訊
既然用了 ORG 的虛指令強定程式的位址,就表示你的組合語言是屬於單一原始程式的架構,就不能用 MPLINK 來排定執行的位址。
如果你是採用Re-Locaatable的多原始程式的語法,就需改用 CODE 的程式節區宣告並交由 MPLINK 幫你排定最後的執行位址。
程式與變數都有特定的編排方式,有關此詳細的介紹請參考右邊"教材及講義"內的workshop中的MPASM 一天講義。

發表於: 2004/8/30 8:49
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: 請問有關MPLINK的問題?
#3
資深會員
資深會員


查看用戶資訊
你是不是有把lkr檔加進來??若是請拿掉....
我想你的CODE應該是用絕對位址定址。所以根本不需要lkr檔。
(ex:16F877就是用16f877.lkr)
會用到MPLINK就是用相對定址的方式寫PIC的程式。或是你用C16(18)寫的程式才會用到....
這樣lkr檔才會用到。

右邊 "教材與講義" 裡面有相關資料可以參考.....

發表於: 2004/8/29 20:09
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: 請問有關MPLINK的問題?
#2
新會員
新會員


查看用戶資訊
我查了一下HELP~~
裡面對MPLINK ERROR的形容~~
有人知道是什麼意思嗎?


Section 'secName' can not fit the absolute section. Section 'secName' start=0xHHHH, length=0xHHHH.
A section which has not been assigned to a memory in the linker command file can not be allocated. Use the -m <mapfile> switch to generate an error map file. The error map will show the sections which were allocated prior to the error. More memory must be made available by adding a CODEPAGE, SHAREBANK, or DATABANK directive, or by removing the PROTECTED attribute, or the number of input sections must be reduced

發表於: 2004/8/29 14:35
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


請問有關MPLINK的問題?
#1
新會員
新會員


查看用戶資訊
請問有關MPLINK的問題?
不知道為什麼~~一直都無沒組譯成功,HEX檔出不來~~
我問過站上前輩,程式應該沒問題,
MPLAB IDE也重灌過從V6.60--->V6.61
但問題還是一樣,出現下面錯誤訊息~~
請問站上高手們~~這到底是那裡出了錯啊?
一直卡在MPLINK過不去~~
請各位前輩不吝指教~~謝謝



MPLINK 3.80.02, Linker
Copyright (c) 2004 Microchip Technology Inc.
Error - section '.org_0' can not fit the absolute section. Section '.org_0' start=0x00000000, length=0x00000054
Errors : 1

BUILD FAILED: Sat Aug 28 23:48:14 2004

發表於: 2004/8/29 14:34
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... ]

教育訓練中心

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