• 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: PIC16F723問題
#4
版主
版主


查看用戶資訊
依據 16F723 LKR 檔所顯示,使用 ICD2 在 debug Mode 下會被系統佔用掉一些記憶空間,自 0x0F00~0x0FFF 會被佔掉。

// Sample ICD2 linker command file for 16F723

LIBPATH .

CODEPAGE NAME=page0 START=0x0 END=0x7FF
CODEPAGE NAME=page1 START=0x800 END=0xEFF
CODEPAGE NAME=debug START=0xF00 END=0xFFF PROTECTED
CODEPAGE NAME=.idlocs START=0x2000 END=0x2003 PROTECTED
CODEPAGE NAME=.config START=0x2007 END=0x2008 PROTECTED

所以你的程式在使用 Debug 時會與 Debug OS 共同使用最後段的記憶空間。但使用 Release Mode 時因為不會將Debug OS 燒錄進 0X0F00 以後的位置,空間被釋放出來了,所以坑間就夠了。

簡決方法可以暫時先用 PIC16F726 (8KW) 先來除錯,OK 後再轉回 F723

發表於: 2009/7/16 10:53
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: PIC16F723問題
#3
新會員
新會員


查看用戶資訊
剛剛發現BUILD CONFIGURATION:AFFECTS NEXT BUILD選DEBUG就會出現這個錯誤,選擇RELEASE就沒有這個錯誤,這兩種是差在哪裡。

發表於: 2009/7/16 10:40
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: PIC16F723問題
#2
版主
版主


查看用戶資訊
你是用組語寫的吧?

程式的的擺放上有問題,檢查一下 ORG 所設定的絕對位址是否有不合理之處,造成 0x800 位址內一段無法擺放。

發表於: 2009/7/16 10:17
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


PIC16F723問題
#1
新會員
新會員


查看用戶資訊
最近使用PIC16F723 CODE一多一直出現錯誤"Error - section '.org_2' can not fit the absolute section. Section '.org_2' start=0x00000800, length=0x00000ebe
Errors : 1",不知道這個錯誤是甚麼意思,要如何解決?

發表於: 2009/7/16 10:03
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... ]

教育訓練中心

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