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


Browsing this Thread:   4 Anonymous Users






Re: 如何將資料存入flash
#8
版主
版主


查看用戶資訊
是存入 EEPROM 沒錯,可是你之前一直強調要存在 Flash 啊,這兩種的功能是不太一樣。

發表於: 2008/5/2 15:53
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: 如何將資料存入flash
#7
新會員
新會員


查看用戶資訊
大大:
我有問過此顆chip的代理商
他們的技術人員跟我說
若是要讓data斷電時,資料不會不見
就是要寫入eepromㄟ!!!
不對嗎???
謝謝!!!

發表於: 2008/5/2 14:32
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: 如何將資料存入flash
#6
版主
版主


查看用戶資訊
詳細的想一想,Flash 及 EEPROM 主要的功能為何? 既然是要保存 Data 為何要存在 Flash 裡,而不考慮 EEPROM 呢?
再說 12F629 的 Flash 並無法用程式的方式將資料寫入的。

發表於: 2008/5/2 13:30
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: 如何將資料存入flash
#5
新會員
新會員


查看用戶資訊
大大:
因為我要使用斷電但是data還是存在
因此我要寫入flash
而pic12f629寫入flash
是用eeprom阿??
不是嗎???
謝謝您的幫忙!!!我會先看一下
謝謝~~~

發表於: 2008/5/2 12:33
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: 如何將資料存入flash
#4
版主
版主


查看用戶資訊
PIC12F 系列不支援即時寫入Flash (Self Programming),它只能直接使用燒錄器利用 ISCP 的方式燒錄程式到 Flash 裡。

看你的程式應該是寫入到內部的 EEPROM 吧!
可以參考右邊範例程式下的第11項的例子,雖然適用組語,但用C也差不多。
http://www.microchip.com.tw/example.htm

發表於: 2008/5/2 11:00
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: 如何將資料存入flash
#3
新會員
新會員


查看用戶資訊
使用PIC12F629
//以下是讀//
RP0 = 1;
EEADR = 0x0F;
RD = 1;
TIME= EEDATA;
//以下是寫//
RP0 = 1;
WREN = 1;
GIE = 0;
WR = 1;
EEDATA = TIME;
GIE = 1;

以上可以麻煩各位大大幫我確認嗎??
我用SIM出來的結果是讀有問題ㄟ
麻煩各位大大
謝謝

發表於: 2008/5/2 10:00
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: 如何將資料存入flash
#2
版主
版主


查看用戶資訊
請先講一下是用 PIC16F 還是 PIC18F 這兩種對 Flash 的寫法不同。

發表於: 2008/4/30 15:38
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


如何將資料存入flash
#1
新會員
新會員


查看用戶資訊
各位大大們:
首先非常感謝各位大大們的幫忙!!!
不過想再請問各位大大們
如何將資料存入與讀取Flash呢???
謝謝!!!


發表於: 2008/4/29 16:16
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... ]

教育訓練中心

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