AN1154 STMicroelectronics, AN1154 Datasheet - Page 31

no-image

AN1154

Manufacturer Part Number
AN1154
Description
8031-PSD DESIGN TUTORIAL
Manufacturer
STMicroelectronics
Datasheet
Figure 27. C Code Generation – Coded Examples
Once the C code generated by PSDsoft is integrated into your own C application, and is successfully
compiled and linked by your MCU cross-compiler, you are ready for address translation.
Performing the Address Translation
The Address Translator combines the tutor8XX.fob file with the MCU firmware file(s) generated by your
chosen MCU cross-compiler. Address Translator generates the tutor8XX.obj file that is to be downloaded
to a programmer that is compatible with the M88 FLASH+PSD.
The addresses within in the generated tutor8XX.obj file are special “direct” addresses – meaningful to a
programming device. They are not “system” addresses, that an MCU would use, or that the DPLD
decodes. That is what is meant by “Address Translate”. It is a translation of “system” addresses that the
This sheet contains several examples that you may use as a basis for building your own C code
application. These are complete projects (main, functions, and headers) targeted at a particular MCU.
You may copy these files to another folder, to browse them for ideas, or cut and paste sections from
the examples into your own cross-compiler environment. There are three sections:
– Example: To specify the folder in which you would like to place the example project files generated
– Example Selection: There are several areas for which you may generate C code. Each category
– Description: This describes each of the coded examples in the “Example Section”
by PSDsoft. (Click the Browse button, and select a folder, when filling in this section).
implements a high-level system function, such as memory paging, UART downloads to Flash
memory, etc.
AN1154 - APPLICATION NOTE
AI03165
31/83

Related parts for AN1154