Multi-Tech Systems MT3334SMI manual Intel Hex Format, Data Record, Xxxx

Page 69

Appendixes

3.3.The packets sent to the modem must be presorted by address and aligned on 128 byte boundaries (ie. each packet must start on an address that is a multiple of 128).

3.4.The packets should also be a minimum of 128 bytes with the non-programmed bytes set to the hex value of FF.

3.5.The packets sent to the modem must not span a 4K boundary (ie. start the packet before it and go over the boundary in the middle of the packet).

3.6.The 10 millisecond delay between M’s at the beginning of the handshake is so that the modem can sync up to the start bit. If the M’s are sent one right after another, a data bit might be mistaken as a start bit.

3.7.Multi-Tech firmware files are in Intel Hex Format and must be read in and formatted into 128- 4096 byte blocks before being sent to the modem.

Refer to the Intel Hex Format section below for information about the Intel Hex Format.

Intel Hex Format

An Intel Format Hex File is a text file consisting of “records”, one per line, that start with a “:” character and include only digits 0-9 and letters A-F. There are three different record types: Extended Address Records, Data Records and End of File Records.

Data records contain the actual data that is to be programmed into a device. The address contained in the data record needs to be combined with an extended address (by adding the extended address shifted four bits left to the data record address) to determine the actual programming address for the data. If no extended address record is before a given data record in the file, then the extended address value is assumed to be zero.

The record types are described below:

Data Record

Char Pos

Field Type

Value

Description

1

Record Start

“:”

 

2-3

Data Byte Count

“NN”

Maximum value is FF (which is 255 data

 

 

 

bytes).

 

 

 

Typical is 20h which causes the hex record

 

 

 

to fit in 80 columns.

4-7

Address

“XXXX”

Lower 16 bits of 20 bit address, most

 

 

 

significant byte first. This must be added to

 

 

 

Extended Address left shifted four bits.

Char Pos

Field Type

Value

Description

8-9

Record Type

“02”

Data Record

10+N

Data Bytes

“YY..YY”

The data bytes in hex. Each byte is two

 

 

 

characters.

NN+1,2

Checksum

“ZZ”

Zero minus the two’s complement addition

 

 

 

of all data hex values.

NN+3,4

End of Line

“\r\n”

Carriage Return followed by a Line Feed

Example Data Record in Intel Format

:2000A0005BB66DDBB66CD8B060C183060D1B366DDBB66DDBB76FDFBF7EFDFBF6EDDBB66DD4

MT3334SMI

69

Image 69
Contents Data/Fax Socketed Modem Model MT3334SMI Evaluation KitPatents Revision DescriptionContents Index Introduction and Description Introduction FeaturesProduct Description ModemModule Developer’s GuideIntroduction and Description Technical Specifications1200 bps MT3334SMI Physical Dimensions Physical DimensionsTest/Demo Board Specifications DS1LED1-LED4 MT3334SMI Test/Demo Board Block Diagram Test/Demo Board Block DiagramMT3334SMI Pinout MT3334SMI Pin-outTypical Application Hardware Considerations MT3334SMI Design ConsiderationsPC Board Layout Considerations Calculating Z for Tip and Ring TracesRecommended Transceiver MT3334SMI Placement KeyQty Name Description FCC Part Telecom Labeling RequirementsReregistration Industry Canada CS-03Multiple Listing AT Commands, S-Registers, and Result Codes Answer Repeat Last CommandAT Commands, S-Registers, and Result Codes Monitor Speaker Mode Monitor Speaker VolumeReturn Online to Data Mode Result Codes Enable/DisableSr? Read Register Value Modem ResetTone Dialing Result Code FormatAsynchronous Communications Mode Command &Fn Load Factory SettingsDisplay Current Settings Store Current Configuration\An Select Maximum MNP Block Size Command &Zy=x Store Dialing Command\Bn Transmit Break \Jn Data Buffer Control\Tn Inactivity Timer \Nn Error Correction Mode Selection\Qn Flow Control Selection \Vn Protocol Result CodeCommand %En Fallback and Fall Forward Control Command %DCn AT Command ControlCommand +ES=n Enable Synchronous Buffered Mode Enter Setup PasswordRegisters Register Unit Range Default DescriptionS43 Terse Verbose Description Result CodesClass 1 Fax Commands Command Description Class 1 Fax Command SummaryCommand Class 1 Fax Commands Fax MOD Modulation Parameter ValuesFunction Display Current Class Values Default Data modem Result Code MeaningModemModule Developer’s Guide Command Function Select Service Class Values Default Data modeFunction +FRS=? Enter Class 1 Fax Commands+FRM=? Enter Flow Control Result CodesSample Sessions Action by Command Respone Local Modem Remote PC AT+FRH=3 No Carrier ModemModule Developer’s Guide Class 2 Fax Commands Class 2 Fax Commands EIA SP-2388 August Class 2 Fax Command Implementation+FAA +FAXERR+FBOR +FCQ+FCR Fax Capability Parameters +FDCC+FDCS Current Session ResultsData Compression Format Conversion +FDFFC+FDIS Current Session Parameters+FDT +FDR+FECM +FET+FLID +FK+FLNFC +FLPL+FRBC +FPTS+FREL +FSPL+FTSI +FHNGMT3334SMI Remote Configuration Setup Basic ProcedureChanging the Setup Password ModemModule User GuideChanging the Remote Escape Character Remote ConfigurationMT3334SMI Troubleshooting Local Analog Loopback Test V.54 Loop Test procedureRemote Digital Loopback Test V.54 Loop TroubleshootingLocal digital loopback test Local Digital Loopback Test V.54 LoopUpgrade Procedure Identify the Modem Firmware Upgrade OverviewIdentify the Current Firmware Version Multi-Tech Web SiteDownload the Upgrade File Upgrade ProcedureMulti-Tech BBS Use FlashPro to Upgrade Modem Firmware Extract the Upgrade FilesRestore Your Parameters Clear Your Stored ParamentersAppendixes MT3334SMI International Modem Restrictions FCC FAX UpdateCanadian Limitations Notice AppendixesEMC, Safety and Terminal Directive Compliance European Directives User Guide StatementNew Zealand Telecom Warning Notice Introduction Appendix B Multi-Tech Flash Programming ProtocolProgramming the Modem Handshake SequenceOther supported boot code commands Other programming concernsModemModule Developer’s Guide Program Sequence Intel Hex Format Data RecordXxxx Extended Address Record End of File RecordEeee Index IndexMT3334SM MT3334SMI MT3334SM