?? flash_drv_dummy.c
字號:
/*******************************************************************************
* Copyright Statement:
* --------------------
* This software is protected by Copyright and the information contained
* herein is confidential. The software may not be copied and the information
* contained herein may not be used or disclosed except with the written
* permission of MediaTek Inc. (C) 2004
*
*******************************************************************************/
/*******************************************************************************
*
* Filename:
* ---------
* flash_drv_DUMMY.c
*
* Project:
* --------
* FlashTool Download Agent
*
* Description:
* ------------
* This Module defines the dummy family flash driver.
*
* Author:
* -------
* Amos Hsu
*
*==============================================================================
* HISTORY
* Below this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
*------------------------------------------------------------------------------
* $Revision: 1.1 $
* $Modtime: Nov 12 2004 22:10:24 $
* $Log: //mtkvs01/vmdata/flash_tool/archives/DA/SRC/flash_drv_DUMMY.c-arc $
*
* Rev 1.1 Nov 22 2004 12:25:36 mtk00539
* 1. [DA][BUG FIX] Add data verification in status polling during erase or program operation.
* 2. [DA][BUG FIX] Fix two dies flash detection fail in INTEL_CheckDevID().
* 3. [DA][Change Behavior] When RX_BUFFER_FULL occurs, flush data queued in UART ring buffer til data is less than 512KB.
* 4. [DA][New] Support Buffered-Program method for INTEL family flashes.
* 5. [DA][New] Support new flashes [SHARP]LRS1828C and [RENESAS]M6MGB64BM34CDG.
* Resolution for 99: [BROM_DLL v2.4.1008][New] Support INTEL family flash Buffered-Program method.
*
* Rev 1.0 Jul 19 2004 01:44:12 mtk00539
* Initial revision.
*
*------------------------------------------------------------------------------
* Upper this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
*==============================================================================
*******************************************************************************/
#include "flash_drv_DUMMY.h"
const NOR_Die_Layout_S DUMMY_MAP = {
0x00000000,
{
{ 0, 0, 0 }
,{ 0, 0, 0 }
,{ 0, 0, 0 }
}
};
const NOR_CMD_Callback_S DUMMY_CMD = {
DUMMY_CheckDevID,
DUMMY_CheckDevIdle,
DUMMY_Erase,
DUMMY_Erase_CheckDone,
DUMMY_Program_PreProcess,
DUMMY_Program_PostProcess,
DUMMY_Program_Enter,
DUMMY_Program_Exit,
DUMMY_Program,
DUMMY_Program_CheckDone,
NULL,
NULL
};
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -