• 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: 請問各位前輩PIC內建的EEPROM問題
#6
新會員
新會員


查看用戶資訊
感謝各位前輩的解答及意見。
謝謝!

發表於: 2006/2/12 21:29
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: 請問各位前輩PIC內建的EEPROM問題
#5
新會員
新會員


查看用戶資訊
如果没有CPD(EEPROM保护)的FLASH片子。
如果编程器选择PRESERVE EEPORM。
那么即使是ICSP,编程器也会先读入EEPROM到电脑,然后再擦除和烧写新的CODE和EEPROM下去(其实这个时候就已经把原来的EEPROM写下去了)
我用ICD2就是这样的

發表於: 2006/2/9 17:25
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: 請問各位前輩PIC內建的EEPROM問題
#4
版主
版主


查看用戶資訊
講白一點,使用ICSP方式燒錄PIC時,會先下一個ERASE ALL的命令將IC清成空白(含 EEPROM & ID & Cnfig, word),這是一種保護資料的措施,除非你用Bootloader的方式修改程式這是就不會動到EEPROM了。

如果你要保留EEPROM的資料可以直接用組合語言方式編寫資料內容在單獨燒到EEPROM 裡(左邊檔案下載裡有範例) 或也可以用EXPORT & IMPORT 單獨對 EEPROM 處理。

發表於: 2006/2/7 13:56
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: 請問各位前輩PIC內建的EEPROM問題
#3
初級會員
初級會員


查看用戶資訊
附議 mickeys_wu.

進入 MPLAB IDE -> Programmer -> Settings -> Limitations -> Details -> Limitations for All PIC18F Devices -> Programmer Limitations

可以看到一句話 "For all devices with EEPROM memory, Erase operations will also erase EEPROM memory."



發表於: 2006/2/7 1:52
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: 請問各位前輩PIC內建的EEPROM問題
#2
資深會員
資深會員


查看用戶資訊
應該..是不行~

發表於: 2006/2/7 1:23
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


請問各位前輩PIC內建的EEPROM問題
#1
新會員
新會員


查看用戶資訊
請問各位前輩下列幾個問題
1.PIC內建的EEPROM在程式重新燒入後,是不是EEPROM內的 資料就會不見?

2.是不是可以設定EEPROM資料保護,使得在重燒入程式後仍可保留EEPROM內的資料?

3.是不是在使用MPLAB-ICD模擬時不能使用EEPROM資料保護的功能?

希望各位前輩能為小弟解答疑惑,感謝大家

發表於: 2006/2/6 22:23
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... ]

教育訓練中心

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