[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
 Samedisk • 檢視主題 - 關於 SPI模擬器支援5A command讀取 SFDP

關於 SPI模擬器支援5A command讀取 SFDP

ZC2580(8Mb),ZC2564(64Mb),ZC25128(128Mb)之SPI 介面高速記憶體模擬器適用 ~ 安裝、使用上等問題都歡迎在此討論~

關於 SPI模擬器支援5A command讀取 SFDP

文章Haki » 週一 8月 22, 2011 5:14 pm

雖然去年就已經支援5A command了卻一直沒看到有客戶真正使用
不過由於SFDP(Serial flash discoverable parameters)規格已經正式成為標準了。
JEDEC已於2011年5月最終定案。
所以JESD216正式成為串列記憶體的業界標準化規格。
JESD216的參考連結如下:
http://www.jedec.org/standards-documents/docs/jesd216
SFDP與並列式記憶體的CFI(Common Flash Interface) mode很像
以前在ZC29XXX系列的模擬器就已經有支援CFI了
所以要加這個SFDP也是易如反掌
反而倒是5A command的parameter table要慢慢看著SPI flash的 SPEC去鍵入比較累一點
不過這也是萬一拿不到 real SPI flash chip 也可以鍵入SFDP table的方法
如果能拿到有支援SPI flash chip的話那就好辦省事多了
首先把ZC2511,ZC2512或ZC2502這一系列的燒錄器更新最新的韌體後
將 SPI flash chip接好後連上USB CABLE
ZC2511-DISK.PNG
ZC2511-DISK.PNG (142.89 KiB) 被瀏覽 59918 次

系統碟內就會出現對應的SPI1SFDP.BIN or SPI2SFDP.BIN (看是要對應哪一個 SPI port)
SPIxSFDP.PNG
SPIxSFDP.PNG (122.99 KiB) 被瀏覽 59918 次

直接把這個檔拖出來複製到想放的地方
copy2desktop.png
copy2desktop.png (67.15 KiB) 被瀏覽 59918 次

或是你也可以用SAMEPROG按右鍵的選項用SFDP view去看這個SFDP的register
SFDPVIEW.png
SFDPVIEW.png (31.69 KiB) 被瀏覽 59918 次

這個拖出來的SPIxSFDP的BIN檔可是很有用的喔
如果遇到模擬器內還沒有支援到的型號
又急著要用
您就可以靠這樣自己加了
打開SAMEFILE按右鍵選device ID selection
再選user define
選定廠牌和SPI flash 型號後
您可以直接選右下的SFDP Edit
SFDPEDIT.PNG
SFDPEDIT.PNG (44.68 KiB) 被瀏覽 59918 次

開一個編輯視窗自己對著SPEC慢慢把SFDP敲進去後儲存
或是直接選取剛剛讀出來的SPI1SFDP.BIN
然後把他加上就OK啦
SFDP Add.PNG
SFDP Add.PNG (75.75 KiB) 被瀏覽 59918 次

比自己慢慢KEY要省時間多了 重點也不用怕精神不好會 Key錯

這樣下次選到這個SPI flash型號就會自己帶對應的SFDP進模擬器了
您的目標板的SPI Host就可以來讀取到對應的 SFDP Register了
Haki
 
文章: 83
註冊時間: 週六 12月 18, 2010 5:58 pm

Re: 關於 SPI模擬器支援5A command讀取 SFDP

文章eject » 週三 11月 02, 2011 2:18 pm

從美光的說明:

To execute READ SERIAL FLASH DISCOVERY PARAMETER command, S# is driven
LOW. The command code is input on DQ0, followed by three address bytes and an 8-
byte dummy clock cycle (address is always 3 bytes, even for 4-byte address mode).

所以256M以上的FLASH的SFDP一樣是3BYTE ADDRESS.
eject
 
文章: 140
註冊時間: 週二 12月 21, 2010 4:10 am


回到 ZC25系列 SPI 介面 高速記憶體模擬仿真器

誰在線上

正在瀏覽這個版面的使用者:沒有註冊會員 和 3 位訪客

cron