代码搜索结果
找到约 10,000 项符合
Flash 的代码
flash.h
#define FLASH_LOCKOPRCMD 0x60
#define FLASH_UNLOCKCMD 0xD0
#define FLASH_LOCKCMD 0x01
#define FLASH_LOCKDOWNCMD 0x2F
#define FLASH_ER_PG_CONFM 0xD0// /* Erase confirm command */
#define FLAS
flash.h
/*///////////////////////////////////////////////////////////
// Flash Plugin and Player
// Copyright (C) 1998 Olivier Debon
//
// This program is free software; you can redistribute it and/or
// mod
flash.cc
/////////////////////////////////////////////////////////////
// Flash Plugin and Player
// Copyright (C) 1998,1999 Olivier Debon
//
// This program is free software; you can redistribute it and/or
/
flash.h
#ifndef __FLASH_H
#define __FLASH_H
#define ROM_BASE 0x00000000
#define DRAM_BASE 0x0c000000
#define SRAM_BASE 0x00000000
#define DEVICE_TYPE_X8 (8 / 8)
#define DEVICE_T
flash.c
#include "..\inc\board.h"
#include "..\inc\bios.h"
#include "..\inc\flash.h"
unsigned long flash_base;
unsigned short mfr_id;
unsigned short dev_id;
void send_cmd(unsigned long addr,unsigned char
flash.c
/*******************************************************************/
/*定义CHIP_6201,声明采用TMS320C6201 DSP芯片*/
/*程序宏定义,定义AM29LV040映射的首地址FLASH_ADDRS.数据存放的地址INT_MEM*/
/*编程字节的长度LENGTH*/
/*函数返回值定义 TRUE、F
flash.h
void emif_config();
void load_source(unsigned char * source_ptr, int length);
int erase_flash(int * flash_ptr);
int program_flash(unsigned char * source_ptr, int * flash_ptr, int length);
int
flash.cmd
MEMORY
{
PAGE 0: /* Program Memory */
OTP : origin = 0x3D7800, length = 0x000400 /* on-chip OTP */
FLASH : origin = 0x3E8000, length = 0x00C000
FLASHA : origin =
flash.htm
无标