推 ksmrt0123:hmm... CF卡應該是像hard disk那樣用 03/26 02:01
→ ksmrt0123:要先寫入 lba address/sector count 等 registers 03/26 02:02
→ ksmrt0123:再下 write/read command... read/write 都是以 sector 03/26 02:03
→ ksmrt0123:為單位... 03/26 02:04
→ ksmrt0123:CF好像有個 memory mode, 使用方法可能比較接近一般 03/26 02:05
→ ksmrt0123:flash memory, 但印像中不見得每個CF卡都有support 03/26 02:06
→ ksmrt0123:你的板子是fpga開發板嗎? 說不定有demo code,光碟找看看 03/26 02:08
→ GooLoo:有給嵌入式cpu的demo,我不太會嵌入式,看不太懂它在寫什麼 03/26 12:50
→ GooLoo:我知道CF應該要用HD的方式,但是目前還沒有需要做到那個程度 03/26 12:51
→ GooLoo:目前只需要做到FLASH的方式,只是不曉得是否少了一些時序 03/26 12:53
→ GooLoo:所以它不理我,所以想請教各位,是不是前面需要先下什麼CMD 03/26 12:53
→ GooLoo:您的MEMORY MODE指的是..DMA嗎? 03/26 13:01
推 ruemann:True IDE mode 是以 CHS 的方式做讀寫 <-- 看得懂嗎? 03/26 15:19
→ ruemann:如果看得懂就應該知道哪邊弄錯了 03/26 15:19
→ GooLoo:原來如此~ 03/26 19:55
→ GooLoo:如果我要把CF當作FLASH在用,那個時序之前是不是還欠什麼? 03/26 19:57
→ GooLoo:我剛翻spec. k大講的mode,我找到了..PC CARD memory mode 03/26 19:59
推 ksmrt0123:嗯~ 不過我記錯了, CF的memory mode跟 linear flash 03/26 20:36
→ ksmrt0123:CF卡的話... 慢慢填registers吧 03/26 20:37