亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? sst39vf320.txt

?? SST 系列Nor flash 的讀寫源碼
?? TXT
?? 第 1 頁 / 共 2 頁
字號:
Software DriversSST39VF32032 Mbit Multi-Purpose FlashMay 2003ABOUT THE SOFTWAREThis application note provides software driver examples for 39VF320 32 Mbit Multi-Purpose Flash, that can be used in any microprocessor based system. Software driver example routines provided in this document utilize high-level "C" programming language for broad platform support. In many cases, software driver routines can be inserted "as is" into the main body of code being developed by the system software developers. Extensive comments are included in each routine to describe the function of each routine. The software driver routines in "C" can be used with many microprocessors and microcontrollers. ABOUT THE SST39VF320Companion product datasheet for the 39VF320 should be reviewed in conjunction with this application note for a complete understanding of the device.The C code in this document contains the following routines, which are listedin this order:Name                    Function------------------------------------------------------------------Check_SST_39VF320       Check manufacturer and device IDCFI_Query               CFI Query Entry/Exit command sequenceErase_One_Sector        Erase a sector of 2048 wordsErase_One_Block         Erase a block of 32K wordsErase_Entire_Chip       Erase the contents of the entire chipProgram_One_Word        Alter data in one wordProgram_One_Sector      Alter data in 2048 word sectorProgram_One_Block       Alter data in 32K word blockCheck_Toggle_Ready      End of internal program or erase detection using                        Toggle bitCheck_Data_Polling      End of internal program or erase detection using                        Data# polling"C" LANGUAGE DRIVERS/***********************************************************************//* Copyright Silicon Storage Technology, Inc. (SST), 1994-2003         *//* Example "C" language Driver of 39VF320 32 Mbit Multi-Purpose Flash  *//* Nelson Wang, Silicon Storage Technology, Inc.                       *//*                                                                     *//* Revision 1.0, May 23, 2003                                          *//*                                                                     *//* This file requires these external "timing"  routines:               *//*                                                                     *//*      1.)  Delay_150_Nano_Seconds                                    *//*      2.)  Delay_25_Milli_Seconds                                    *//*      3.)  Delay_50_Milli_Seconds                                    *//***********************************************************************/#define FALSE                   0#define TRUE                    1#define SECTOR_SIZE             2048    /* Must be 2048 words for 39VF320 */#define BLOCK_SIZE              32768   /* Must be 32K words for 39VF320  */#define SST_ID                  0x00BF  /* SST Manufacturer's ID code  */#define SST_39VF320             0x2783  /* SST39VF320 device code      */                                        typedef unsigned char           BYTE;typedef unsigned int            WORD;/* -------------------------------------------------------------------- *//*                       EXTERNAL ROUTINES                              *//* -------------------------------------------------------------------- */extern void     Delay_150_Nano_Seconds();extern void     Delay_25_Milli_Seconds();extern void     Delay_50_Milli_Seconds();/************************************************************************//* PROCEDURE:   Check_SST_39VF320                                       *//*                                                                      *//* This procedure decides whether a physical hardware device has a      *//* SST39VF320 32 Mbit Multi-Purpose Flash installed or not.             *//*                                                                      *//* Input:                                                               *//*          None                                                        *//*                                                                      *//* Output:                                                              *//*          return TRUE:  indicates a SST39VF320                        *//*          return FALSE: indicates not a SST39VF320                    *//************************************************************************/int Check_SST_39VF320()              {        WORD far *Temp;        WORD SST_id1;        WORD far *Temp1;        WORD SST_id2;        int  ReturnStatus;        /*  Issue the Software Product ID code to 39VF320   */        Temp1 = (WORD far *)0xC0005555; /* set up address to be C000:5555h  */        *Temp1= 0xAAAA;                 /* write data 0xAAAA to the address */        Temp1 = (WORD far *)0xC0002AAA; /* set up address to be C000:2AAAh  */        *Temp1= 0x5555;                 /* write data 0x5555 to the address */        Temp1 = (WORD far *)0xC0005555; /* set up address to be C000:5555h  */        *Temp1= 0x9090;                 /* write data 0x9090 to the address */        Delay_150_Nano_Seconds();       /* insert delay time = Tida         */        /* Read the product ID from 39VF320 */        Temp  = (WORD far *)0xC0000000; /* set up address to be C000:0000h */        SST_id1  =  *Temp;              /* get first ID word               */        SST_id1  =  SST_id1 & 0x00FF;   /* mask of higher byte           */        Temp1 = (WORD far *)0xC0000001; /* set up address to be C000:0001h */        SST_id2  =  *Temp1;             /* get second ID word              */        /* Determine whether there is a SST39VF320 installed or not */        if ((SST_id1 == SST_ID) && (SST_id2 ==SST_39VF320))                ReturnStatus = TRUE;        else                ReturnStatus = FALSE;        /* Issue the Soffware Product ID Exit code thus returning the 39VF320 */        /* to the read operating mode                                         */        Temp1  = (WORD far *)0xC0005555; /* set up address to be C000:5555h   */        *Temp1 = 0xAAAA;                 /* write data 0xAAAA to the address  */        Temp1  = (WORD far *)0xC0002AAA; /* set up address to be C000:2AAAh   */        *Temp1 = 0x5555;                 /* write data 0x5555 to the address  */        Temp1  = (WORD far *)0xC0005555; /* set up address to be C000:5555h   */        *Temp1 = 0xF0F0;                 /* write data 0xF0F0 to the address  */        Delay_150_Nano_Seconds();        /* insert delay time = Tida          */        return(ReturnStatus);}/************************************************************************//* PROCEDURE:   CFI_Query                                               *//*                                                                      *//* This procedure should be used to query for CFI information           *//*                                                                      *//* Input:                                                               *//*          None                                                        *//*                                                                      *//* Output:                                                              *//*          None                                                        *//************************************************************************/void CFI_Query(){        WORD far *Temp1;        /*  Issue the Software Product ID code to 39VF320   */        Temp1 = (WORD far *)0xC0005555; /* set up address to be C000:5555h    */        *Temp1= 0xAAAA;                 /* write data 0xAAAA to the address   */        Temp1 = (WORD far *)0xC0002AAA; /* set up address to be C000:2AAAh    */        *Temp1= 0x5555;                 /* write data 0x5555 to the address   */        Temp1 = (WORD far *)0xC0005555; /* set up address to be C000:5555h    */        *Temp1= 0x9898;                 /* write data 0x9898 to the address   */        Delay_150_Nano_Seconds();       /* insert delay time = Tida           */        /* --------------------------------- */        /*  Perform all CFI operations here  */        /*  NOTE:  no sample code provided   */        /* --------------------------------- */        /* Issue the CFI Exit code thus returning the 39VF320 */        /* to the read operating mode                          */        Temp1  = (WORD far *)0xC0005555; /* set up address to be C000:5555h   */        *Temp1 = 0xAAAA;                 /* write data 0xAAAA to the address  */        Temp1  = (WORD far *)0xC0002AAA; /* set up address to be C000:2AAAh   */        *Temp1 = 0x5555;                 /* write data 0x5555 to the address  */        Temp1  = (WORD far *)0xC0005555; /* set up address to be C000:5555h   */        *Temp1 = 0xF0F0;                 /* write data 0xF0F0 to the address  */        Delay_150_Nano_Seconds();        /* insert delay time = Tida          */}/************************************************************************//* PROCEDURE:   Erase_One_Sector                                        *//*                                                                      *//* This procedure can be used to erase a total of 2048 words.           *//*                                                                      *//* Input:                                                               *//*      Dst     DESTINATION address where the erase operation starts    *//*                                                                      *//* Output:                                                              *//*      NONE                                                            *//************************************************************************/void Erase_One_Sector (WORD far *Dst){        WORD far *Temp;        /*  Issue the Sector Erase command to 39VF320  */        Temp  = (WORD far *)0xC0005555; /* set up address to be C000:5555h  */        *Temp = 0xAAAA;                 /* write data 0xAAAA to the address */        Temp  = (WORD far *)0xC0002AAA; /* set up address to be C000:2AAAh  */        *Temp = 0x5555;                 /* write data 0x5555 to the address */        Temp  = (WORD far *)0xC0005555; /* set up address to be C000:5555h  */        *Temp = 0x8080;                 /* write data 0x8080 to the address */        Temp  = (WORD far *)0xC0005555; /* set up address to be C000:5555h  */        *Temp = 0xAAAA;                 /* write data 0xAAAA to the address */        Temp  = (WORD far *)0xC0002AAA; /* set up address to be C000:2AAAh  */        *Temp = 0x5555;                 /* write data 0x5555 to the address */        Temp  = Dst;                  /* set up starting address to be erased */        *Temp = 0x3030;                 /* write data 0x3030 to the address */        Delay_25_Milli_Seconds();       /* Delay time = Tse                 */}/************************************************************************//* PROCEDURE:   Erase_One_Block                                         *//*                                                                      *//* This procedure can be used to erase a total of 32K words.            *//*                                                                      *//* Input:                                                               *//*      Dst     DESTINATION address where the erase operation starts    *//*                                                                      *//* Output:                                                              *//*      NONE                                                            *//************************************************************************/void Erase_One_Block (WORD far *Dst){        WORD far *Temp;        /*  Issue the Sector Erase command to 39VF320  */

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日本道精品一区二区三区| 一区二区三区在线免费观看| 久久精品夜夜夜夜久久| 欧美综合色免费| 综合分类小说区另类春色亚洲小说欧美 | 91美女在线观看| 欧美在线视频不卡| 中文字幕欧美一| av激情成人网| 国产乱子伦视频一区二区三区 | 欧美一区二区免费视频| 久久久久综合网| 亚洲二区在线观看| 99久久国产综合精品女不卡| 精品福利在线导航| 免费久久精品视频| 91精品中文字幕一区二区三区 | 国产精品网曝门| 国产在线一区观看| 日韩一区二区三区免费看| 亚洲国产精品久久一线不卡| av午夜一区麻豆| 国产欧美日韩综合| 国产91精品一区二区麻豆网站| 欧美mv日韩mv国产| 喷白浆一区二区| 日韩一区二区在线观看视频| 日韩成人精品视频| 欧美一区二区在线免费观看| 偷拍亚洲欧洲综合| 欧美一区二区视频网站| 无吗不卡中文字幕| 91精品国产综合久久香蕉的特点| 亚洲成人你懂的| 欧美人狂配大交3d怪物一区| 婷婷开心激情综合| 6080日韩午夜伦伦午夜伦| 日韩精品电影在线| 日韩一级完整毛片| 国产永久精品大片wwwapp| 久久精品水蜜桃av综合天堂| 国产精品亚洲专一区二区三区| 国产午夜精品久久| 91最新地址在线播放| 亚洲欧美一区二区不卡| 在线免费观看日韩欧美| 久久精品理论片| 国产欧美一区二区三区鸳鸯浴| 国产成人av影院| 亚洲男女毛片无遮挡| 亚洲妇熟xx妇色黄| 亚洲国产精品久久人人爱蜜臀| 亚洲人成影院在线观看| 亚洲精品视频免费观看| 亚洲一区二区三区三| 亚洲精品一卡二卡| 久久精品国产99国产| 成人精品视频一区二区三区| 97超碰欧美中文字幕| 欧美日韩三级视频| 精品国产一区二区三区久久影院 | 国产亚洲午夜高清国产拍精品 | 欧美美女bb生活片| 6080国产精品一区二区| 欧美精品九九99久久| 欧美日韩免费电影| 欧美精品一区二区三区久久久| 日日骚欧美日韩| 国产精品网站导航| 欧美日韩一级黄| www欧美成人18+| 91农村精品一区二区在线| 一区二区三区日韩欧美精品| 日韩一区二区免费电影| 99久久国产综合精品女不卡| 美腿丝袜在线亚洲一区| 亚洲欧美乱综合| 日韩免费观看2025年上映的电影| 国产不卡免费视频| 日韩一区欧美二区| 国产精品免费免费| 欧美一区二区三区啪啪| www.性欧美| 黄一区二区三区| 天天综合天天做天天综合| 欧美高清在线视频| 欧美电影免费观看高清完整版在线| gogogo免费视频观看亚洲一| 卡一卡二国产精品| 香蕉成人啪国产精品视频综合网| 久久久久久久综合狠狠综合| 欧美日本国产一区| 91麻豆精品视频| eeuss国产一区二区三区| 免费人成精品欧美精品| 一区二区三区高清不卡| 中文字幕乱码亚洲精品一区| 精品成人一区二区三区| 欧美一级片在线看| 欧美精品精品一区| 欧美日韩亚洲丝袜制服| 99久久精品免费| 国产乱码字幕精品高清av | 日韩一区二区三区电影在线观看 | 欧美性大战久久| av网站一区二区三区| 国产东北露脸精品视频| 久久精品久久99精品久久| 日韩高清国产一区在线| 午夜视频久久久久久| 午夜精品aaa| 日韩精品视频网站| 午夜精品爽啪视频| 日韩中文字幕麻豆| 午夜欧美视频在线观看| 亚洲一区二区三区四区中文字幕| 亚洲另类春色校园小说| 亚洲综合一区二区精品导航| 亚洲人成精品久久久久| 一区二区三区91| 亚洲国产成人tv| 日韩国产一区二| 人人爽香蕉精品| 激情久久五月天| 国产高清成人在线| caoporen国产精品视频| 97久久超碰国产精品电影| 在线看国产一区| 91精品国产欧美一区二区18| 精品欧美一区二区在线观看| 久久久.com| 日韩一区在线看| 亚洲成人激情社区| 激情国产一区二区| 99精品视频在线观看| 精品视频一区二区不卡| 精品国产一区二区精华| 国产精品入口麻豆原神| 亚洲精品乱码久久久久久| 美国精品在线观看| 床上的激情91.| 欧美三级中文字幕在线观看| 欧美一区二区三区免费| 久久精品亚洲精品国产欧美kt∨| 中文字幕日韩精品一区 | 欧美无砖砖区免费| 欧美一级一区二区| 国产精品国产精品国产专区不蜜| 一区二区三区不卡视频在线观看 | 亚洲国产精品影院| 国产一区二区在线视频| 99视频国产精品| 欧美一级国产精品| 17c精品麻豆一区二区免费| 亚洲第一会所有码转帖| 国产成+人+日韩+欧美+亚洲| 欧美亚洲国产一区二区三区 | 国产精品亚洲午夜一区二区三区| 色综合久久久久久久| 日韩精品一区二区三区三区免费| 欧美精品久久久久久久多人混战| 制服丝袜亚洲精品中文字幕| 久久众筹精品私拍模特| 亚洲男人的天堂网| 国产精品资源在线| 欧美一区二区在线看| 亚洲人一二三区| 精油按摩中文字幕久久| 欧美精品日韩精品| 麻豆精品在线看| 国产在线不卡一卡二卡三卡四卡| 99久久99久久精品免费看蜜桃| 制服丝袜亚洲精品中文字幕| 国产精品国产三级国产aⅴ中文| 轻轻草成人在线| 91免费观看国产| 亚洲精品一区在线观看| 丝袜a∨在线一区二区三区不卡| 91在线观看高清| 国产拍揄自揄精品视频麻豆| 美女脱光内衣内裤视频久久影院| 91丨九色丨蝌蚪丨老版| 日本一区二区三区高清不卡| 狠狠色狠狠色合久久伊人| 日韩一区二区在线观看| 婷婷综合在线观看| 欧美日韩成人综合在线一区二区 | 麻豆国产91在线播放| 欧美日韩国产一级二级| 一个色在线综合| 91成人免费在线| 亚洲精品免费播放| 91小视频免费观看| 国产精品视频一区二区三区不卡| 精品亚洲porn| 国产女人aaa级久久久级| 国产在线精品一区二区夜色| 欧美精品一区二区三| 国产一区二区美女诱惑| 国产欧美中文在线|