• 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: User ID MEMORY 是幹嘛的?
#4
初級會員
初級會員


查看用戶資訊
感謝分享, 沒想到 ID MEMORY 也可以用程式碼去定義...呵呵!

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


Re: User ID MEMORY 是幹嘛的?
#3
資深會員
資深會員


查看用戶資訊
謝了
原來是自由使用的
至於寫在程式裡...
代理商FAE有寄範例來了
確定可以,我試過了
就直接寫在開頭就好了
Example 2PIC18 Devices
 Note
The most significant nibble of __idlocs is always 0x0
according to the programming specification.  

  
#include p18f452.inc   ;Include standard header file
                         
;for the selected device.

  
__idlocs    _IDLOC00x1  ;IDLOC register 0 will be
                            
;programmed to 1.
  __idlocs    _IDLOC1
0x2  ;IDLOC register 1 will be
                            
;programmed to 2.
  __idlocs    _IDLOC2
0x3  ;IDLOC register 2 will be
                            
;programmed to 3.
  __idlocs    _IDLOC3
0x4  ;IDLOC register 3 will be
                            
;programmed to 4.  
  __idlocs    _IDLOC4
0x5  ;IDLOC register 4 will be
                            
;programmed to 5.
  __idlocs    _IDLOC5
0x6  ;IDLOC register 5 will be
                            
;programmed to 6.
  __idlocs    _IDLOC6
0x7  ;IDLOC register 6 will be
                            
;programmed to 7.
  __idlocs    _IDLOC7
0x8  ;IDLOC register 7 will be
                            
;programmed to 8.

發表於: 2006/1/9 15:57
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: User ID MEMORY 是幹嘛的?
#2
初級會員
初級會員


查看用戶資訊
USER ID 是給USER'S 自由使用,沒有其他功能...不影響程式運作,一般R&D是用在程式版本的MARKING, 給IQC或其他內部單位需判斷IC是否需要分門別類時或有關混料機制時定義用,有人填REV., TRACKING-DATE,也有人填製令工單號碼或客制號碼...等等. 自己斟昨使用,但無法用程式碼定義它喔,一定要在燒錄器做MASTER時製作,方便於量產時COPY用 !!

發表於: 2006/1/9 11:40
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


User ID MEMORY 是幹嘛的?
#1
資深會員
資深會員


查看用戶資訊
MPLAB IDE裡有個八位元欄位
ID MEMORY
請問這一欄是用來幹嘛的?

剛剛試過
使用程式碼保護時
這一欄的值還是可以被讀出來
那麼我是否可以用來存放程式的版本代碼
或是其他特定的值?
這個值是否會影響到程式的運作?

如果可以的話
那請問能不能直接寫在程式裡
MPLAB編譯完成後就自動把那個值改為設定值?
謝謝

發表於: 2006/1/6 16:49
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... ]

教育訓練中心

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