Technics MT5634SMI-92 manual Intel Hex Format, Data Record Char Pos Field Type Value Description

Page 74

Chapter 9 – Firmware Upgrade Procedure

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.

 

 

 

 

8-9

Record Type

“00”

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

Extended Address Record

 

Char Pos

Field Type

Value

 

Description

 

 

 

 

 

 

1

Record Start

“:”

 

 

 

2-3

Data Byte Count

“02”

 

Always 2 bytes for this record type

 

 

 

 

 

 

4-7

Address

“0000”

 

Not used for this record type (must be zero)

 

 

 

 

 

 

8-9

Record Type

“02”

 

Extended Address Record

 

 

 

 

 

 

10-13

Extended Address

“EEEE”

 

Top 16 bits of 20 bit address, most significant

 

 

 

 

 

byte first

 

 

 

 

 

 

14-15

Checksum

“ZZ”

 

Zero minus the two’s complement addition of all

 

 

 

 

 

data hex values

 

 

 

 

 

 

16-17

End of Line

“\r\n”

 

Carriage Return followed by a Line Feed

 

Example Extended Address Record in Intel Format

 

 

:020000021000EC

 

 

 

 

 

 

 

 

End of File Record

 

 

 

 

 

 

 

 

 

Char Pos

Field Type

Value

 

Description

 

 

 

 

 

 

1

Record Start

“:”

 

 

SocketModem Global MT5634SMI Developer’s Guide

74

Image 74
Contents MT5634SMI-34 MT5634SMI-92 Revisions Table of Contents Multi-Tech’s Flash Programming Protocol Appendix C Country Configuration and Result Codes Index Product Description Product Description SpecificationsIntroduction Features Matrix MT5634SMITechnical Specifications and Features TIA/EIA TR29.2MT5634SMI-IT-92 Industrial Temperature 3.3V Build Option StandardMechanical Specifications Physical Dimensions All ModelsDigital Ground Pin ConfigurationsPin # Signal Name I/O Type Description Active High DCD status Tip Signal from TelcoRing Signal from Telco Active High RDX statusINT Pin # Signal Description NameDgnd GND VCC PWRElectrical Characteristics Electrical CharacteristicsTiming Requirements for Parallel Write Handling PrecautionsTiming Requirements Timing Requirements for Parallel ReadSocketModem Mimic MMM Operation SocketModem Parallel Interface a Programmer’s DescriptionSocketModem Parallel Interface Internal Registers Register Name Register Description Host Access Internal Registers Time Out InterruptsRegister Functional Descriptions Special Register Set Note *2RBR Receive Buffer RX Fifo IER Interrupt EnableBit Priority Interrupt Source Interrupt Reset Control THR Transmit Holding Register TX FifoMCR Modem Control FCR Fifo ControlLCR Line Control LSR Line Status MSR Modem StatusDLM Divisor Latch MSByte SCR ScratchDLL Divisor Latch LSByte Baud Rate Clock Divisor Decimal DLM Value HEX DLL Value HEXAT Commands, S-Registers Result Codes AT Command SummaryModulation Handshake Set Register ValueDial string modifiers AT CommandsEnter Key DS= y Dial Stored Telephone NumberReturn Online to Data Mode Sr= n Set Register Value Sr?XON/XOFF Pacing Control \Bn Transmit Break Zy=x Store Dialing Command\An Select Maximum MNP Block Size \Kn Break Control \Nn Error Correction Mode Selection\Tn Inactivity Timer Data mode. The modem receives the break from the computerDCn AT Command Control \Xn XON/XOFF Pass-Through$EBn Asynchronous Word Length $RPn Ring Priority vs. AT Command Priority$Dn DTR Dialing $MBn Online BPS Speed#CBIn Local Callback Inactivity Timer #CBDn Callback DelayCallback Failed Attempts Reset #CBNy=x Store Callback PasswordEscape AT Commands Subparameters Commands+MS= Modulation Selection Modulation Possible rates bps1Mod value Valid maxrate values bps +PCW=n Call Waiting Enable+PMH=n Modem on Hold Enable +PIG=n PCM Upstream Ignore+PMHR=n Modem on Hold Initiate +PMHT=n Modem on Hold Timer+PMHF V.92 Modem Hook Flash +PQC=n Quick Connect Control +VCID=n Caller ID Selection#Sx Enter Setup Password #S=x Store Setup PasswordRegister Unit Range Default Description RegistersS38 S48=7 S48=128Result Codes Terse Verbose Description111 Voice Commands Voice S-Register Summary Voice CommandsCommands That Change for Voice Mode Support Command Description Voice +V Commands SummaryVoice +V Commands Detail +FCLASS= mode Enter Select Modem Operating Mode+FCLASS=8 Dtmf Detect Detect and Control Dtmf Touch Tone Signals Digit Low frequency High frequencyAT+FCLASS=? Enter Display Service Class Capabilities +FMM?Enter Report Product ID +VNH=hookEnter Automatic Hang-Up Control+FMI?Enter Report Manufacturers ID +FMR?Enter Report Version Level+VTS=string Produce Dtmf and Tone Generation in Voice Mode Enter Voice Receive StateStart Voice Transmission Process +VTS=? Report Frequency SupportAT+VTS=? +VGR=gain Set the Gain for Received Voice Samples+VLS=label Select Analog Source/Destination +VGT=level Set the Volume for Transmitted Voice Samples+VIT=timer Set DTE/DCE Inactivity Timer Code Description+VRA=interval Set Ring Back Goes Away Timer +VSM=cml,vsr,scs,sel Select Voice Compression Method +VRN=interval Set Ring Back Never Appeared Timer+VSD=sds,sdi Set Silence Detection Sensitivity Identifier Description +VSM=? Report Voice Compression MethodAT+VSM=? Lsltcq Enable Report Description+VDT=enable,report Control Tone Cadence Reporting +VEM=mask Event Reporting and Masking +VEM=? Report Event Reporting and Masking Capabilities+VBT=? Report Modem Flow Control Assert and Deassert Points Interface Configuration Commands+VPP=enable Enable or Disable Voice Mode Packet Protocol AT+VBT=?+VPR=rate Select DTE/DCE Interface Rate Turn Off Autobaud Voice Mode Result CodesFlow Control Tag Description Unsolicited Voice Mode Result CodesValid Complex Event Report Tags Voice Mode Shielded Codes Shielded Code Hex Event Report DescriptionAscii Sample Rate Selection and Suggested Compression Method Command ResponseSample Sessions DLE ETX AT+VLS=4AT+VTX AT+VLS=0DLE NUL AT+VLS=2AT+VRX AT+VNH=1Additional Information DTE/DCE Interface RatesRelated Manuals Fax Commands Basic Procedure Remote Configuration Country Code ConfigurationRemote Configuration SetupUsing AT Commands Country Code ConfigurationUsing the Global Wizard Utility Country AT Command Result Code Hexadecimal DecimalUpgrade Steps Firmware Upgrade ProcedureUpgrade Overview Extract the Firmware Upgrade .Hex Files Download the Upgrade FileInstall the Flash Wizard Identify the Current Version of the FirmwareRestore Your Parameters Upgrade the Modem’s FirmwareUsing the Flash Wizard Modem Comments Multi-Tech Systems, Inc. Flash Programming ProtocolProgramming the Modem Handshake SequenceATI4 Other Supported Boot Code CommandsOther Programming Concerns Example Extended Address Record in Intel Format Intel Hex FormatData Record Char Pos Field Type Value Description End of File Record Char Pos Field Type Value DescriptionExample End of File in Intel Format Appendix a Mechanical Details Serial Test/Demo Board ComponentsSerial Test/Demo Board Block Diagram 5V / 3.3V Jumper JP1Operating Voltage Select Jumper JP4 Parallel Test/Demo Board ComponentsAddress/COM Port/ IRQ Select Jumpers JP2 and JP3 Parallel Test/Demo Board Block Diagram Figure A-4. Parallel Test/Demo Board Block DiagramSafety and EMC Approvals Telecom ApprovalsRegulatory Design Considerations Hardware ConsiderationsSafety 5V Tolerant Inputs for 3.3V Modules FCC Part 15 Regulation Industry CanadaFCC Part 68 Telecom Telecom Labeling RequirementsFrom FCC Part 68 Subpart D Conditions for Registration ReregistrationFax Branding Statement Canadian Limitations NoticeInternational Modem Restrictions EMC, Safety, and R&TTE Directive ComplianceIndustry Canada CS-03 Multiple ListingNew Zealand Telecom Warning Notice South African NoticeAppendix C Country Configuration Result Codes Country Country Config. hex ATI9 ResponseAppendix C Country Configuration and Result Codes Appendix C Country Configuration and Result Codes Appendix C Country Configuration and Result Codes Page Index Index Index Index