• 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: 請問各位先進 一個有關"reserved memory的問題
#10
新會員
新會員


查看用戶資訊
我弄懂了,感謝各位先進詳細的解說 謝謝

發表於: 2006/8/29 6:51
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: 請問各位先進 一個有關"reserved memory的問題
#9
中級會員
中級會員


查看用戶資訊
那是DATABOOK寫的:“not a physical register”。我把它譯成“物質上不存在的”。相信“虛擬存储器”比較妥當吧。

在COMPUTER SCIENCE裏,間接尋址這一個課題上,最“正宗”的方案是把地扯寫入存储器(如WREG)然後就直接可以用間接尋址來讀寫。但是MICROCHIP的芯片只有DSPIC有這樣的方案。我想那是由於PIC18的指令長度只有16BIT,不能實現吧!所以設計者很巧妙的把FSRx,INDFx等的存储器嵌入PIC18的架構裏。

正如RYANG以上所說,除了FSRx外,INDFx、POSTINCx、POSTDECx、PREINCx和PLUSWx這些都是屬於操作指標用,they're not a physical register.

發表於: 2006/8/28 16:07
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: 請問各位先進 一個有關"reserved memory的問題
#8
版主
版主


查看用戶資訊
這些是屬於操作指標用的暫存器,基本上它是用來控制INDFx的硬體設計,也就是說他只是ㄧ個可以改變INDFx 的媒介。詳細說明請看w400的 workshop 教材。

發表於: 2006/8/28 15:54
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: 請問各位先進 一個有關"reserved memory的問題
#7
新會員
新會員


查看用戶資訊
不好意思 請問物質上不存在的意思是, 用watch 視窗無法觀察 INDF0的變化嗎?

發表於: 2006/8/28 10:52
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: 請問各位先進 一個有關"reserved memory的問題
#6
中級會員
中級會員


查看用戶資訊
對不起,才恍然大悟你說的是INDF0。

INDFx,POSTINCx,POSTDECx,PREINCx,PLUSWx這些都是物質上不存在的。

發表於: 2006/8/26 15:38
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: 請問各位先進 一個有關"reserved memory的問題
#5
新會員
新會員


查看用戶資訊
板主你好:
我的程式碼是使用AN235 LIN master,裡面有關定址的部分與lkr檔我都沒改過。但還是會出現reserved memory
。請問一下,一般使用時會出現這個嗎?

發表於: 2006/8/26 10:28
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: 請問各位先進 一個有關"reserved memory的問題
#4
版主
版主


查看用戶資訊
是不是將變數定到錯誤的位址或無效位址去了。

發表於: 2006/8/23 17:42
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: 請問各位先進 一個有關"reserved memory的問題
#3
新會員
新會員


查看用戶資訊
謝謝你的答覆:
我使用C18的18F452i.lkr,請問為何還會出現reserved memory呢?

發表於: 2006/8/21 14:16
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: 請問各位先進 一個有關"reserved memory的問題
#2
中級會員
中級會員


查看用戶資訊
你的LINKER SCRIPT用對了嗎?有兩個版本的LKR:一種是文件名後面有i的,一種是無i的。用ICD2做測試,需要用有I的版本。

發表於: 2006/8/19 16:08
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


請問各位先進 一個有關"reserved memory的問題
#1
新會員
新會員


查看用戶資訊
各位先進好:
我使用18F452與C18 compiler,程式裡面使用間接定址 FSR來取資料,觀察watch時,剛開始INDF0 旁邊為restricted memory 後來我把build option 裡的 MPLAB C18 ->memory model 的large code model選項勾選,INDF0就變成 reserved memory 。 我的LKR檔都沒有修改過,請問各位先進,如何解決呢?

發表於: 2006/8/18 11:10
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... ]

教育訓練中心

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