代码搜索结果
找到约 10,000 项符合
Flash 的代码
flash.pas
unit flash;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, StdCtrls, ComCtrls;
type
TFlashForm = class(TForm)
Panel
flash.cmd
MEMORY
{
PAGE 0 :
OTP : origin = 0x3D7800, length = 0x000800
FLASHJ : origin = 0x3D8000, length = 0x002000
FLASHI : origin = 0x3DA000, length = 0x002000
FLASHH
flash.htm
插入Flash文件
flash.h
#include "..\startup\44b.h"
#include "..\inc\def.h"
/*KM29U128 IO 定义*/
//RB ->GPE0
//CLE ->GPA8
//ALE ->GPA9
//WP ->
//CE ->GPA5
#define RB (0x01)
#define CLE (0x100)
#define ALE (0x200)
//#define
flash.c
//*****************************************************************************
//
// flash.c - Driver for programming the on-chip flash.
//
// Copyright (c) 2005-2008 Luminary Micro, Inc. All ri
flash.h
//*****************************************************************************
//
// flash.h - Prototypes for the flash driver.
//
// Copyright (c) 2005-2008 Luminary Micro, Inc. All rights rese
flash.c
#include "include.h"
uint data flash_r_addr;
uint data flash_w_addr;
uchar data flash_r_data;
uchar data flash_w_data;
bit A15;
sbit A20=P3^5;
sbit AB15=P4^3;
//注意:对于XBYTE[]的操作的偏移地址是仿
flash.h
#ifndef _flash_H
#define _flash_H
#include "config.h"
uchar flash_sector_erase(uchar erase_sector_num);
uchar read_flash(ulong rd_addr, uint rd_length, void *rd_buf);
uchar read_sramb(ulong ad
flash.c
#include
#include"flash.h"
void flash_wr(uword SM5964address,uchar hex_data)
{
//flash_isp_init();
ISPFAL=SM5964address;
ISPFAH=SM5964address>>8;
ISPFD=hex_data;
ISPC=0X80;
//while(I