Re: 關於 C18 EEPROM範例 的一個小問題
|
||||
---|---|---|---|---|
中級會員
|
請問PIC16 或是 PIC18 Assembly 要如何定義?
C18 宣告 EEDATA 與 eedata 是否有大小寫區分? 謝謝!!
發表於: 2005/9/14 16:06
|
|||
|
Re: 關於 C18 EEPROM範例 的一個小問題
|
||||
---|---|---|---|---|
版主
|
因為程式前面有直接定義 EEPROM 燒錄資料,所以要特別指定 EEPROM 實際 ICSP 燒錄的位址,LKR 檔就必須加入 EEPROM 的節區位址。
// ***** Define byte data into the Internal EEPROM *****
EEPROM 節區是指到這個位址的: CODEPAGE NAME=eedata START=0xF00000 END=0xF000FF PROTECTED
發表於: 2005/9/13 17:44
|
|||
|
關於 C18 EEPROM範例 的一個小問題
|
||||
---|---|---|---|---|
資深會員
|
範例程式裡有個
如何讀寫 PIC18FXXX 內部 EEPROM 的範例 其中 18f452i_EEDATA.lkr 是把原來的lkr檔加了一行 SECTION NAME=EEDATA ROM=eedata 請問要用EEPROM, 那個修改是必要的動作嗎? 那一行SECTION 定義的意思是啥?
發表於: 2005/9/12 10:41
|
|||
|