Google 網上論壇首頁
說明 | 登入
NorFlash 討論之二
目前本群組有太多主題設為優先顯示。 要優先顯示這個主題,請將其他主題的這個選項取消。
在處理您的要求時發生錯誤。 請再試一次。
標幟
  1 則留言 - 全部摺疊
您要留言的群組是 Usenet 群組。在此群組留言,網際網路上的任何使用者將可以看到您的電郵地址。
您的回覆郵件尚未寄出。
您已成功留言
燕南  
檢視個人資料
 更多選項 7月23日, 下午1時00分
寄件者: 燕南 <ezfo...@gmail.com>
日期: Tue, 22 Jul 2008 22:00:17 -0700 (PDT)
當地時間: 2008年7月23日(星期三) 下午1時00分
主旨: NorFlash 討論之二
\ 將前篇的 A29L040所用的常變數及函數整理如下,歸納成一個表格:

: CreateA29L040
        create
        0 ,     \ variable Nrf_Badr
        0 , \ variable Nrf_Adr
        0 , \ variable Nrf_Data
        0 , \ variable Nrf_Len
        0 , \ variable Nrf_SR
        0 , \ variable Nrf_Temp
        0 , \ variable Nrf_Buf
        0 , \ variable Nrf_Flag
        0 , \ variable Nrf_Staut
        0 , \ 預留
        0 , \ 預留
        0 , \ 預留
        0 , \ 預留
        ' Polling_op ,
        ' EraseSector_op ,
        ' Nrf_ProgramPage_op ,
        ' Nrf_AutoSelect_op ,
        0 , \ 預留
        0 , \ 預留
        0 , \ 預留
        0 , \ 預留
        0x90 ,  \ constant Nrf_AutoSelectCommand
        0xA0 ,  \ constant Nrf_ProgramPageCommand
        0x80 ,  \ constant Nrf_EraseCommand
        0x30 ,  \ constant Nrf_EraseSectorCommand
        0xF0 ,  \ constant Nrf_ResetCommand
        0 , \ 預留
        0 , \ 預留
        0 , \ 預留
        0 , \ 預留
        0x555 , \ constant Nrf_Command0_Adr
        0xAA  , \ constant Nrf_Command0_Data
        0x2AA , \ constant Nrf_Command1_Adr
        0x55  , \ constant Nrf_Command1_Data
        0x555 , \ constant Nrf_CCommand2_Adr
        0x00  , \ constant Nrf_Command2_Data
        0x555 ,     \ constant Nrf_Command3_Adr
        0xAA ,  \ constant Nrf_Command3_Data
        0x2AA , \ constant Nrf_Command4_Adr
        0x55 ,  \ constant Nrf_Command4_Data
        0 , \ 預留
        0 , \ 預留
        0 , \ 預留
        0 , \ 預留
        ;

\ 這樣我們就可以複製多顆的 A29L040 來使用
CreateA29L040 A29L040:0
CreateA29L040 A29L040:1
\ 同樣方法去增加 及修改燒錄程序,應用 其他 NorFlash


    回覆    回覆作者    轉寄  
您必須先登入才能張貼訊息。
若要張貼訊息,您必須先加入此群組
請在留言之前更新您訂閱設定網頁上的暱稱。
您沒有留言所需的權限。
主題尾端
« 返回討論主題 « 較新的主題     較舊的主題 »

建立群組 - Google 網上論壇 - Google 首頁 - 服務條款 - 隱私權政策
©2008 Google