MT3333/MT3339 PLATFORM FIRMWARE UPDATE PROCEDURE

Similar documents
SIM800 Series_IP_Application Note_V1.02

SIM900 Eclipse environment install Application Note_V1.00

SIMCom_3G_SSL_Application Note_V1.10

SIM900_Custom Application Building Tutorial_Application Note_V1.00

SIM800 Series_FM_Application Note_V1.00

Quectel Cellular Engine

L16. Quectel GNSS Engine. EVB User Guide L16_EVB_UGD_V1.0

GSM. Quectel Cellular Engine. HTTP Service AT Commands GSM_HTTP_ATC_V1.2

SMS Application Note. SIM5360_SMS_Application_Note_V0.01

Quectel Cellular Engine

SIM800 Series_SSL_Application Note_V1.01

SIM800 Series_SSL_Application Note_V1.00

Quectel Cellular Engine

WCDMA&GSM Module_Extra_Function_for_Network

M72. Quectel Cellular Engine. EVB User Guide M72_EVB_UGD_V1.0

L10. Quectel GPS Engine. EVB User Guide L10_EVB_UGD_V1.00

U10. Quectel Cellular Engine. Video Call Application Notes. U10_ Video_Call_AN_V1.0

(SMTP/POP3) Application Note

Quectel Cellular Engine

Quectel Cellular Engine

GSM. Quectel Cellular Engine. GSM TCPIP Application Notes GSM_TCPIP_AN_V1.1

AN3155 Application note

QuecLocator Application Note

MT3339 PC Tool Operation Manual

M95 Dual SIM Application Notes

ROM Monitor. Entering the ROM Monitor APPENDIX

WIFI OBD GPS Tracker T356 User Manual

AN601 I2C 2.8 Communication Protocol. SM130 SM130 - Mini APPLICATION NOTE

AT88CK490 Evaluation Kit

USB - FPGA MODULE (PRELIMINARY)

MODFLEX MINI GATEWAY ETHERNET USER S GUIDE

Bootloader with AES Encryption

APPLICATION NOTE. AT07175: SAM-BA Bootloader for SAM D21. Atmel SAM D21. Introduction. Features

TFTP Firmware upgrade

VDIP1. Vinculum VNC1L Module. Datasheet

MN1010 Evaluation Kit v3 User Guide

Application Note AN0008. Data Logging Extension. For. Venus 8 GPS Receiver

Application Note AN0008. Data Logging Extension. For. Venus 6 GPS Receiver

OVERVIEW Playbacks: Shortcuts: Memories: Data Entry Wheels: Touchpad: Master and Blackout:

IDDERO HOME SERVER. Quick start guide

ETRX3USB ETRX3USB-LRS ETRX3USB+8M ETRX3USB-LRS+8M PRODUCT MANUAL

How-To-Do. Firmware Update Speed7 and project backup on the MMC card

GSM Interfacing Board

DFU loader for XMOS USB AUDIO devices

SIM900 Reference Design Guide. SIM900_AN_ Reference Design Guide_V1.02

White Paper Using the Intel Flash Memory-Based EPC4, EPC8 & EPC16 Devices

User Manual Revision English

Event Monitor Application Note 80000NT10028a Rev

UART Boot Loader Design on the Kinetis E Series

ZyXEL AES-100 V2.03(AS.0) Release Notes/Manual Supplement

RFID MODULE Mifare Reader / Writer SL025B User Manual Version 1.4 Nov 2012 StrongLink

M80 EVB User Guide M80. Quectel Cellular Engine. EVB User Guide M80_EVB_UGD_V1.2 M80_EVB_UGD_V1.2-0-

AN3990 Application note

AN2146 APPLICATION NOTE

HP Education Services Course Overview

MN3310 Evaluation Kit v1 User Guide

The 2007 R2 Version of Microsoft Office Communicator Mobile for Windows Mobile: Frequently Asked Questions

TOE2-IP FTP Server Demo Reference Design Manual Rev1.0 9-Jan-15

GTS-4E Hardware User Manual. Version: V1.1.0 Date:

RouteFinder SOHO. Quick Start Guide. SOHO Security Appliance. EDGE Models RF825-E, RF825-E-AP CDMA Models RF825-C-Nx, RF825-C-Nx-AP

Grandstream Networks, Inc. GXP2130/2140/2160 Auto-configuration Plug and Play

Aperio Online System Description

OpenVox Communication Co. LTD. OpenVox-Best Cost Effective Asterisk Cards

Vehicle Tracking and Monitoring By ARM7

Setup Soft PLC Technical handbook

i.mx USB loader A white paper by Tristan Lelong

USR-TCP232-T Hard Version: V2.0 Doc Version: V

Booting from NAND Flash Memory

ConnectKey 2.0 WorkCentre 6655i 6655

ADVANCED PROCESSOR ARCHITECTURES AND MEMORY ORGANISATION Lesson-17: Memory organisation, and types of memory

Command Emulator STAR Line Mode Command Specifications

User s Manual for Fingerprint Door Control Software

Development Kit EM4095 User s Manual

Type 2 Tag Operation Specification. Technical Specification T2TOP 1.1 NFC Forum TM NFCForum-TS-Type-2-Tag_

SDRAM and DRAM Memory Systems Overview

Gilsson AlwaysFind Web Base Fleet Management AVL & Personal GPS Trackers

CNC Transfer. Operating Manual

Programming Flash Microcontrollers through the Controller Area Network (CAN) Interface

x10* CP290 HOME CONTROL INTERFACE PROGRAMMING GUIDE FOR ADVANCED PROGRAMMERS

Summer Project Report. Fingerprint Based Attendance System

GENERAL TRAINING ACCOUNTS

COS 318: Operating Systems. I/O Device and Drivers. Input and Output. Definitions and General Method. Revisit Hardware

Connecting AMD Flash Memory to a System Address Bus

December 2002, ver. 1.0 Application Note 285. This document describes the Excalibur web server demonstration design and includes the following topics:

WIZnet S2E (Serial-to-Ethernet) Device s Configuration Tool Programming Guide

2012/02/10: Re-formatted and revised document 2012/01/05: Added figures and notes 2011/11/08: Initial release

Configuring the Siemens TC35 modems for use with the MI2292

Intel RAID Controller Troubleshooting Guide

How To Set Up A Modbus Cda On A Pc Or Maca (Powerline) With A Powerline (Powergen) And A Powergen (Powerbee) (Powernet) (Operating System) (Control Microsci

WNMS Mobile Application

Quick Start Guide. Cisco SPA232D Mobility Enhanced ATA

PHYS 2P32 Project: MIDI for Arduino/ 8 Note Keyboard

Loading IOS Image with Xmodem when TFTP is unavailable

CUSTOMER RELEASE NOTES

S-911 Bracelet Locator Protocol 1.0 Analyzer. User Manual

Application Note. AN_136_Hi-Speed Mini Module EEPROM Disaster Recovery

8-Port HDMI Switch USER MANUAL VS0801H

AT-S84 Version ( ) Management Software for the AT-9000/24 Gigabit Ethernet Switch Software Release Notes

Transcription:

MT3333/MT3339 PLATFORM FIRMWARE UPDATE PROCEDURE

Document Title: MT3333/MT3339 Platform Firmware Update Procedure Version: V1.00 Date: 2013-09-17 Status: Document Control ID: Release MT3333/MT3339_Platform_Firmware Update Procedure_V1.00 General Notes SIMCOM offers this information as a service to its customers, to support application and engineering efforts that use the products designed by SIMCOM. The information provided is based upon requirements specifically provided to SIMCOM by the customers. SIMCOM has not undertaken any independent search for additional relevant information, including any information that may be in the customer s possession. Furthermore, system validation of this product designed by SIMCOM within a larger electronic system remains the responsibility of the customer or the customer s system integrator. All specifications supplied herein are subject to change. Copyright This document contains proprietary technical information which is the property of Shanghai SIMCom Wireless Solutions Ltd, copying of this document and giving it to others and the using or communication of the contents thereof, are forbidden without express authority. Offenders are liable to the payment of damages. All rights reserved in the event of grant of a patent or the registration of a utility model or design. All specification supplied herein are subject to change without notice at any time. Copyright Shanghai SIMCom Wireless Solutions Ltd. 2013 MT3333_Platform_Firmware Update Procedure_V1.00 2 2013-09-17

Version History Version Chapter What is new V1.00 Original version Original MT3333_Platform_Firmware Update Procedure_V1.00 3 2013-09-17

Contents VERSION HISTORY...3 1 INTRODUCTION...6 1.1 SCOPE OF THE DOCUMENT...6 1.2 RELATED DOCUMENTS...6 1.3 TERM ABBREVIATION...6 2 PROCEDURE...6 2.1 CMD_START...7 2.2 CMD_WRITE...8 2.3 CMD_JUMP...9 2.4 CMD_SYNC...9 2.5 CMD_SETMEMBLOCK...10 2.6 CMD_WRITEDATA...11 2.7 CMD_FINISH...12 MT3333_Platform_Firmware Update Procedure_V1.00 4 2013-09-17

Tables Table 1-1: Term abbreviation...6 Table 2-1: firmware update procedure...7 Figures Figure 1-1: firmware update connection...6 Figure 2-1: CMD_start...7 Figure 2-2: CMD_write...8 Figure 2-3: CMD_Jump...9 Figure 2-4: CMD_Sync...10 Figure 2-5: CMD_SetMemBlock... 11 Figure 2-6: CMD_WriteData... 11 Figure 2-7: CMD_Finish...12 MT3333_Platform_Firmware Update Procedure_V1.00 5 2013-09-17

1 Introduction 1.1 Scope of the document This document presents details of Boot ROM handshaking and flash download/format. This update procedure support MT3339 platform modules,including: SIM28, SIM28C, SIM39EA and SIM928A. And support MT3333 platform modules also,including: SIM68R, SIM68V, SIM968. Following this procedure, user can download built image to target side via RS232. 1.2 Related documents Figure 1-1: firmware update connection (1) MT3333 Platform NMEA Message Specification For GPS+GLONASS_V1.00 (2) MT3339 Platform NMEA Message Specification_V1.00 1.3 Term abbreviation Table 1-1: Term abbreviation Term DA BROM SRAM ACK NACK Definition Download Agent Boot ROM Static random-access memory Acknowledge Negative Acknowledge 2 Procedure The whole procedure has two stages: Stage I: Download DA to Internal SRAM, and then jump to DA Start Address to execute DA in Internal SRAM. Stage II: MT3333_Platform_Firmware Update Procedure_V1.00 6 2013-09-17

Download BIN file to flash, then jump to flash Start Address to execute program.. Table 2-1: firmware update procedure Stage Step Command Description 1 CMD_Start Send update start commands I 2 CMD_Write write DA file to SRAM 3 CMD_Jump Jump to DA start address and execute 4 CMD_Sync Sync and report flash information II 5 CMD_SetMemBlock Set memory block information 6 CMD_WriteData Write BIN file to flash 7 CMD_Finish Notify DA to power off target 2.1 CMD_Start After GNSS module is power on. Send NMEA_START_CMD "$PMTK180*3B\r\n" to GNSS to start update procedure. Figure 2-1: CMD_start MT3333_Platform_Firmware Update Procedure_V1.00 7 2013-09-17

2.2 CMD_Write This command will write DA file to SRAM. Figure 2-2: CMD_write MT3333_Platform_Firmware Update Procedure_V1.00 8 2013-09-17

2.3 CMD_Jump Figure 2-3: CMD_Jump 2.4 CMD_Sync When DA was downloaded and executed, it will actively report one byte SYNC_CHAR, two bytes DA_VERSION, one byte FLASH_DEVICE_ID, four bytes FLASH_SIZE, eight bytes FLASH_HW_ID and four bytes EXT_SRAM_SIZE. SYNC_CHAR: When DA was executed, it will return SYNC_CHAR (0xC0). If the return byte isn t SYNC_CHAR, which means it s possibly downloading a wrong DA. DA_VERSION: After SYNC_CHAR, DA will return DA s version number, it contains two bytes, one is major version, and the other is minor version. Program should check whether if it supports this DA. FLASH_DEVICE_ID: After report the DA version, DA will automatically detect the flash type on target. FLASH_SIZE: Four bytes flash size, for example: 128Mbits flash will be 0x01000000 bytes; DA will send 0x01, 0x00, 0x00, and 0x00. FLASH_MANUFACTURE_CODE: Two bytes flash manufacture code. (Users should refer to the datasheet for each flash.) FLASH_DEVICE_CODE: Two bytes flash device code. (Users should refer to the datasheet for each flash.) FLASH_EXT_DEVICE_CODE1: Two bytes flash extended device code1. (Users should refer to the datasheet for each flash.) FLASH_EXT_DEVICE_CODE2: Two bytes flash extended device code2. (Users should refer to the datasheet for each flash.) EXT_SRAM_SIZE: Four bytes external SRAM size, for example: 64Mbits external SRAM will be 0x00800000 bytes; DA will send 0x00, 0x80, 0x00, and 0x00. MT3333_Platform_Firmware Update Procedure_V1.00 9 2013-09-17

Figure 2-4: CMD_Sync Note: 1. The Flash related information are fixed for handshake authorization, not real flash information. 2.5 CMD_SetMemBlock This command is used to notify DA the total memory block count and the range for each block. The block Information indicates how many BIN files will be downloaded and the range of each BIN file. If any memory block exceeds the flash size, DA will return NACK (0xA5) to indicate the DA_MEM_CMD command is fail. If all the download memory blocks are valid, DA will return ACK (0x5A) and UNCHANGED_BLOCK_COUNT to notify PC side how many unchanged block should be recovery after downloading. MT3333_Platform_Firmware Update Procedure_V1.00 10 2013-09-17

Host GNSS DA_MEM_CMD(0xD3) MEM_BLOCK_COUNT(N=0x01) ACK(0x5A) UNCHANGED_BLOCK_COUNT(0x00) Figure 2-5: CMD_SetMemBlock 2.6 CMD_WriteData This command is used to write all the data of BIN files to target side flash. Every packet is fixed length; that is PACKET_LENGTH plus two bytes checksum. The last packet is usually not enough for PACKET_LENGTH, Program should fill 0x00 as padding until reach PACKET_LENGTH. Figure 2-6: CMD_WriteData MT3333_Platform_Firmware Update Procedure_V1.00 11 2013-09-17

2.7 CMD_Finish This command is used to notify DA to power off target by unlocks RTC power key. And then GNSS will output NMEA sentences. The firmware update procedure is finished. Figure 2-7: CMD_Finish MT3333_Platform_Firmware Update Procedure_V1.00 12 2013-09-17

Contact us: Shanghai SIMCom wireless solutions Ltd. Address: Building A, SIM Technology Building, No. 633 Jinzhong Road, Shanghai, P. R. China 200335 Tel: +86 21 3252 3300 Fax: +86 21 3252 2030 URL: www.sim.com/wm MT3333_Platform_Firmware Update Procedure_V1.00 13 2013-09-17