AN1154 STMicroelectronics, AN1154 Datasheet - Page 32

no-image

AN1154

Manufacturer Part Number
AN1154
Description
8031-PSD DESIGN TUTORIAL
Manufacturer
STMicroelectronics
Datasheet
AN1154 - APPLICATION NOTE
MCU and its compiler/linker knows about, to a set of “direct” addresses that a device programmer knows
about.
To perform the address translation, take the following steps:
1. Pull down the PSDsoft menu, and choose PSD Fitter. Then, pull down the Fitter menu and choose
Figure 28. Address Translation
32/83
Notice that PSDsoft attempts to fill in the File Start and File Stop Addresses based on your PSDabel
equations. However, if paging is used, as in this tutorial, these file addresses must be handled carefully
since PSDsoft does not know how your MCU cross-compiler and linker handles paging. As we
progress, this process should become clear.
Address Translate, or select “MCU Code Mapping” in the design flow. The “Address Translation”
dialog box appears, as shown in Figure 28.
You will notice a warning message from PSDsoft upon entering the Address Translate window. This
warning is a reminder to ensure that you take paging into account when entering the start/stop
addresses and file names.
The Address Translation dialog box has the following sections:
– Memory Select Name: This is the name of the PSD memory segment that will be selected when the
– Memory Select Equations: Each cell shows the equation for the appropriate PSD memory segment.
– File Address Start: This is the first MCU system address, from MCU compiler/linker, that will be
– File Address Stop: This is the last MCU system address, from MCU compiler/linker, that will be
– File Name: This is the MCU firmware file that is generated by your MCU Compiler/Linker.
– Record Type: The supported formats are Intel HEX or Motorola S-Record.
– Mapping Mode: Two modes of mapping are supported, direct and relative. For more information,
associated equation is true.
These are the optimized equations from the PSDabel file. They are displayed for convenience, and
cannot be modified in this window.
mapped to a PSD memory segment.
mapped to a PSD memory segment.
please consult the PSDsoft User Manual .
AI03166

Related parts for AN1154