Technics MT5634SMI-92 Multi-Tech Systems, Inc. Flash Programming Protocol, Programming the Modem

Page 72

Chapter 9 – Firmware Upgrade Procedure

Multi-Tech Systems, Inc. Flash Programming Protocol

Important:

When interacting with the boot code, it is possible to make the modem inoperable. Use extreme caution.

1. Programming the Modem

There are two ways to start flash programming a modem. It can be programmed

1.From “AT” mode

2.When the modem powers up.

Below is an example of how a modem is programmed.

DTE

Modem

Comments

 

 

 

AT*FS\r

 

This effectively “restarts” the modem so that it enters the

 

 

boot code.

Handshake Sequence

 

 

 

 

 

M’s

 

Many M’s are sent (10 milliseconds apart) at 19200 baud.

 

 

This is where the handshake starts if the modem is just

 

 

powered up.

 

U

U is sent at 19200 baud if M’s are received within 100

 

 

milliseconds of power up. If the M’s are not received within

 

 

100 milliseconds, then the modem starts up normally. If the

 

 

AT*FS command is used, then you have 1 second

 

 

(1000mS) to perform the handshake.

D

 

Sent at 19200 baud.

 

M

M if can receive at 9600/19200/38400/57600/115200

 

IJKLM

I if modem will be programmed at 9600

 

 

J if modem will be programmed at 19200

 

 

K if modem will be programmed at 38400

 

 

L if modem will be programmed at 57600

 

 

M if modem will be programmed at 115200

 

\r\nOK\r\n

Modem is ready to be programmed

Program Sequence:

 

 

DTE

Modem

Comments

 

 

 

ATFLP\r

 

Request to the modem to program

 

G

Modem is ready for next program packet

[Length High]

 

High byte of data packet length

[Length Low]

 

Low byte of data packet length

 

 

Packet lengths can be up to 4096 bytes in size for most boot

 

 

code versions

[Address High]

 

High byte of program address

[Address Middle]

 

Middle byte of program address

[Address Low]

 

Low byte of program address

 

 

Addresses are 3 byte values with a range of 00000h-

 

 

FFFFFh

[Data Bytes]

 

These are the data bytes to be programmed at the address

 

 

specified above. They must be the same number of bytes

 

 

as specified above.

[Checksum]

 

This checksum is generated by exclusive ORing together all

 

 

of the Data Bytes (do not include the Length or Address

 

 

bytes in that calculation).

 

\nOK\r\n

If bytes are programmed and verified.

 

\nERROR\

If verify fails or checksum is bad.

 

r\n

Retry the block 3 times on an ERROR.

 

 

More of the above sequence until all the data bytes have

….

….

been sent to the modem.

ATFLEND\r

 

This ends programming and restarts the modem.

SocketModem Global MT5634SMI Developer’s Guide

72

Image 72
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 Specifications IntroductionProduct Description Features Matrix MT5634SMITechnical Specifications and Features TIA/EIA TR29.2MT5634SMI-IT-92 Industrial Temperature 3.3V Build Option StandardMechanical Specifications Physical Dimensions All ModelsPin Configurations Pin # Signal Name I/O Type DescriptionDigital Ground Tip Signal from Telco Ring Signal from TelcoActive High DCD status Active High RDX statusPin # Signal Description Name Dgnd GNDINT VCC PWRElectrical Characteristics Electrical CharacteristicsHandling Precautions Timing RequirementsTiming Requirements for Parallel Write Timing Requirements for Parallel ReadSocketModem Parallel Interface a Programmer’s Description SocketModem Parallel Interface Internal RegistersSocketModem Mimic MMM Operation Register Name Register Description Host Access Time Out Interrupts Register Functional DescriptionsInternal Registers Special Register Set Note *2IER Interrupt Enable Bit Priority Interrupt Source Interrupt Reset ControlRBR Receive Buffer RX Fifo THR Transmit Holding Register TX FifoFCR Fifo Control LCR Line ControlMCR Modem Control LSR Line Status MSR Modem StatusSCR Scratch DLL Divisor Latch LSByteDLM Divisor Latch MSByte Baud Rate Clock Divisor Decimal DLM Value HEX DLL Value HEXAT Commands, S-Registers Result Codes AT Command SummaryModulation Handshake Set Register ValueAT Commands Enter KeyDial string modifiers DS= y Dial Stored Telephone NumberReturn Online to Data Mode Sr= n Set Register Value Sr?XON/XOFF Pacing Control Zy=x Store Dialing Command \An Select Maximum MNP Block Size\Bn Transmit Break \Nn Error Correction Mode Selection \Tn Inactivity Timer\Kn Break Control Data mode. The modem receives the break from the computerDCn AT Command Control \Xn XON/XOFF Pass-Through$RPn Ring Priority vs. AT Command Priority $Dn DTR Dialing$EBn Asynchronous Word Length $MBn Online BPS Speed#CBDn Callback Delay Callback Failed Attempts Reset#CBIn Local Callback Inactivity Timer #CBNy=x Store Callback PasswordEscape AT Commands Commands +MS= Modulation SelectionSubparameters Modulation Possible rates bps1+PCW=n Call Waiting Enable +PMH=n Modem on Hold EnableMod value Valid maxrate values bps +PIG=n PCM Upstream Ignore+PMHT=n Modem on Hold Timer +PMHF V.92 Modem Hook Flash+PMHR=n Modem on Hold Initiate +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 Commands Commands That Change for Voice Mode SupportVoice S-Register Summary Voice +V Commands Summary Voice +V Commands DetailCommand Description +FCLASS= mode Enter Select Modem Operating ModeTouch Tone Signals Digit Low frequency High frequency AT+FCLASS=? Enter Display Service Class Capabilities+FCLASS=8 Dtmf Detect Detect and Control Dtmf +VNH=hookEnter Automatic Hang-Up Control +FMI?Enter Report Manufacturers ID+FMM?Enter Report Product ID +FMR?Enter Report Version Level+VTS=string Produce Dtmf and Tone Generation in Voice Mode Enter Voice Receive State+VTS=? Report Frequency Support AT+VTS=?Start Voice Transmission Process +VGR=gain Set the Gain for Received Voice Samples+VGT=level Set the Volume for Transmitted Voice Samples +VIT=timer Set DTE/DCE Inactivity Timer+VLS=label Select Analog Source/Destination Code Description+VRA=interval Set Ring Back Goes Away Timer +VRN=interval Set Ring Back Never Appeared Timer +VSD=sds,sdi Set Silence Detection Sensitivity+VSM=cml,vsr,scs,sel Select Voice Compression Method +VSM=? Report Voice Compression Method AT+VSM=?Identifier Description Enable Report Description +VDT=enable,report Control Tone Cadence ReportingLsltcq +VEM=mask Event Reporting and Masking +VEM=? Report Event Reporting and Masking CapabilitiesInterface Configuration Commands +VPP=enable Enable or Disable Voice Mode Packet Protocol+VBT=? Report Modem Flow Control Assert and Deassert Points AT+VBT=?Voice Mode Result Codes Flow Control+VPR=rate Select DTE/DCE Interface Rate Turn Off Autobaud Unsolicited Voice Mode Result Codes Valid Complex Event Report TagsTag Description Voice Mode Shielded Codes Shielded Code Hex Event Report DescriptionAscii Command Response Sample SessionsSample Rate Selection and Suggested Compression Method AT+VLS=4 AT+VTXDLE ETX AT+VLS=0AT+VLS=2 AT+VRXDLE NUL AT+VNH=1DTE/DCE Interface Rates Related ManualsAdditional Information Fax Commands Remote Configuration Country Code Configuration Remote ConfigurationBasic Procedure SetupCountry Code Configuration Using the Global Wizard UtilityUsing AT Commands Country AT Command Result Code Hexadecimal DecimalFirmware Upgrade Procedure Upgrade OverviewUpgrade Steps Download the Upgrade File Install the Flash WizardExtract the Firmware Upgrade .Hex Files Identify the Current Version of the FirmwareUpgrade the Modem’s Firmware Using the Flash WizardRestore Your Parameters Multi-Tech Systems, Inc. Flash Programming Protocol Programming the ModemModem Comments Handshake SequenceOther Supported Boot Code Commands Other Programming ConcernsATI4 Intel Hex Format Data Record Char Pos Field Type Value DescriptionExample Extended Address Record in Intel Format 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 JP1Parallel Test/Demo Board Components Address/COM Port/ IRQ Select Jumpers JP2 and JP3Operating Voltage Select Jumper JP4 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 NoticeEMC, Safety, and R&TTE Directive Compliance Industry Canada CS-03International Modem Restrictions 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