ST AN1635 Application note

AN1635

APPLICATION NOTE

ST7 CUSTOMER ROM CODE RELEASE INFORMATION

by MCD Applications

INTRODUCTION

When their ST7 ROM code is ready to be mask programmed, customers send their executable file to ST in Motorola .s19 format. When ST receives it, this file is reformatted by a proprietary automation tool called NEWGET in order to generate the mask levels and test patterns for manufacturing and testing the devices.

Consequently, when customers receive back their ROM code for validation before ST programs their parts, they receive a file in a different format from the one they sent originally. To help customers understand why the file is different, this Application Note lists the modifications that occur when the file is processed by NEWGET.

AN1635/0703

1/5

1

ST AN1635 Application note

ST7 CUSTOMER ROM CODE RELEASE INFORMATION

1 LIST OF CHANGES

Here are the modifications made to the executable file during NEWGET processing:

The first line“s0” is removed (useless info common to all s19 files)

the software is sorted by device memory address

device memory unused by your software is filled with "FF"

2 .S19 FILE STRUCTURE

Figure 1. s19 file description

S19 structure file

S19 file head title

(it’s the same for all S19 files)

S00600004844521B

S113 E000 AE FF 7F AE FF 5F 1E 05 1E 06 1F 04 A6 84 B7 32 57

S113 E010 A6 98 B7 31 A6 00 B7 36 A6 FF B7 37 A6 01 B7 3E 14

S113 E020 A6 EF B7 3F 9A 9D 20 FD 80 80 80 80 80 0F 33 09 42

S111 E030 0E 04 04 1E 04 20 02 1F 04 B6 35 80 80 80 F6

S113 FFE0 E0 28 E0 28 E0 3D E0 28 E0 28 E0 28 E0 28 E0 3C A4

S113 FFF0 E0 28 E0 2D E0 2C E0 28 E0 2A E0 2B E0 29 E0 00 D6

S9030000FC

Loading addresses

S19 file end

Line checksum

CODE

Total number of bytes per line (code + address + checksum) in HEXADECIMAL

Note: The line checksum is calculated with the formula: FF-(all the bytes in the line including code, address and total number of bytes per line).

2/5

2

Loading...
+ 3 hidden pages