Re: 在DS70102H.pdf的第52頁中有以下一段文字說明,請問Unit ID如何寫在程式中?
|
||||
---|---|---|---|---|
版主
|
Programming Specification 指出 Unit ID 從 0x8005C0 ~ 0x8005FF 共 32 x 24-bit, 實際在 H 檔裡只定義了前面4個共 4 x 16-bit 可以使用。其餘的ID位址目前無法使用。
發表於: 2007/8/3 14:57
|
|||
|
Re: 在DS70102H.pdf的第52頁中有以下一段文字說明,請問Unit ID如何寫在程式中?
|
||||
---|---|---|---|---|
版主
|
Unit ID 有兩種方式可以設定,起始位址在 0x8005C0 (30F4011)
1. 直接在 MPLAB IDE --> Configuration Bits --> Unit ID 下直接輸入ID。 2. 程式裡直接輸入,利用H檔所提供的 MACRO "_FUID0(x)" 來填入 ID 值,使用方式如下 :
//---------------------------------------------------------------------------
編譯完成後打開 Unit ID 視窗就可以看到 ID 值了。
發表於: 2007/8/3 9:25
|
|||
|
在DS70102H.pdf的第52頁中有以下一段文字說明,請問Unit ID如何寫在程式中?
|
||||
---|---|---|---|---|
高級會員
|
The dsPIC30F devices contain 32 instructions of Unit ID.
These are located at addresses 0x8005C0 through 0x8005FF. The Unit ID can be used for storing product information such as serial numbers, system manufacturing dates, manufacturing lot numbers and other such application-specific information.
發表於: 2007/8/2 16:39
|
|||
|