AN1176 STMicroelectronics, AN1176 Datasheet - Page 11

no-image

AN1176

Manufacturer Part Number
AN1176
Description
68HC11/PSD813F1 DESIGN GUIDE
Manufacturer
STMicroelectronics
Datasheet
2.3.5 Edit the template.
The default 68HC11 template that you see on the screen has numerous elements inside to
illustrate many features of the FLASH PSD813F. To simplify things, edit this template
file that you see to look like the following simple PSDabel file. You can cut and replace the
entire body of the PSDabel text in the template on your PC directly from this document if you
desire. Be sure to change the module name in the very first line from ‘yourfile’ to whatever you
named your project when you first created the project.
Page
module yourfile
title 'Simple 68HC11 embedded flash design';
"**** Pin Declarations
r_w
e
as
reset
a15..a0
"**** Port pin assignments. See Application Notes 55 & 57
"**** for details on assigning port pins. No I/O pins are
"**** used in this simple HC11 example.
"**** Be aware that you have clicked the boxes in
"**** 'Device Config' to dedicate 6 of the 8 Port C
"**** pins for JTAG use. See Application Note 54
"**** for details on JTAG and Port C
"**** Internal node declarations
fs7..fs0 node; "Internal chip selects, Main Flash memory segs.
ees3..ees0 node;
rs0 node;
csiop node;
pgr2..pgr0 node;
9
pin;
pin;
pin;
pin;
pin;
"Internal chip select, SRAM, one segment, 2K bytes
"Internal chip select PSD Control Regs, 256 bytes
"Input:(pin 48)- system reset
"Input:(pins 46..39,37..30)- demuxed address
"CNTL0 Input:(pin 47)- read/write indicator
"CNTL1 Input:(pin 50)- E clock
"PD0 Input:(pin 10)- address strobe
"Eight segments, 16K bytes each
"Internal PSD page register bits. Eight are
"available, we are only using three
"bits in this example to access five
"memory pages.
"Internal chip selects, EEPROM segments.
"Four segments, 8K bytes each

Related parts for AN1176