Re: 關於錯誤訊息的解釋
|
||||
---|---|---|---|---|
版主
|
我也覺得很奇怪,你用MPLINK來產生HEX檔,但你的程式卻是用絕對定址的語法(ORG),這樣是配不起來的。
請把Project下的 LKR 檔案刪掉吧!
發表於: 2006/5/30 9:56
|
|||
|
Re: 關於錯誤訊息的解釋
|
||||
---|---|---|---|---|
版主
|
START=0x0000 END=0xFF PROTECTED 這樣長度還是不夠,它要求0x218的長度呢!
建議再中斷進入點放一個 goto ISR , 然後單獨寫一個 ISR 中斷服務程式並單獨給它一個 Section name
發表於: 2006/5/29 17:15
|
|||
|
Re: 關於錯誤訊息的解釋
|
||||
---|---|---|---|---|
中級會員
|
我有把LKR檔改為
CODEPAGE NAME=vectors START=0x0000 END=0xFF PROTECTED CODEPAGE NAME=page0 START=0x218 END=0x07FF CODEPAGE NAME=page1 START=0x800 END=0xEFF 可是還是不行 是不是位址錯誤ㄌㄋ 謝謝
發表於: 2006/5/29 16:16
|
|||
|
Re: 關於錯誤訊息的解釋
|
||||
---|---|---|---|---|
版主
|
發表於: 2006/5/29 16:10
|
|||
|
關於錯誤訊息的解釋
|
||||
---|---|---|---|---|
中級會員
|
大家好
我使用PIC16F873A的晶片,除錯時出現下列訊號 MPLINK 3.80, Linker Copyright (c) 2004 Microchip Technology Inc. Error - section '.org_1' can not fit the absolute section. Section '.org_1' start=0x00000004, length=0x00000218 Errors : 1 BUILD FAILED: Mon May 29 15:41:28 2006 請問要如何解決......謝謝
發表於: 2006/5/29 15:53
|
|||
|