Thingmagic M5e-Compact User Manual

Browse online or download User Manual for Hardware Thingmagic M5e-Compact. ThingMagic M5e-Compact User Manual

  • Download
  • Add to my manuals
  • Print
  • Page
    / 252
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews

Summary of Contents

Page 1 - Developer’s Guide

875-0016-07 RevAMercury5e and M5e-CompactDeveloper’s GuideFor: Mercury5e and M5e-Compact (v1.7.1 and later) USB Reader and Vega Reader

Page 2

10 Mercury Embedded Modules Developer’s GuidePower Units . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Page 3 - Revision Table

Application Tag Commands100 Command SetError Status Codes FAULT_MSG_WRONG_NUMBER_OF_DATA – 100h FAULT_MSG_INVALID_PARAMETER_VALUE - 105h FAULT_NO_P

Page 4 - Date Version Description

Application Tag CommandsCommand Set 101Write Tag Data FieldsField Value DescriptionWrite Address 4 bytes The Address field is the offset in the specif

Page 5

Application Tag Commands102 Command SetExamplesThe following example will attempt to write to Reserved Memory to set the Kill password=0x11112222. It

Page 6

Application Tag CommandsCommand Set 103Note: Try reading back the value written in this example with the Read Tag Data Examples showing reading from

Page 7 - Industry Canada

Application Tag Commands104 Command SetLock Tag FieldsThe values of the Mask and Action bits indicate how a tag is to be locked. The 10 Least Signific

Page 8

Application Tag CommandsCommand Set 1050x0000 in the Action field unlocks all the memory banks as long as all memory banks exist and are lockable.Exam

Page 9 - Contents

Application Tag Commands106 Command SetExamplesThe following example shows an attempt to kill a tag whose EPC ID=0x112233445566778899AA and whose Kill

Page 10

Application Tag CommandsCommand Set 107Read Tag Data (28h)For the deprecated version of this command see Appendix D: Read Tag Data (28h).The Read Tag

Page 11

Application Tag Commands108 Command SetGet Tag DataExamplesThe following example will attempt to read the Kill Password (the first 2 words) from Reser

Page 12

Application Tag CommandsCommand Set 109timeout of 1000 ms. Note the Options field, no metadata is requested unlike the previous example.EPC ID = 0x012

Page 13

Mercury Embedded Modules Developer’s Guide 11Microprocessor ACK Message . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Page 14

Application Tag Commands110 Command SetRead Tag Data Get Data and Metadata Request FieldsA response can contain the following information:Read Tag Dat

Page 15

Application Tag CommandsCommand Set 111Status 2 bytes 0x0000 for success. Otherwise see Appendix C: Error MessagesOptions 1 byte As sent in requestMet

Page 16

Application Tag Commands112 Command SetExamplesThe following example will attempt to read the Access Password (the first 2 words) from Reserved Memory

Page 17

Application Tag CommandsCommand Set 113 FAULT_GEN2 PROTOCOL_MEMORY_LOCKED - 424h FAULT_ANTENNA_NOT_CONNECTED – 503h FAULT_TEMPERATURE_EXCEED_LIMITS

Page 18

Application Tag Commands114 Command SetGet Tag EPCsWhen you want to get the tag EPCs out of the buffer and don’t care about the tag read metadata, the

Page 19

Application Tag CommandsCommand Set 115 A 64-bit tag has the length set to 0x60 (16-bit PC + 64-bit tag EPC + 16-bit tag CRC), but only the first 12

Page 20

Application Tag Commands116 Command Set In the event of a communication error the last Get EPC and Metadata request can be repeated.When data is requ

Page 21 - Introduction

Application Tag CommandsCommand Set 117Metadata Flags = 0x0001 OR 0x0004 OR 0x0010 = 0x0015is as follows: A response contains the following informatio

Page 22 - Product Line Overview

Application Tag Commands118 Command SetHere is an example response to the example request specified above. The response contains two tags as specified

Page 23 - Hardware Overview

Application Tag CommandsCommand Set 119Error Status Codes FAULT_MSG_WRONG_NUMBER_OF_DATA – 100h FAULT_MSG_INVALID_PARAMETER_VALUE - 105h FAULT_TAG_

Page 24 - Connectors

12 Mercury Embedded Modules Developer’s GuideTag Inventory with Select . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Page 25 - Hardware Revisions

Application Tag Commands120 Command Set NXP G2X* Silicon (Chip Type=0x02) NXP G2i* Silicon (Chip Type=0x07) Impinj Monza 4 Silicon (Chip Type=0x08)

Page 26 - SW Overview

Application Tag CommandsCommand Set 121Partial Load Image Sub Command=0x01If the first bit of Sub Command is 1 (Sub Command=0x01), the Gen2 Tag Specif

Page 27 - Application Firmware

Application Tag Commands122 Command SetCurrently, only the first six bits of this field are used. A value of zero in each bit field keeps the correspo

Page 28 - Application Development

Application Tag CommandsCommand Set 123Password 0x01234567, the Access Password 0x89ABCDEF into the tag without changing the NSI bits of the tag and l

Page 29 - Regional Support

Application Tag Commands124 Command SetFastLoadImage Sub Command=0x0001This command writes all of the following data to the Higgs3 tags in a single co

Page 30

Application Tag CommandsCommand Set 125FastLoadImage Command FieldsAn example FastLoadImage single tag command is:.The response to the FastLoadImage c

Page 31 - CAUTION!

Application Tag Commands126 Command Setformat of the response is:FastLoadImage embedded in a Read Tag Multiple takes the following form:LoadImage Sub

Page 32 - Frequency Setting

Application Tag CommandsCommand Set 127LoadImage Command FieldsAn example LoadImage single tag command is:.Field Value DescriptionLength 0x5E Number o

Page 33 - Frequency Hop Table

Application Tag Commands128 Command SetThe response to the LoadImage command is an ACK with the written EPC data. The format of the response is:LoadIm

Page 34 - KR2 Region

Application Tag CommandsCommand Set 129BlockReadLock Command FieldsAn example BlockReadLock single tag command is:.Field Value DescriptionLength 0x09

Page 35 - RF Power Setting

Mercury Embedded Modules Developer’s Guide 13Set Single Tag Operations Antennas . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Page 36 - Antenna Ports

Application Tag Commands130 Command SetThe response to the BlockReadLock command is an ACK. The format of the response is:BlockReadLock embedded in a

Page 37 - Using a Multiplexer

Application Tag CommandsCommand Set 131NXP Sub CommandsAll NXP-proprietary commands contain the following fields:Sub Command value NXP Command0x0001Se

Page 38

Application Tag Commands132 Command SetNXP Common FieldsIn addition to the common fields some commands have additional required fields as indicated be

Page 39

Application Tag CommandsCommand Set 133“Reset ReadProtect” is received. This command uses only the common fields and is invoked with the following com

Page 40 - Power Management

Application Tag Commands134 Command SetNoteOnly the G2i command can be performed as an embedded operation in a Read Tag Multiple. The G2x version cann

Page 41 - Low Power Mode

Application Tag CommandsCommand Set 135 Change EAS (1 byte: 0x01=Set EAS; 0x02=Reset EAS) It is invoked with the following command:The response to th

Page 42 - Tag Buffer

Application Tag Commands136 Command Set TrExt as Per Gen2 (1 byte: Current fixed to 0x01, M5e and M5e-C only support extended Pilot Tone)It is invoke

Page 43

Application Tag CommandsCommand Set 137CalibrateThe NXP command Calibrate causes the tag to return a random data pattern that is useful in some freque

Page 44

Application Tag Commands138 Command SetChangeConfigThe ChangeConfig command is used to toggle the bits of the G2i* tag’s ConfigWord (see ConfigWord to

Page 45 - Flash Memory

Application Tag CommandsCommand Set 1392 0x20D Read Protect EPC Bank (permanently stored in tag memory)1 0x20E Read Protect TID (permanently stored in

Page 46 - Direct Flash Addressing

14 Mercury Embedded Modules Developer’s GuideTransmit CW Signal (C3h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Page 47 - M4e Direct Flash Addressing

Application Tag Commands140 Command SetNXP G2i* Command FieldsAn example ChangeConfig single tag command is:.The response to the ChangeConfig command

Page 48 - M5e Flash Addressing

Application Tag CommandsCommand Set 141response is:ChangeConfig embedded in a Read Tag Multiple takes the following form:Impinj Monza 4 Silicon (Chip

Page 49 - Serial Port

Application Tag Commands142 Command SetImpinj Monza 4QT Command FieldsField Value NotesLength [1 byte]OpCode 0x2DTimeout [2 bytes]Ignored when used as

Page 50 - M5e and M5e-Compact GPIOs

Application Tag CommandsCommand Set 143An example QT Read/Write single tag command is:.The response to the QT Read/Write command contains the payload

Page 51 - Default Settings

Application Tag Commands144 Command SetError Status Codes FAULT_MSG_WRONG_NUMBER_OF_DATA – 100h FAULT_MSG_INVALID_PARAMETER_VALUE - 105h FAULT_NO_P

Page 52

Application Tag CommandsCommand Set 145BlockWrite Command FieldsAn example BlockWrite single tag command is:.Field Value NotesLength [1 byte] Number o

Page 53 - Protocol

Application Tag Commands146 Command SetThe response to the BlockWrite command is an ACK. The format of the response is:BlockWrite embedded in a Read T

Page 54 - CCITT CRC-16 Cal

Application Tag CommandsCommand Set 147BlockPermaLock Command FieldsField Value DescriptionLength [1 byte] Number of bytes in the command following th

Page 55 - Reader-to-Host Communication

Application Tag Commands148 Command SetAn example BlockPermaLock single tag command, locking Block 5, is:.The response to the BlockReadLock command co

Page 56 - CCITT CRC-16 Calculation

Application Tag CommandsCommand Set 149BlockErase (2Eh)BlockErase is a Gen2 2.0 Optional command. On tags which support this command, it allows multip

Page 57

Mercury Embedded Modules Developer’s Guide 15Solution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Page 58 - Microprocessor ACK Message

Application Tag Commands150 Command SetBlockWrite Command FieldsAn example BlockErase single tag command is:.The response to the BlockErase command is

Page 59

Application Tag CommandsCommand Set 151The same BlockErases embedded in a Read Tag Multiple takes the following form:Error Status Codes FAULT_MSG_WRO

Page 60

Set Application Commands152 Command SetSet Application CommandsThe Set commands are used to set configurable values in the firmware. Since the values

Page 61

Set Application CommandsCommand Set 153Set Antenna Port (91h)The Set Antenna Port command supports multiple options (Option=0x01 is not supported) eac

Page 62

Set Application Commands154 Command SetSet Multi-Antenna Search ConfigurationOption = 0x02 allows the order antennas will be used during a multi-anten

Page 63 - Command Set 63

Set Application CommandsCommand Set 155CAUTION!!!When the TX power for a logical antenna is defined using this commandthe power setting specified for

Page 64 - Boot Loader Commands

Set Application Commands156 Command SetSet Read TX Power (92h)The Set Read TX Power command sets the default, module-wide, power level to be used for

Page 65 - Command Set 65

Set Application CommandsCommand Set 157Set Current Tag Protocol (93h)To select a protocol, send the Set Current Tag Protocol code to the reader. A tab

Page 66 - Read Flash (02h)

Set Application Commands158 Command SetSet Frequency Hop Table (95h)The Set Frequency Hop Table command sets the list of frequencies and, optionally,

Page 67 - Command Set 67

Set Application CommandsCommand Set 159Set Regulatory Hop Time Command Fields (Option = 0x01)NoteOption=0x00 is reserved and not the same as when no o

Page 68

16 Mercury Embedded Modules Developer’s GuideCause . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Page 69 - Set Baud Rate (06h)

Set Application Commands160 Command SetThis example sets the GPIO Output #1 to ‘1’ (high). To get the current status of the GPIO output pins, send the

Page 70 - FF 04 06 00 01 C2 00 A4 60

Set Application CommandsCommand Set 161NoteWhen LBT is disabled in the Open region the M5e/M5e-Compact will implement frequency hopping as implemented

Page 71 - FF 00 09 1D 06

Set Application Commands162 Command SetNoteSetting the parameters using Set User Mode will override the values set by a previous call to Set Protocol

Page 72 - Write Flash Sector (0Dh)

Set Application CommandsCommand Set 163Available Configuration OptionsOption Key Value Reader Configuration setting0x00Indicates the deprecated format

Page 73 - Modify Flash Sector (0Fh)

Set Application Commands164 Command Set0x01 Use Antenna Port as Unique Identifier of Tag Buffer Entry= 0x000x00 Antenna port is a unique characteristi

Page 74

Set Application CommandsCommand Set 165Send the following to enable the Low power transmit mode:NoteMultiple settings cannot be applied in a single co

Page 75

Set Application Commands166 Command Setwhich can be set and the supported settings. Additional parameters will be supported in the future.Protocol Val

Page 76

Set Application CommandsCommand Set 167NoteSetting the parameters using Set Protocol Configuration will override the implicit value set by a previous

Page 77 - Select Process

Set Application Commands168 Command SetNoteFor details on the behavior of the Gen2 parameter settings see the EPCGlobal Gen2 RFID Air Interface Specif

Page 78 - Flag Persistence Rules

Get Application CommandsCommand Set 169Get Application CommandsThe Get commands listed in the following table are used to get settable parameters from

Page 79 - Command Set 79

Mercury Embedded Modules Developer’s Guide 17Solution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Page 80 - 80 Command Set

Get Application Commands170 Command SetGet Hardware Version (10h)The Get Hardware Version command is used to get information about the module it is ex

Page 81 - Example:

Get Application CommandsCommand Set 171Non-Multiplexer Options For backward compatibility the following syntax(Option=0x00 and 0x01) is supported when

Page 82 - Gen2 Memory Map

Get Application Commands172 Command SetLogical Antenna OptionsThe new Get Antenna Configuration options allow you to get the logical antenna configura

Page 83 - Read Tag Single (21h)

Get Application CommandsCommand Set 173Get Read TX Power (62h)For deprecated version of this command see Appendix D: Get Read TX Power (62h)The Get Re

Page 84 - Select Data CRC

Get Application Commands174 Command SetGet Current Tag Protocol (63h)The Get Current Tag Protocol command returns the currently set tag protocol(s). T

Page 85

Get Application CommandsCommand Set 175Get Write TX Power (64h)For deprecated version of this command see Appendix D: Get Write TX Power (64h)The Get

Page 86 - 86 Command Set

Get Application Commands176 Command SetThe reply format is similar to the Set Frequency Hop Table command. The length must be set to a multiple of fou

Page 87 - Command Set 87

Get Application CommandsCommand Set 177NoteOption=0x00 is reserved and not the same as when no option is specified.

Page 88

Get Application Commands178 Command SetGet User GPIO Inputs (66h)The Get User GPIO Inputs command returns the status of the User Input GPIO lines:The

Page 89 - Read Tag Multiple (22h)

Get Application CommandsCommand Set 179Region codesTo get the current region send the following command:The command generates the following reply, whi

Page 90 - 90 Command Set

18 Mercury Embedded Modules Developer’s GuideFAULT_AHAL_TRANSMITTER_ON – 502h . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Page 91 - Tag Inventory with Select

Get Application Commands180 Command SetAvailable power modesNoteMaximum Saving Mode only supports communications at 9600 baudThe command gets the curr

Page 92

Get Application CommandsCommand Set 181Get Reader Configuration(6Ah)For the previous version of this command see Appendix D: Get Reader Configuration(

Page 93

Get Application Commands182 Command SetaGet Reader Statistics (6Ch)The Get Reader Statistics command allows the user to get and reset various statisti

Page 94 - 94 Command Set

Get Application CommandsCommand Set 183Available StatisticsThe response to a Get Reader Statistics command contains the following information:Statisti

Page 95 - Command Set 95

Get Application Commands184 Command SetGet Statistics Response FieldsTo request the Noise floor with TX on, including portID for all ports, send the f

Page 96 - 96 Command Set

Get Application CommandsCommand Set 185Get Available Protocols (70h)The Get Available Protocols command returns the list of protocols that the reader

Page 97 - Command Set 97

Get Application Commands186 Command SetGet Current Temperature (72h) The Get Current Temperature command returns the current board component temperatu

Page 98 - Write Tag EPC (23h)

FCC Test CommandsCommand Set 187FCC Test CommandsThe following OpCodes are used for test purposes including regulatory certification testing.NoteSet P

Page 99 - Status CRC

FCC Test Commands188 Command SetSet Operating Frequency (C1h)The Set Operating Frequency command takes a 32-bit frequency value, expressed in kHz. For

Page 100 - Write Tag Data (24h)

Appendix A: Hardware Details 189 Appendix A: Hardware DetailsThis Appendix details the mechanicals for the embedded modules and also provides pin 1 l

Page 101 - Field Value Description

Mercury Embedded Modules Developer’s Guide 19Write Tag Data (24h) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Page 102 - Examples

Mechanicals190 Appendix A: Hardware DetailsM5e Mechanicals

Page 103 - Select Data Write Data CRC

MechanicalsAppendix A: Hardware Details 191M5e-Compact MechanicalAntenna ConnectorThe M5e has two MMCX connectors and the M5e-Compact has one MMCX con

Page 104 - 104 Command Set

Mechanicals192 Appendix A: Hardware DetailsCommunications ConnectorThe communications interface on the modules provides power, serial communications s

Page 105 - Select EPC ID CRC

Appendix B: Getting Started - Devkit 193 Appendix B: Getting Started - DevkitDevkit HardwareIncluded ComponentsWith the devkit, you will receive the

Page 106

Devkit Hardware194 Appendix B: Getting Started - DevkitConnecting the AntennaThingMagic supplies one antenna that can read tags from 20’ away with mos

Page 107 - Read Tag Data (28h)

Devkit HardwareAppendix B: Getting Started - Devkit 195Native USBNot applicable to the M5e.Devkit JumpersJ8Jumpers to connect M5e I/O lines to devkit.

Page 108 - Get Tag Data

Devkit Hardware196 Appendix B: Getting Started - DevkitJ17Jump pins 1 and 2 to use the 5V INPUT and GND inputs to provide power. Jump pins 2 and 3 to

Page 109 - Get Tag Data and Meta Data

Demo ApplicationAppendix B: Getting Started - Devkit 197Demo ApplicationA demo application which supports multi-protocol reading and writing is provid

Page 110 - 110 Command Set

Demo Application198 Appendix B: Getting Started - DevkitArbser Command Line UtilityThe ArbSer program is a simple terminal program with which you can

Page 111 - Field Length Value

Demo ApplicationAppendix B: Getting Started - Devkit 199 -msg xx xx xx ... – Send properly formatted msg (appends SOH and CRC). -raw xx xx xx ... – Se

Page 112 - Error Status Codes

Government Limited Rights Notice: All documentation and manualswere developed at private expense and no part of it was developed usingGovernment funds

Page 113 - SOH Length OpCode CRC

20 Mercury Embedded Modules Developer’s Guide

Page 114 - Get Tag EPCs

Demo Application200 Appendix B: Getting Started - DevkitGet Version CommandWhen the unit is first powered up, the boot loader is running. Verify that

Page 115 - Get Tag EPCs and Metadata

Demo ApplicationAppendix B: Getting Started - Devkit 201 Data[017] = 00 Data[018] = 00 Data[019] = 07 CRC = 42EAThe module returns its version

Page 116 - 116 Command Set

Demo Application202 Appendix B: Getting Started - DevkitValid message received: Data Length = 14 OpCode = 04 Status = 00 00 Data[000] = 03 Data[0

Page 117 - FF 03 29 00 15 00 97 55

Demo ApplicationAppendix B: Getting Started - Devkit 203This returns the same version information as the -ver command previously documented. Now that

Page 118 - 118 Command Set

Demo Application204 Appendix B: Getting Started - DevkitSet Current Tag Protocol CommandWhen the application FW first starts, there is no default prot

Page 119

Demo ApplicationAppendix B: Getting Started - Devkit 205read tags. For example, to use a one-port configuration that uses only port 1, use the Set Ant

Page 120 - Command Set

Demo Application206 Appendix B: Getting Started - DevkitC:\> ArbSer –msg 02 21 03 E8< Equivalent to: FF 02 21 03 E8 D5 09 >Valid message rece

Page 121 - Full Load Image

Demo ApplicationAppendix B: Getting Started - Devkit 207Unexpected ResultsSometimes you do not get the results that you expected. The following sectio

Page 122 - 122 Command Set

Demo Application208 Appendix B: Getting Started - DevkitSend a Boot Firmware command to verify that the application FW is running. If the boot loader

Page 123 - Command Set 123

Minimum Set of Serial CommandsAppendix B: Getting Started - Devkit 209Minimum Set of Serial CommandsThe minimum set of commands required to setup the

Page 124

Introduction 21 IntroductionThe ThingMagic® Mercury® embedded modules are RFID engines that you can integrate with other systems to create RFID-enabl

Page 125

Notice on Restricted Use of the DevKit210 Appendix B: Getting Started - DevkitNotice on Restricted Use of the DevKitThe Mercury5e Developers Kit (DevK

Page 126 -  User Memory

Appendix C: Error Messages 211 Appendix C: Error MessagesCommon Error MessagesThe following table lists the common faults discussed in this section.F

Page 127

Common Error Messages212 Appendix C: Error MessagesSolutionMake sure the number of arguments matches the data length.FAULT_INVALID_OPCODE – 101hCauseT

Page 128 - BlockReadLock

Common Error MessagesAppendix C: Error Messages 213FAULT_MSG_POWER_TOO_HIGH – 103hCauseA message was sent to set the read or write power to a level th

Page 129

Common Error Messages214 Appendix C: Error MessagesFAULT_MSG_POWER_TOO_LOW - 106hCauseA message was received to set the read or write power to a level

Page 130 - 130 Command Set

Common Error MessagesAppendix C: Error Messages 215FAULT_INVALID_REGION – 10BhCauseThe region code specified in Set Current Region (97h) is invalid or

Page 131

Bootloader Faults216 Appendix C: Error MessagesBootloader FaultsThe following table lists the common faults discussed in this section.FAULT_BL_INVALID

Page 132 - Set ReadProtect

Flash FaultsAppendix C: Error Messages 217Flash FaultsThe following table lists the common faults discussed in this section.FAULT_FLASH_BAD_ERASE_PASS

Page 133 - Reset ReadProtect

Flash Faults218 Appendix C: Error MessagesSolutionMake sure that you have the correct password for the flash sector. Check the Accessing the Flash for

Page 134 - Change EAS

Flash FaultsAppendix C: Error Messages 219FAULT_FLASH_WRITE_TO_ILLEGAL_SECTOR – 305hCauseThe module received a write flash command to write across a s

Page 135 - Command Set 135

Product Line Overview22 IntroductionProduct Line OverviewThe embedded modules were designed to be incorporated into products requiring powerful RFID c

Page 136 - 136 Command Set

Protocol Faults220 Appendix C: Error MessagesProtocol FaultsThe following table lists the common faults discussed in this section.Fault Message CodeFA

Page 137 - Calibrate

Protocol FaultsAppendix C: Error Messages 221FAULT_NO_TAGS_FOUND – 400hCauseA command was received (such as like read, write, or lock) but the operati

Page 138 - ChangeConfig

Protocol Faults222 Appendix C: Error MessagesSolutionThis value is invalid or this version of SW does not support the protocol value. Check the docume

Page 139 - Command Set 139

Protocol FaultsAppendix C: Error Messages 223FAULT_PROTOCOL_WRITE_FAILED – 406hCauseThis fault can occur when an operation such as write, lock, kill,

Page 140 - 140 Command Set

Protocol Faults224 Appendix C: Error MessagesSolutionMake sure that the address specified is within the scope of the tag data address space and availa

Page 141 - QT Read/Write

Protocol FaultsAppendix C: Error Messages 225FAULT_PROTOCOL_KILL_FAILED - 40EhCauseAttempt to kill a tag failed for an unknown reasonSolutionCheck tag

Page 142 - 142 Command Set

Protocol Faults226 Appendix C: Error MessagesSolutionCheck the data that is being passed in the command resulting in this error.FAULT_GEN2 PROTOCOL_OT

Page 143 - IDS SL900A (Chip Type=0x0A)

Analog Hardware Abstraction Layer FaultsAppendix C: Error Messages 227Analog Hardware Abstraction Layer FaultsFAULT_AHAL_INVALID_FREQ – 500hCauseA com

Page 144 - BlockWrite (2Dh)

Analog Hardware Abstraction Layer Faults228 Appendix C: Error MessagesFAULT_ANTENNA_NOT_CONNECTED – 503hCauseAn attempt was made to transmit on an ant

Page 145

Analog Hardware Abstraction Layer FaultsAppendix C: Error Messages 229 Check environment to ensure no occurrances of high signal reflection back at a

Page 146 - BlockPermaLock (2Eh)

Hardware OverviewIntroduction 23WARNING!The M5e antenna ports may be susceptible to damage from Electrostatic Discharge (ESD). Equipment failure can r

Page 147

Tag ID Buffer Faults230 Appendix C: Error MessagesTag ID Buffer FaultsThe following table lists the common faults discussed in this section.FAULT_TAG_

Page 148 - 148 Command Set

Tag ID Buffer FaultsAppendix C: Error Messages 231FAULT_TAG_ID_BUFFER_REPEATED_TAG_ID – 602hCauseThe module has an internal error. One of the protocol

Page 149 - BlockErase (2Eh)

System Errors232 Appendix C: Error MessagesSystem ErrorsFAULT_SYSTEM_UNKNOWN_ERROR – 7F00hCauseThe error is internal.SolutionMake note of the operatio

Page 150 - 150 Command Set

Appendix D: Deprecated and Modified Commands 233 Appendix D: Deprecated and Modified CommandsThe following contains the deprecated versions of Serial

Page 151

Release Version 1.0.34234 Appendix D: Deprecated and Modified CommandsRelease Version 1.0.34Read Tag Single (21h)If a tag is read using the currently

Page 152 - Set Application Commands

Release Version 1.0.34Appendix D: Deprecated and Modified Commands 235Read Tag ID Multiple (22h)The Read Tag ID Multiple command performs a search for

Page 153 - Set Antenna Port (91h)

Release Version 1.0.34236 Appendix D: Deprecated and Modified CommandsGEN2For Gen2, if Option=00, the write tag data is performed without the select o

Page 154

Release Version 1.0.34Appendix D: Deprecated and Modified Commands 237For more information about the MemBank structure and the memory map of the Gen2

Page 155

Release Version 1.0.34238 Appendix D: Deprecated and Modified CommandsWhere a Mask bit is specified as “L,” a “1” in that bit indicates that the corre

Page 156 - Set Read TX Power (92h)

Release Version 1.0.34Appendix D: Deprecated and Modified Commands 239The kill password must correspond to the kill password programmed in the tag. No

Page 157 - Set Write TX Power (94h)

Hardware Overview24 IntroductionRFID ASICAll base-band analog circuitry and PLL circuitry are contained within the Impinj Indy1000 RFID ASIC with Thin

Page 158 - Set Frequency Hop Table (95h)

Release Version 1.0.34240 Appendix D: Deprecated and Modified CommandsRead Tag Data (28h)The Read Tag Data command reads data from the tag. Because ea

Page 159 - Set User GPIO Outputs (96h)

Release Version 1.0.34Appendix D: Deprecated and Modified Commands 241The response to the Read Data command for the GEN2 protocol has the following fo

Page 160 - SOH Length OpCode Region CRC

Release Version 1.0.34242 Appendix D: Deprecated and Modified CommandsMicroprocessor reply is similar to Set Write TX Power. The default Write TX powe

Page 161 - Set User Mode (99h)

Release Version 1.0.34Appendix D: Deprecated and Modified Commands 243To get the current region, send the following command:The command generates the

Page 162 - Set Reader Configuration(9Ah)

Release Version 1.0.34244 Appendix D: Deprecated and Modified CommandsSet Current Region (97h)The Set Current Region command sets the current region f

Page 163

Release Version 1.0.37.27Appendix D: Deprecated and Modified Commands 245Release Version 1.0.37.27Set Reader Configuration(9Ah)For the deprecated vers

Page 164 - 164 Command Set

Release Version 1.0.37.27246 Appendix D: Deprecated and Modified CommandsGet Reader Configuration(6Ah)For the deprecated version of this command see A

Page 165

Appendix E: Environmental Considerations 247 Appendix E: Environmental ConsiderationsThis Appendix details environmental factors that should be consi

Page 166 - Note: Searches using the

ElectroStatic Discharge (ESD) Considerations248 Appendix E: Environmental Considerationshas returned to the bootloader to prevent any further damage.

Page 167

ElectroStatic Discharge (ESD) ConsiderationsAppendix E: Environmental Considerations 249What actually gets to the M5E is also strongly influenced by t

Page 168 - 168 Command Set

Hardware OverviewIntroduction 25Hardware RevisionsTable 2 lists the different Mercury Embedded hardware versions and their power output capabilities.M

Page 169 - Get Application Commands

ElectroStatic Discharge (ESD) Considerations250 Appendix E: Environmental ConsiderationsRaising the ESD ThresholdFor applications where full M5E power

Page 170 - Get Hardware Version (10h)

Variables Affecting PerformanceAppendix E: Environmental Considerations 251Variables Affecting PerformanceReader performance may be affected by the fo

Page 171 - Non-Multiplexer Options

252 Appendix E: Environmental Considerations Tag Orientation: Reader performance is affected by the orientation of the tag in the antenna field. The

Page 172 - Logical Antenna Options

SW Overview26 IntroductionPin-out of 12-pin Digital Communications ConnectorSW OverviewThe software (SW) for the embedded products consists of two sep

Page 173 - SOH Length OpCode Option CRC

SW OverviewIntroduction 27Boot Loader The boot loader provides low-level functionality. This program provides a customer interface for upgrading the a

Page 174

SW Overview28 IntroductionAbout the Reader Assistant An easy-to-use user interface (Reader Assistant) can be installed to simplify reader communicatio

Page 175

Functionality of the Embedded Modules 29 Functionality of the Embedded ModulesThis section highlights some of the functionality of the modules. The d

Page 176

3Revision TableDate Version Description2/2008 Rev1 Separated out M4e content and Reader Assistant into standalone documents. Created new M5e Family De

Page 177

Regional Support30 Functionality of the Embedded ModulesSupported RegionsThe regional functionality is set using a single serial command, Set Current

Page 178

Regional SupportFunctionality of the Embedded Modules 31Regions Supporting LBT - Default SettingsNoteThe Open Region allows the module to be manually

Page 179

Frequency Setting32 Functionality of the Embedded ModulesFrequency SettingThe modules have a PLL synthesizer that sets the modulation frequency to the

Page 180

Frequency SettingFunctionality of the Embedded Modules 33Regional Frequency QuantizationWhen manually setting frequencies the module will round down f

Page 181 - Get Reader Configuration(6Ah)

Frequency Setting34 Functionality of the Embedded Modules Frequencies used in the order of entries in the table.If necessary for a region, the hop ta

Page 182 - Get Reader Statistics (6Ch)

RF Power SettingFunctionality of the Embedded Modules 35RF Power SettingThe power setting is calibrated at the factory and parameters are stored in fl

Page 183

Antenna Ports36 Functionality of the Embedded Modules The default, module-wide, setting is specified using Set Read TX Power (92h). This setting is u

Page 184 - 184 Command Set

Antenna PortsFunctionality of the Embedded Modules 37NoteThe M5e-Compact has one antenna port and only supports monostatic operation.Monostatic ModeTo

Page 185

Antenna Ports38 Functionality of the Embedded ModulesOutput lines. In order to enable automatic multiplexer port switching the module must be configur

Page 186

Antenna PortsFunctionality of the Embedded Modules 39NoteJust as under non-Multiplexing operation, Physical Module Port #1 must be used for transmitti

Page 187 - FCC Test Commands

46/2008 Rev3 • Fixed Arbser help info to include -l5a for loading M5e firmware• Fixed Get Tag Buffer Response Fields to show Read Count as condition

Page 188 - SOH Length OpCode CW CRC

Power Management40 Functionality of the Embedded ModulesPower ManagementThe modules use different methods and levels of power management.Power ModesTh

Page 189 - Appendix A: Hardware Details

Power ManagementFunctionality of the Embedded Modules 41Low Power ModeThis mode minimizes power consumption and optimizes thermal characteristics with

Page 190 - M5e Mechanicals

Tag Buffer42 Functionality of the Embedded ModulesPower Mode per Duty Cycle and Ambient TemperatureTag BufferThe Tag buffer stores tags, and their met

Page 191 - Antenna Connector

Tag BufferFunctionality of the Embedded Modules 43Tag Buffer EntryIn addition to the tag EPC data each entry contains meta data about how, where and w

Page 192 - Communications Connector

Tag Buffer44 Functionality of the Embedded ModulesTag Read Meta DataWhenever a Tag entry is placed in the buffer, it uses up a single entry with the E

Page 193 - Devkit Hardware

Tag OperationsFunctionality of the Embedded Modules 45In First Out (FIFO) — the first Tag found by the reader is the first one to be read out. See Get

Page 194 - Devkit USB Interface

Flash Memory46 Functionality of the Embedded ModulesFlash Memory Sector MappingAccessing the FlashThe flash is accessed only through the boot loader p

Page 195 - Devkit Jumpers

Flash MemoryFunctionality of the Embedded Modules 47M4e Direct Flash AddressingThis interface divides the flash into 11 different sectors of varying s

Page 196 - Devkit Schematics

Flash Memory48 Functionality of the Embedded ModulesFlash memory mapNoteAddresses and sizes are shown in words (16-bits).The erase and write passwords

Page 197 - Demo Application

Serial PortFunctionality of the Embedded Modules 49Serial PortThe modules communicate to a host processor via the TTL logic level UART serial port, ac

Page 198 - Arbser Command Line Utility

Communication Regulation Information5Communication Regulation InformationEMC FCC 47 CFR, Part 15Industrie Canada RSS-210Federal Communication Commiss

Page 199 - Reading a Tag

General Purpose Inputs/Outputs (GPIO)50 Functionality of the Embedded ModulesM5e and M5e-Compact GPIOsThe M5e has two 3.3/5V serial input sensor ports

Page 200 - Get Version Command

Default SettingsFunctionality of the Embedded Modules 51Default Settings Since default settings may change across release and be different across plat

Page 201 - Boot Firmware Command

Default Settings52 Functionality of the Embedded Modules

Page 202

Overview of the Communication Protocol 53 Overview of the Communication ProtocolThe serial communication between a computer (host) and the reader is

Page 203 - Set Current Region Command

Host-to-Reader Communication54 Overview of the Communication ProtocolThe fields are summarized in the following table.:Field Length DescriptionHeader

Page 204 - Set Antenna Port Command

Reader-to-Host CommunicationOverview of the Communication Protocol 55Reader-to-Host CommunicationThe following diagram defines the format of the gener

Page 205

Reader-to-Host Communication56 Overview of the Communication ProtocolCCITT CRC-16 CalculationThe same CRC calculation is performed on all serial commu

Page 206

Reader-to-Host CommunicationOverview of the Communication Protocol 57An example implementation of CRC calculation, taken from the Arbser source CrcUti

Page 207 - Unexpected Results

Format for Microprocessor Reply to Host58 Overview of the Communication ProtocolFormat for Microprocessor Reply to HostThere are three different types

Page 208 - No Tag ID is Returned

Format for Microprocessor Reply to HostOverview of the Communication Protocol 59The following shows an example of an ACK message to an Erase Flash com

Page 209

Communication Regulation Information6any additional compliance requirements required with this module installed (for example, digital device emissions

Page 210

Format for Microprocessor Reply to Host60 Overview of the Communication ProtocolHere is an example of a Reply message with Data Field Length not zero.

Page 211

Command Set 61Command SetThe following list defines the OpCodes that are used in the embedded modules firmware. As these products grow, more OpCodes w

Page 212 - FAULT_INVALID_OPCODE – 101h

Format for Microprocessor Reply to Host62 Command SetFormat for Microprocessor Reply to HostThere are three different types of replies that the microp

Page 213

Format for Microprocessor Reply to HostCommand Set 63The following shows an example of an ACK message to an Erase Flash command.The value in the OpCod

Page 214

Boot Loader Commands64 Command SetHere is an example of a Reply message with Data Field Length not zero. This message happens to be a successful reply

Page 215 - FAULT_INVALID_REGION – 10Bh

Boot Loader CommandsCommand Set 65The following table shows which commands are supported by the Boot loader, the application, and the modules.Boot Loa

Page 216 - Bootloader Faults

Boot Loader Commands66 Command SetRead Flash (02h)The Read Flash command reads the contents of flash from the specified address. Since the length of t

Page 217 - Flash Faults

Boot Loader CommandsCommand Set 67Get Boot Loader/Firmware Version (03h)The Get Boot Loader command returns the Boot Loader, Hardware, and Application

Page 218

Boot Loader Commands68 Command SetReturned Hardware Version TableThe following table provides a definition of each HW version returned by the Get Boot

Page 219 - Solution

Boot Loader CommandsCommand Set 69Boot Firmware (04h)The Boot Firmware command tells the boot loader to run the current firmware image stored in flash

Page 220 - Protocol Faults

Communication Regulation Information7or “Contains FCC ID: QV5MERCURY5E.” (Replace QV5MERCURY5E, for the Mercury5e, with QV5MERCURY5EC for the M5e-Comp

Page 221 - FAULT_NO_TAGS_FOUND – 400h

Boot Loader Commands70 Command SetCAUTION!!!When using the 921600 baud rate you must pass an extra byte of data(0x00) at the end of each message, afte

Page 222 - FAULT_AFE_NOT_ON – 405h

Boot Loader CommandsCommand Set 71checks. A failed CRC means that the application cannot run, and needs to be downloaded again.The boot loader runs th

Page 223

Boot Loader Commands72 Command SetGet Current Program (0Ch)The Get Current Program command returns a code for the current program being executed in th

Page 224 - FAULT_DATA_TOO_LARGE – 40Bh

Boot Loader CommandsCommand Set 73Error Status Codes FAULT_MSG_WRONG_NUMBER_OF_DATA – 100h FAULT_FLASH_ILLEGAL_SECTOR – 303h FAULT_FLASH_BAD_WRITE_

Page 225

Boot Loader Commands74 Command SetError Status Codes FAULT_MSG_WRONG_NUMBER_OF_DATA – 100h FAULT_FLASH_ILLEGAL_SECTOR – 303h FAULT_FLASH_BAD_ERASE_

Page 226

Application Tag CommandsCommand Set 75Application Tag CommandsThe application commands are used to interact with RFID tags in the field. These command

Page 227

Application Tag Commands76 Command Setparameters as defined by the EPCGlobal Gen2 v1.2 Specification. The current user controlled options are:Gen2 Ses

Page 228 - FAULT_HIGH_RETURN_LOSS – 505h

Application Tag CommandsCommand Set 77Gen2 Target (User Controlled)This setting determines which inventory flag or SL flag is going to have its state

Page 229

Application Tag Commands78 Command Set– The SL flag must be asserted– The Session flag (Target setting) for session 0, 1, 2, or 3 (specific Sessio

Page 230 - Tag ID Buffer Faults

Application Tag CommandsCommand Set 79Session 1 Keeps its state between 0.5 and 5 seconds, regardless of whether the tag is energized or not.The inte

Page 231

Communication Regulation Information8

Page 232 - System Errors

Application Tag Commands80 Command SetRelease Version 1.0.34. The command information in this section has been updated to only include the new format.

Page 233 - Commands

Application Tag CommandsCommand Set 81Example:The following EPC IDs (first 3 bits) are in the field:0xAAAA (101)0xCCCC (110)0x4444 (010)0x3000 (001)Se

Page 234 - Release Version 1.0.34

Application Tag Commands82 Command SetGen2 Memory MapWhen performing a Tag Singulation/Select most of the criteria specifies values of data in certain

Page 235 - SOH Length OpCod

Application Tag CommandsCommand Set 83Read Tag Single (21h)For deprecated version (including non-Gen2 protocol specific syntax) of this command see Ap

Page 236

Application Tag Commands84 Command SetIf Option=0x00 or 0x01 were used then the unused Tag Singulation Fields must be removed from the request.The res

Page 237 - Lock Tag (25h)

Application Tag CommandsCommand Set 85Read Tag Single Get EPC and Metadata Request FieldsA response can contain the following information:Field Value

Page 238 - Kill Tag (26h)

Application Tag Commands86 Command SetRead Tag Single Get EPC and Metadata Response FieldsExamplesAn example command requesting AntennaID and Timestam

Page 239 - Write Tag Data

Application Tag CommandsCommand Set 87Metadata Flags = 0x0004 OR 0x0010 = 0x0014with no tag singulation criteria, just return the first tag found, is

Page 240

Application Tag Commands88 Command Setupdating the Option field to set the appropriate flag for the tag singulation based on EPC valueThe response con

Page 241

Application Tag CommandsCommand Set 89Read Tag Multiple (22h)For deprecated version of this command see Appendix D: Read Tag ID Multiple (22h)The Read

Page 242

Mercury Embedded Modules Developer’s Guide 9 ContentsCommunication Regulation Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Page 243

Application Tag Commands90 Command SetRead Tag Multiple Search Flags2Flag ValueDescriptionAntenna Usage(bits 0, 1, 2)0x0000 Use single antenna as con

Page 244

Application Tag CommandsCommand Set 91ExamplesFor example, the syntax for a Read Tag Multiple with automatic multi-antenna search starting with antenn

Page 245 - SOH Length OpCode Options CRC

Application Tag Commands92 Command SetExamplesHere is an example request and response showing the use of Tag Singulation/Select Functionality to inven

Page 246

Application Tag CommandsCommand Set 93Read Tag Multiple Embedded Command FieldsField Value DescriptionSelect Options [1 byte]The Options value of the

Page 247 - Considerations

Application Tag Commands94 Command SetExample with Embedded Write Tag DataHere is an example request and response showing the use of Tag Singulation/S

Page 248

Application Tag CommandsCommand Set 95Write Tag Data (24h) to write 0x12345678 into the Reserved Memory Bank starting at Word address 0x00000002 (Acce

Page 249

Application Tag Commands96 Command SetExample with Embedded Read Tag DataWhen using Read Tag Multiple with an embedded Read Tag Data command an extra

Page 250 - Raising the ESD Threshold

Application Tag CommandsCommand Set 97Example with Embedded Kill TagThis command will inventory all tags with an EPC value with the first 88bits equal

Page 251 - Tag Considerations

Application Tag Commands98 Command SetError Status Codes FAULT_MSG_WRONG_NUMBER_OF_DATA – 100h FAULT_MSG_INVALID_PARAMETER_VALUE - 105h FAULT_NO_PR

Page 252 - Multiple Readers

Application Tag CommandsCommand Set 99Write Tag EPC Command FieldsThe reader sends a Fault Code / ACK response back to the host.An example of Write Ta

Related models: Mercury5e

Comments to this Manuals

No comments