AN1176 STMicroelectronics, AN1176 Datasheet

no-image

AN1176

Manufacturer Part Number
AN1176
Description
68HC11/PSD813F1 DESIGN GUIDE
Manufacturer
STMicroelectronics
Datasheet
AN1176
APPLICATION NOTE
Design Guide
68HC11 and PSD813F1
CONTENTS
(See next page)
January 2002
1/3

Related parts for AN1176

AN1176 Summary of contents

Page 1

... CONTENTS (See next page) January 2002 AN1176 APPLICATION NOTE Design Guide 68HC11 and PSD813F1 1/3 ...

Page 2

Contents 1 Introduction ....................................................................................................................................................... 1 2 Simple Design Example..................................................................................................................................... 3 2.1 Physical Connections ................................................................................................................................. 4 2.2 Memory Map ............................................................................................................................................. 4 2.3 PSDsoft Design Entry ................................................................................................................................ 6 2.3.1 Invoke PSDsoft and Open a New Project ............................................................................................. 6 2.3.2 Design Flow Window............................................................................................................................ ...

Page 3

Introduction FLASH PSD813F devices are members of a family of flash-based peripherals for use with embedded microcontrollers (MCUs). These programmable system devices (PSDs) consist of memory, logic, and I/O. When coupled with a low-cost, ROM-less 68HC11 MCU, the PSD ...

Page 4

A Common Solution For ISP, some 68HC11 designers will use the boot-loader feature of the 68HC11 UART to download executable code into SRAM (either the small on-board 68HC11 SRAM or an external SRAM chip) then the 68HC11 jumps to that ...

Page 5

MCU in silicon. No extra design effort on your part is needed. This MCU access feature is great for loadable shift registers, counters, mailboxes, state machines, etc. There are 27 I/O pins that ...

Page 6

Physical Connections Connect your 68HC11 to the PSD as shown. The same connections can be used for all five members of the PSD813F family (PSD813F1 though PSD813F5). Notice that the 16 general purpose I/O lines that were lost on ...

Page 7

CSIO tro l ...

Page 8

To make this division of the memory map possible (i.e. common upper half, paged lower half), the 68HC11 initialization firmware must move the internal 68HC11 SRAM and registers from their default location of 0000h, to the new location of 8000h, ...

Page 9

Design Flow Window The design flow window shows all of the major steps of the design process. Clicking on a box within the design flow window invokes the associated process. You should see this: 2.3.3 Device Configuration Click on ...

Page 10

Now go to the JTAG Configuration tab and click the boxes as shown if you want to dedicate six pins of Port the JTAG channel for In-System-Programming. See Application Note 54 for options regarding JTAG. Click OK ...

Page 11

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 ...

Page 12

Definitions for convenience and readability X = .x.; page = [pgr2..pgr0]; address = [a15..a0]; EQUATIONS "******** DPLD equations ************************ " Write chip select equations to implement the memory map fs0 = (address >= ^h0000) & (address <= ^h3FFF) & ...

Page 13

Logic Synthesis and Fitting After you have edited the PSDabel template file to look like the above file the design flow window and click on the ‘Logic Synthesis and Fitting’ box. Now PSDsoft will compile the PSDabel ...

Page 14

For this simple example, you can ignore the warning and click ‘OK’ because we are only placing 68HC11 code into EEPROM segments EES0 and EES1, which are not paged. But here is an explanation of this warning will ...

Page 15

Now slide the scroll bar down until see the following: Type in the name of the file from your 68HC11 linker that contains the firmware that will boot up your system. Use your own file name. For this example we’ll ...

Page 16

Programming with FlashLINK TM Connect the FlashLINK box in the design flow window. You should see the following window pop up: This window allows you to describe the JTAG chain that exists on your circuit board, your desired operation, ...

Page 17

You should see this: Now click on the operation ‘Program’ that appears in the small pop up box, with either mouse button. Once you select ‘Program’, you will be given a choice to program all of the PSD, or just ...

Page 18

Programming with PSDpro Connect the PSDpro device programmer to your PC parallel port per the installation instructions. Click on the ‘Device Programmer’ box in the design flow window. You will see this: If this is the first use of ...

Page 19

This means swapping the ISP loader code out of the memory map after ISP is complete, and replacing it with application code, leaving the maximum ...

Page 20

Memory Map Configuration at Boot-Up/ISP (any page ) 900 0 8B00 8A00 820 0 800 0 PAG ED 400 ...

Page 21

Memory Map Configuration During Normal Application (any page ) 900 0 8B00 8A00 820 0 800 0 PAG ED 400 ...

Page 22

PSDsoft Design Entry The 68HC11 design template that is installed with your copy PSDsoft contains the PSDabel file needed to implement this second design example. Just do the following: Open a new project Select a PSD813F1 Select the 68HC11 ...

Page 23

Conclusion These examples are just two of an endless number of ways to configure the FLASH PSD for your system. Concurrent memories with a built-in programmable decoder at the segment level offer excellent flexibility. Also, as you have seen ...

Page 24

... AN1176 - APPLICATION NOTE Table 1. Document Revision History Date Rev. Jun-1999 1.0 Document written (AN061) in the WSI format Front page, and back two pages format, added to the PDF file 03-Jan-2002 1.1 References to Waferscale, WSI, EasyFLASH and PSDsoft 2000 updated to ST, ST, Flash+PSD and PSDsoft Express ...

Page 25

... India - Israel - Italy - Japan - Malaysia - Malta - Morocco - Singapore - Spain - Sweden - Switzerland - United Kingdom - United States. www.st.com/psm apps.psd@st.com (for application support) (for general enquiries) The ST logo is registered trademark of STMicroelectronics All other names are the property of their respective owners © 2002 STMicroelectronics - All Rights Reserved www.st.com AN1176 - APPLICATION NOTE 3/3 ...

Related keywords