AN1177 STMicroelectronics, AN1177 Datasheet - Page 13

no-image

AN1177

Manufacturer Part Number
AN1177
Description
P51XA-PSD8XX DESIGN GUIDE
Manufacturer
STMicroelectronics
Datasheet
AN1177 - APPLICATION NOTE
ranges that were specified in the “Chip Select Equations” screen to create the memory map. PSDsoft Ex-
press filled in these address fields for you. PSDsoft Express expects to find these absolute MCU address-
es within your P51XA linker file(s) when they are imported. On the right are boxes where you can type in
(or browse for) the name of the file(s) (including path) that indicates the location of your P51XA linker files.
Notice that you can select Motorola S-Record or Intel Hex Record for the input type. Leave the “Mapping
Mode” set to “Direct”.
Now slide the scroll bar down until you see csboot0 and csboot1.
Type in the name of the file from your P51XA linker that contains the firmware that will boot up your sys-
tem. For this example we called it boot.hex. This file can contain very simple P51XA code that configures
your system hardware and performs rudimentary tasks to check out your new hardware. In this example,
there are 32 KBytes available in secondary Flash memory segments csboot0 and csboot1, which is more
than enough for this simple boot and test code. After your new hardware is proven, you can add more code
to the boot area for advanced tasks, such as implementing a download to main Flash memory from a host
computer, as shown in the enhanced design of Section 4.
No file names are required for the main Flash memory regions (fs0-fs7) because we are only operating
out of boot Flash memory for now. Click OK, and the address translate process will produce the final .obj
file that you can use to program the PSD.
Programming the PSD. The .obj file can be programmed into the PSD in one of three ways:
The ST FlashLINK ™ JTAG cable, which connects to the PC parallel port.
The ST PSDpro device programmer, which also connects to the PC parallel port.
Third-party programmers, such as Stag and Needhams. See the website at www.st.com/psd for a list of
compatible third-party programmers.
First we’ll show you how to use the FlashLINK
JTAG cable to program the PSD.
Programming with FlashLINK
. Connect the FlashLINK
cable to your PC’s parallel port. Click the
ST JTAG/ISP box in the Design Flow window. You will be prompted for the number of devices in the JTAG
chain on your circuit board. Make the appropriate selection and click OK. This document assumes only
13/26

Related parts for AN1177