AN1827 Freescale Semiconductor / Motorola, AN1827 Datasheet - Page 53

no-image

AN1827

Manufacturer Part Number
AN1827
Description
Programming and Erasing FLASH Memory on the MC68HC908AS60
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
/**********************************************************************************/
/*****
/**********************************************************************************/
#define CONFIG1 (*((volatile unsigned char *)0x001F))
#define FLCR1
#define FLCR2
#define FLBPR1
#define FLBPR2
#define FLASH1
#define FLASH2
/**********************************************************************************/
/*****
/**********************************************************************************/
#define HVEN
#define MARGIN
#define ERASE
#define PGM
/**********************************************************************************/
/**********************************************************************************/
/*
/*
/*
/**********************************************************************************/
/* File Name: Prog_er_var.c
/*
/* Current Revision: 1.0
/* Current Release Level: RP
/* Current Revision Release Date: 10/02/99
/*
/* Current Release Written By:
/*
/*
/*
/* Compiled Under: HiCross HC08 (HiWare)
/*
/* Project Folder Name: FLASH_2TS
/*
/* Part Family Software Routine Works With: HC08
/* Part Module(s) Software Routine Works With: fls32k_a01
/*
/* RAM Used (Bytes):
/*
/* Description:
AN1827
MOTOROLA
Programming and Erasing FLASH 2TS Memory on the MC68HC908AS60
(*((volatile unsigned char *)0xFF80))
(*((volatile unsigned char *)0xFF81))
(*((volatile unsigned char *)0x8000))
(*((volatile unsigned char *)0xFE0B))
(*((volatile unsigned char *)0xFE11))
(*((volatile unsigned char *)0x0450))
0x08
0x04
0x02
0x01
Freescale Semiconductor, Inc.
For More Information On This Product,
11
Adeela Gill
Go to: www.freescale.com
Motorola Systems Engineering
Austin, Texas
Register Equates
Bit Equates
Ver.: 5.0.5
Copyright (c) Motorola 1999
/* Configuration Register 1
/* FLASH Control Register 1
/* FLASH Control Register 2
/* FLASH Block Protect Register 1
/* FLASH Block Protect Register 2
/* Start Address of FLASH Array 1
/* Start Address of FLASH Array 2
/* Bit 3: High-Voltage Enable Bit
/* Bit 2: Margin Read Control Bit
/* Bit 1: Erase Control Bit
/* Bit 0: Program Control Bit
Application Note
C Source Code
*****/
*****/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
*/
53

Related parts for AN1827