• slider image 514
  • slider image 516
  • slider image 517
  • slider image 518
  • slider image 519
:::


Browsing this Thread:   3 Anonymous Users






Re: 關於 *.gld 文件裡面的內容!?
#7
高級會員
高級會員


查看用戶資訊
MEMORY
{
data (a!xr) : ORIGIN = 0x800, LENGTH = 0x2000
reset : ORIGIN = 0x0, LENGTH = 0x4
ivt : ORIGIN = 0x4, LENGTH = 0xFC
aivt : ORIGIN = 0x104, LENGTH = 0xFC
program (xr) : ORIGIN = 0x200, LENGTH = 0xA9FC
config2 : ORIGIN = 0xABFC, LENGTH = 0x2
config1 : ORIGIN = 0xABFE, LENGTH = 0x2
}
另外想請問 為什麼
data 後面是 (a!xr)
program 後面事 (xr)
reset ivt aivt config1 config2 後面是 : ORIGIN
這是有什麼特別用法嗎?

發表於: 2008/3/12 19:05
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: 關於 *.gld 文件裡面的內容!?
#6
高級會員
高級會員


查看用戶資訊
難怪...看來我有必要去上24的課了...感恩耶!

發表於: 2008/3/12 18:30
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: 關於 *.gld 文件裡面的內容!?
#5
版主
版主


查看用戶資訊

發表於: 2008/3/12 15:10
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: 關於 *.gld 文件裡面的內容!?
#4
版主
版主


查看用戶資訊
那是c18 的用法,C30 要用 attributes _Address( ) 的宣告。詳細使用方法參考 C30 User's Guide, earch 一下。

發表於: 2008/3/12 15:08
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: 關於 *.gld 文件裡面的內容!?
#3
高級會員
高級會員


查看用戶資訊
非常謝謝版主! 所以說*gld 文件 可以決定我之後程式要燒到的位址是嗎?
那使用 pragma code 直接指定位址 就可以把 程式
#pragma code isrhighcode = 0x0008
#pragma code
就可以把 程式Flash到我想要的位址? 沒指定的 才會從0x200 開始Flash ?
是這個意思嗎?

發表於: 2008/3/12 9:14
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: 關於 *.gld 文件裡面的內容!?
#2
版主
版主


查看用戶資訊
對 PIC24FJ64GA006 元件裡的 RAM & Flash 的描述。
{
data (a!xr) : ORIGIN = 0x800, LENGTH = 0x2000 RAM 的容量及起始位址&長度。
reset : ORIGIN = 0x0, LENGTH = 0x4 Reset 位址
ivt : ORIGIN = 0x4, LENGTH = 0xFC  第一組中斷向量表
aivt : ORIGIN = 0x104, LENGTH = 0xFC 第二組中斷向量表
program (xr) : ORIGIN = 0x200, LENGTH = 0xA9FC Flash Memory 的位址及長度
config2 : ORIGIN = 0xABFC, LENGTH = 0x2  config. 位置
config1 : ORIGIN = 0xABFE, LENGTH = 0x2
}

發表於: 2008/3/7 14:24
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


關於 *.gld 文件裡面的內容!?
#1
高級會員
高級會員


查看用戶資訊
目前手上的pic 是 p24FJ64GA006
想請問 p24FJ64GA006.gld 裡面是有哪方面的資訊呢?

想請問 以下這段的意思是?
MEMORY
{
data (a!xr) : ORIGIN = 0x800, LENGTH = 0x2000
reset : ORIGIN = 0x0, LENGTH = 0x4
ivt : ORIGIN = 0x4, LENGTH = 0xFC
aivt : ORIGIN = 0x104, LENGTH = 0xFC
program (xr) : ORIGIN = 0x200, LENGTH = 0xA9FC
config2 : ORIGIN = 0xABFC, LENGTH = 0x2
config1 : ORIGIN = 0xABFE, LENGTH = 0x2
}
感恩~

發表於: 2008/3/6 13:13
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... ]

教育訓練中心

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