Cart New Account Login

HomeAbout usProductsSupportForumsBlogCustomer Service
   Home P&E Customer Support FAQs - Frequently Asked Questions FAQ ID # 45
FAQ ID # 45
 
Question
I recently upgraded my assembler to the latest version. Now my S19 files are different. Why?
 
Answer
Though your S19 files may be different, the data contained within
them may be the same. Motorola uses three different formats for
their S19 files -- s1 (16 bit addressing), s2 (24 bit addressing), and
s3 (32 bit addressing). An older version of the PEmicro assembler may have
output, say, an s1 record... whereas the newest version may put out an
s3 record. No matter which format your S19 file is in, you will be able
to load it into your target! Following are identical code fragments in
s1, s2, and s3 record format. Spaces have been added to more clearly
illustrate the relevant sections.

S1 13 0000 0440030003E6FFFF00440040004C003C B2
S2 14 000000 0440030003E6FFFF00440040004C003C B1
S3 15 00000000 0440030003E6FFFF00440040004C003C B0

The first section, SX, denotes the type of S record this particular file
is: S1, S2, or S3.
Section 2, which is a 1 byte number, denotes the total number data bytes
which follow on that particular line.

Section 3 is the start address for the data contained in that particular
line of the S19 file.

Section 4 is the actual data (e.g., your code)

The final section is the checksum for that line. Sections 2,3, and 4 are used
in the checksum calculation.
 
Related Downloads
none
 
Architectures Categories Products
HC08, HCS08, HC(S)12(X), 68HC16, CPU3xx, ColdFire V2/V3/V4, Power MPC5xx/8xx, RS08, ColdFire V1 IDE - Integrated Development Environment, Assembler KIT908AB-USB, KIT912B32_USB, KIT9S12DP256B-USB, KIT9S12DP256B-MULTI, CASM05Z, MMDS0508Z, MMEVS0508Z, WINIDE05Z, CASM08Z, WINIDE08Z, KIT-HCS08GB, KIT-HCS08GB-USB, PKGHCS08-USB, CASMHCS08, WINIDEHCS08, AEVM11Z, CASM11Z, MMDS11Z, PKG12Z_USB, CASM12Z, WINIDE12Z, CASM16Z, WINIDE16Z, CASM32Z, WINIDE32Z, PKGCFZ, CASMCFZ, WINIDECFZ, CASMPPCZ, WINIDE11Z, WinIDEPPCZ, PKGPPCBDM-USB, PKGCFZ_PRO, KIT9S12A256B-MULTI, KIT9S12A256B-USB, PKG16Z-USB, PKG32Z-USB
 
Please rate this FAQ to help us improve our support
0 means "not helpful"
10 means "very helpful"
0 1 2 3 4 5 6 7 8 9 10

© 2017 P&E Microcomputer Systems Inc.
Website Terms of Use and Sales Agreement