A DIVISION OF TRIMBLE1875-0072-02 Rev AMer cury®xPRESS Platform GuideSDK Version 1.7.1
A DIVISION OF TRIMBLE10 IntroductionAppendix A: SAM-BA for Windows - This chapter provides instructions for creating an application “bin” file that
A DIVISION OF TRIMBLE100 Using the Developer ToolkitNote: Use the upper-right corner to switch between perspectives at willIf the Debug tab comes up
A DIVISION OF TRIMBLEUsing the Developer Toolkit 101Note that starting the debugger may take some time. Eclipse has to make sure the binary is up-to-
A DIVISION OF TRIMBLE102 Using the Developer ToolkitPull down the menu next to the Debug button and select the configuration there.Running the Progr
A DIVISION OF TRIMBLEUsing the Developer Toolkit 103Right-click on the problem(s) and select Delete.If the problem(s) come back on the next build, inv
A DIVISION OF TRIMBLE104 Using the Developer Toolkit
A DIVISION OF TRIMBLEHardware Reference Guide 105Hardware Reference GuideThis chapter will introduce you to the hardware architecture, allowing you to
A DIVISION OF TRIMBLE106 Hardware Reference GuideDescription of Functional BlocksIn the diagram above, the white areas represent the xPRESS motherboar
A DIVISION OF TRIMBLEHardware Reference Guide 107UART host to RFID moduleUARTx2 to Comm Bus InterfaceSPI to Comm Bus InterfaceI2C to Comm Bus
A DIVISION OF TRIMBLE108 Hardware Reference Guideavailable externally through the Comm Bus interfaces. The Reset and Shutdown lines are controlled by
A DIVISION OF TRIMBLEHardware Reference Guide 109Interfaces, Indicators and ControlsAC Adapter InputThe AC adapter (“wall-wart”) input is designed to
A DIVISION OF TRIMBLERegulatory and Safety Compliance 11Regulatory and Safety ComplianceCAUTION!!!The xPRESS platform has been tested for regulatory c
A DIVISION OF TRIMBLE110 Hardware Reference GuideController to monitor the temperature of the battery and not charge it if the battery is too hot or t
A DIVISION OF TRIMBLEHardware Reference Guide 111control timing.) Pressing it once connects the source power to the system power bus, pressing it agai
A DIVISION OF TRIMBLE112 Hardware Reference Guideoperation. If the programmer wishes this function to be disabled under normal operation, they can hav
A DIVISION OF TRIMBLEHardware Reference Guide 113the xPRESS motherboard to function as a USB host using the USB OTG (on-the-go) feature. A host USB mi
A DIVISION OF TRIMBLE114 Hardware Reference GuideDebug USB PortThe second USB client port, J2, is used as a console port. This USB connection will NOT
A DIVISION OF TRIMBLEHardware Reference Guide 115unanticipated results might occur if commands from both interfaces are not carefully coordinated. Pro
A DIVISION OF TRIMBLE116 Hardware Reference GuideA socket is provided for an optional “coin ba ttery” (CR1220, 3 V). The purpose of this batteryis to
A DIVISION OF TRIMBLEHardware Reference Guide 117Communications Interface Bus Connector The Communications Bus is accessed through a Hirose DF9 series
A DIVISION OF TRIMBLE118 Hardware Reference GuideTest InterfaceThe test interface consists of many useful test points, many of which are not otherwise
A DIVISION OF TRIMBLEHardware Reference Guide 119 JTAG InterfaceThe JTAG Interface is compatible with the SAM-ICE or other J-Link-based devices. Its p
A DIVISION OF TRIMBLE12 Regulatory and Safety ComplianceM6e and Micro modules (including the Micro-LTE) conform to requirements for most countries. Re
A DIVISION OF TRIMBLE120 Hardware Reference Guide5V from Comm Bus Connector (Most common source will be Power-over-Ethernet, “POE”, adapter).The AC
A DIVISION OF TRIMBLEHardware Reference Guide 121system voltage so the the other power sources (from the battery or USB line) will not be drained thro
A DIVISION OF TRIMBLE122 Hardware Reference Guidebut does not have the capacity to supply enough power to the Micro when it transmits. It cannot be us
A DIVISION OF TRIMBLEHardware Reference Guide 123Comm Bus, the AC, Battery, and USB power sources are disconnected. They remain connected to each othe
A DIVISION OF TRIMBLE124 Hardware Reference Guide
A DIVISION OF TRIMBLESoftware Reference Guide 125Software Reference GuideSW Block diagramThe diagram below shows the software structure of the xPRESS
A DIVISION OF TRIMBLE126 Software Reference GuideEach of the major software components are described below. This reference information may besufficien
A DIVISION OF TRIMBLESoftware Reference Guide 127Windows:https://launchpad.net/gcc-arm-embedded/4.7/4.7-2013-q3-update/+download/gcc-arm-none-eabi-4
A DIVISION OF TRIMBLE128 Software Reference GuideASFThe Atmel Software Framework provides a common C function interface to various functions onAtmel A
A DIVISION OF TRIMBLE129Appendix A: SAM-BA for WindowsSAM-BA is a development tool for the xPRESS platform. The standard development tools for Windows
A DIVISION OF TRIMBLERegulatory and Safety Compliance 13label of the product (which IC requires for their ID as well). The Industry Canada product ID’
Preparing the xPRESS motherboardA DIVISION OF TRIMBLE130Preparing the xPRESS motherboardWe recommend that you erase the memory on the xPRESS motherboa
Preparing the xPRESS motherboardA DIVISION OF TRIMBLE1315. Unplug the power source and move the memory jumper back to its normal position.6. If
Installing SAM-BA SoftwareA DIVISION OF TRIMBLE132Installing SAM-BA SoftwareCAUTION!!!DO NOT follow Atmel’s instructions to install the USB driver by
Installing SAM-BA SoftwareA DIVISION OF TRIMBLE133installed into (such as C:\Program Files (x86)\Atmel) as you will need to modify the files in this d
Installing SAM-BA SoftwareA DIVISION OF TRIMBLE134
Installing the Windows USB DriverA DIVISION OF TRIMBLE135Installing the Windows USB DriverOnce the SAM-BA software has been downloaded, the appropriat
Installing the Windows USB DriverA DIVISION OF TRIMBLE1362. Select Browse my computer for driver software3. Select Let me pick from list of devi
Installing the Windows USB DriverA DIVISION OF TRIMBLE1374. Next click on Have Disk and provide the driver path where you installed SAM-BA(typicall
Installing the Windows USB DriverA DIVISION OF TRIMBLE1385. Click on AT91 USB to Serial Converter and then click on Next6. Windows may display a
Setting Up SAM-BA to work with xPRESSA DIVISION OF TRIMBLE139Setting Up SAM-BA to work with xPRESSSAM-BA must be pre-configured to offer the menu choi
A DIVISION OF TRIMBLE14 Regulatory and Safety Complianceapplied for, with “CB” test results included in the paperwork that is submitted for approval).
Using SAM-BAA DIVISION OF TRIMBLE140Using SAM-BA1. Erase the xPRESS motherboard memory if you haven’t done so already. (Power off. Short ERASE jum
Using SAM-BAA DIVISION OF TRIMBLE141NoteIf you see the warning message, “External RAM initialization failed. External RAM access is required to run a
Using SAM-BAA DIVISION OF TRIMBLE1425. In the main SAM-BA GUI, go to the Flash tab. In the “Download/Upload” section, for the Send File Name field,
Using SAM-BAA DIVISION OF TRIMBLE1436. In the Scripts pane, select Boot from Flash (GPNVM1). Click Execute.When you restart the xPress board, it w
Using SAM-BAA DIVISION OF TRIMBLE144
A DIVISION OF TRIMBLERegulatory and Safety Compliance 15M6e*For circularly polarized antennas, the maximum linear gain is the maximum gain as measured
A DIVISION OF TRIMBLE16 Regulatory and Safety ComplianceCommon Installation Best PracticesThe following are common installation best practices which w
A DIVISION OF TRIMBLEQuick Start Guide 17Quick Start GuideThis chapter provides a brief introduction to xPRESS with instructions to install, setup and
xPRESS Platform ContentsA DIVISION OF TRIMBLE18 Quick Start GuidexPRESS Platform ContentsThe xPRESS development platform is shipped as an open system
xPRESS Platform ContentsA DIVISION OF TRIMBLEQuick Start Guide 19Bluetooth module shown in the picture is optional. Here are all the optional interfac
A DIVISION OF TRIMBLE2Government Limited Rights Notice: All documentation and manuals were developed at private expense and no part of it was develope
xPRESS Platform ContentsA DIVISION OF TRIMBLE20 Quick Start GuideDocumentationAll documentation is available to download from the ThingMagic support s
Hardware SetupA DIVISION OF TRIMBLEQuick Start Guide 21Hardware SetupThe main connectors and switches on the xPRESS motherboard are shown in the diagr
Hardware SetupA DIVISION OF TRIMBLE22 Quick Start Guide2. Connect the supplied MMCX antenna cable to port 1 of the RFID module. Connect your antenn
Hardware SetupA DIVISION OF TRIMBLEQuick Start Guide 235. Make sure the POE jumper is in the correct position for AC operation, as shown in the pho
Hardware SetupA DIVISION OF TRIMBLE24 Quick Start Guide10. Tags in the vicinity of the antenna will be read and “typed” on separate lines repeatedl
Using the Sample Application 25 A DIVISION OF TRIMBLEUsing the Sample ApplicationInitially, only one sample application will be available for the xPR
RFID Sensor ApplicationA DIVISION OF TRIMBLE26 Using the Sample ApplicationRFID Sensor ApplicationThe RFID Sensor is an application that reads tags in
RFID Sensor ApplicationA DIVISION OF TRIMBLEUsing the Sample Application 27RFID reader taskKeyboard output taskEPC formatter functionCustom dr
RFID Sensor ApplicationA DIVISION OF TRIMBLE28 Using the Sample ApplicationWithin wedge_ui_process is a call to xQueueReceive from epcQueue. Whenev
RFID Sensor ApplicationA DIVISION OF TRIMBLEUsing the Sample Application 29every power cycle using CLI command. otherwise timestamp will start from de
A DIVISION OF TRIMBLE3Revision TableVersion Date Description875-0072-01Rev ADec2013Initial Release for SDK version 1.5.1875-0072-02Rev ASept 2014Added
xPRESS ConsoleA DIVISION OF TRIMBLE30 Using the Sample ApplicationxPRESS ConsoleConnecting to the ConsoleThe Console provides status information for t
xPRESS ConsoleA DIVISION OF TRIMBLEUsing the Sample Application 31help Lists all the registered commandsdebug <value> Expects one parameter
xPRESS ConsoleA DIVISION OF TRIMBLE32 Using the Sample Applicationrun-time-stats Displays a table showing how much processing time each FreeRTOS tas
xPRESS ConsoleA DIVISION OF TRIMBLEUsing the Sample Application 33Log and Debug LevelsAs more modules have been added, each with its own complement of
xPRESS ConsoleA DIVISION OF TRIMBLE34 Using the Sample Application<Enter> key and start again. The backspace key does not erase previously typed
A DIVISION OF TRIMBLEUsing the Optional Modules 35Using the Optional ModulesThis chapter will take you through the hardware installation, software con
Bluetooth ModuleA DIVISION OF TRIMBLE36 Using the Optional ModulesBluetooth ModuleSpecificationsThe optional Bluetooth module is a Roving Networks (no
Bluetooth ModuleA DIVISION OF TRIMBLEUsing the Optional Modules 372. Before starting, make sure the the RN-42 Bluetooth module is in its discoverab
Bluetooth ModuleA DIVISION OF TRIMBLE38 Using the Optional Modules5. Click once to open a Bluetooth Devices window.6. Click SearchWhen the Bluet
Bluetooth ModuleA DIVISION OF TRIMBLEUsing the Optional Modules 397. Select PairIf the pairing activity bar does not stop on its own, just keep goi
A DIVISION OF TRIMBLE4
Bluetooth ModuleA DIVISION OF TRIMBLE40 Using the Optional Modules8. Right-click again and wait for the Connect To: menu to appear. Select Input S
Bluetooth ModuleA DIVISION OF TRIMBLEUsing the Optional Modules 41first.11. To permanently unpair a Bluetooth module, go back to the Blueman window
Bluetooth ModuleA DIVISION OF TRIMBLE42 Using the Optional Modules9. Click Close in This device has been successfully added to this computer. You
Bluetooth ModuleA DIVISION OF TRIMBLEUsing the Optional Modules 43Note that this does not disable the Bluetooth keyboard, it merely prevents it from s
Bluetooth ModuleA DIVISION OF TRIMBLE44 Using the Optional Modules4. The EPC and metadata being typed to the host computer will look like the scree
Bluetooth ModuleA DIVISION OF TRIMBLEUsing the Optional Modules 45Wait for "Reboot!\r\n%REBOOT"RN-42 Flow ControlIf data is sent faster th
WiFi ModuleA DIVISION OF TRIMBLE46 Using the Optional ModulesWiFi ModuleThe optional WiFi module is an XBee-format module with an integrated antenna a
WiFi ModuleA DIVISION OF TRIMBLEUsing the Optional Modules 47If the Bluetooth module is present, check for BLUETOOTH_DEVNAME and comment out “#defin
WiFi ModuleA DIVISION OF TRIMBLE48 Using the Optional ModulesFeatures ImplementedThe WiFi module supports several transport configurations. The config
WiFi ModuleA DIVISION OF TRIMBLEUsing the Optional Modules 49AP ConfigurationWIFLY_WLAN_SSID "Tenda"WIFLY_WLAN_AUTH WIFLY_AUTH_MODE_WPA2PSKW
Contents 5 A DIVISION OF TRIMBLEContentsContents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
WiFi ModuleA DIVISION OF TRIMBLE50 Using the Optional ModulesInitialization ProcessRN-171 initialization will be done only if other high priority inte
WiFi ModuleA DIVISION OF TRIMBLEUsing the Optional Modules 51After WIFLY_init(), init_output() calls WIFLY_join() to initialize the RN-171 by sendin
WiFi ModuleA DIVISION OF TRIMBLE52 Using the Optional ModulesConnection StatusRN-171 uses GPIO pins to monitor the status of association/connection an
WiFi ModuleA DIVISION OF TRIMBLEUsing the Optional Modules 53Sleep Mode: RN-171 will go into sleep mode upon expiration of the sleep timer which can s
WiFi ModuleA DIVISION OF TRIMBLE54 Using the Optional ModulesconfINCLUDE_CLI_CMD_WIFLY_FACTORY_RESET This is used to include the Console command f
WiFi ModuleA DIVISION OF TRIMBLEUsing the Optional Modules 55Host Port NumberProtocol ModeProtocolmodeNoteThe best practice is to select port nu
WiFi ModuleA DIVISION OF TRIMBLE56 Using the Optional Modulesset wlan linkmon <value> WIFLY_JOIN_LINKMON_VALUEset opt signal <value> WIFLY
WiFi ModuleA DIVISION OF TRIMBLEUsing the Optional Modules 57UDP - UDP Broadcastset broadcast address<address>WIFLY_UDP_BROADCAST_ADDRESSset bro
WiFi ModuleA DIVISION OF TRIMBLE58 Using the Optional Modulesset dns name <string> WIFLY_REMOTE_HOST_NAMElookup <string> WIFLY_REMOTE_HOST
WiFi ModuleA DIVISION OF TRIMBLEUsing the Optional Modules 59Known Limitations1. Currently, the default interface depends on the slot in which the
A DIVISION OF TRIMBLE6 ContentsLog and Debug Levels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Power-Over-Ethernet ModuleA DIVISION OF TRIMBLE60 Using the Optional ModulesPower-Over-Ethernet ModuleThe POE module is a custom design by ThingMagic.
Power-Over-Ethernet ModuleA DIVISION OF TRIMBLEUsing the Optional Modules 61=== PoE: PoE NetInfo ===MAC: 20:31:32:50:39:30SIP: 10.8.80.81GAR: 10.8.80
Power-Over-Ethernet ModuleA DIVISION OF TRIMBLE62 Using the Optional ModulesPower over EthernetThe xPRESS platform can be powered from the Ethernet in
Power-Over-Ethernet ModuleA DIVISION OF TRIMBLEUsing the Optional Modules 631. POE_DHCP_MODE: Sets DHCP mode ON or OFF. If DHCP is ON, Check for Co
Power-Over-Ethernet ModuleA DIVISION OF TRIMBLE64 Using the Optional Modules– For HTTP client mode, define HTTP web server. ex: "www.posttestse
Power-Over-Ethernet ModuleA DIVISION OF TRIMBLEUsing the Optional Modules 65task_Wedge task’s method init_output() calls POE_up() to initialize the
GPS ModuleA DIVISION OF TRIMBLE66 Using the Optional ModulesGPS ModuleThe GPS module allows inclusion of GPS coordinates as an attribute along with ta
GPS ModuleA DIVISION OF TRIMBLEUsing the Optional Modules 67ConfigurationTo enable GPS operation, define confINCLUDE_GPS in conf_xpress_reader.h and m
GPS ModuleA DIVISION OF TRIMBLE68 Using the Optional ModulesNoteNote that the GPS metadata includes a built-in comma delimiter, so technically, latlon
Status Indication Through GPI LinesA DIVISION OF TRIMBLEUsing the Optional Modules 69Status Indication Through GPI LinesMost XBee modules provide GPO
A DIVISION OF TRIMBLEContents 7Install Eclipse IDE for C/C++ Developers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Status Indication Through GPI LinesA DIVISION OF TRIMBLE70 Using the Optional ModulesFor the WiFi module, it is used to monitor association status a
A DIVISION OF TRIMBLEInstalling Developer Tools on Windows OS 71Installing Developer Tools on Windows OSIf using a Windows PC as a development platfor
A DIVISION OF TRIMBLE72 Installing Developer Tools on Windows OSAt the end of the install process, check Add path to environment variable before pre
A DIVISION OF TRIMBLEInstalling Developer Tools on Windows OS 73install the 32 bit version if the browser you are using supports 32 bits. Follow the o
A DIVISION OF TRIMBLE74 Installing Developer Tools on Windows OS.NoteIf Eclipse fails to find Java when you run Eclipse, you might need to add the pat
A DIVISION OF TRIMBLEInstalling Developer Tools on Windows OS 75If you are using the standard Windows 7 zip handler,Right-click on the downloaded ecli
A DIVISION OF TRIMBLE76 Installing Developer Tools on Windows OSCheck Prompt for workspace on startupClick OKYou can also bypass the dialog by launchi
A DIVISION OF TRIMBLEInstalling Developer Tools on LINUX OS 77Installing Developer Tools on LINUX OSIf using a LINUX PC as a development platform, the
A DIVISION OF TRIMBLE78 Installing Developer Tools on LINUX OS3. Open the tar-ball with the Archive Manager and use this application to extract the
A DIVISION OF TRIMBLEInstalling Developer Tools on LINUX OS 79• If this happens, check $HOME/.profile for typos• To make the path change take full eff
A DIVISION OF TRIMBLE8 ContentsBuzzer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A DIVISION OF TRIMBLE80 Installing Developer Tools on LINUX OS1. Go to: http://www.eclipse.org/cdt/Select the appropriate version for your Linux sy
A DIVISION OF TRIMBLEInstalling Developer Tools on LINUX OS 81To streamline startup, you can check Use this as the default and do not ask again befo
A DIVISION OF TRIMBLE82 Installing Developer Tools on LINUX OS
A DIVISION OF TRIMBLEUsing the Developer Toolkit 83Using the Developer ToolkitThis chapter explains how to download and work with the project files fr
A DIVISION OF TRIMBLE84 Using the Developer ToolkitSelect General / Existing Projects into Workspace. ClickNext.In the Select root directory field,
A DIVISION OF TRIMBLEUsing the Developer Toolkit 85In the Projects field, check the project that matches your target hardware (e.g., xPRESS Demo App
A DIVISION OF TRIMBLE86 Using the Developer Toolkitappropriate for the xPRESS motherboards which have the coin cell battery holder. “xPRESS Prototype
A DIVISION OF TRIMBLEUsing the Developer Toolkit 87Build Tool AdjustmentsIn order to avoid build errors, change the Preprocessor “Includes” to add the
A DIVISION OF TRIMBLE88 Using the Developer ToolkitSelect Build Project. You will see a progress bar like the one shown here.The first build will ta
A DIVISION OF TRIMBLEUsing the Developer Toolkit 89Errors occurred during the build.Errors running builder 'Integrated External Tool Builder&apos
A DIVISION OF TRIMBLEIntroduction 9IntroductionThe Mercury® xPRESS RFID Solution Development Platform is a microcontroller-based hardware and software
A DIVISION OF TRIMBLE90 Using the Developer Toolkitproduct_info.php?products_id=4650.The Schematic can be found here:http://microcontrollershop.com/do
A DIVISION OF TRIMBLEUsing the Developer Toolkit 911. Download J-Link SoftwareObtain latest version from: : http://www.segger.com/jlink-software.ht
A DIVISION OF TRIMBLE92 Using the Developer ToolkitEdit $HOME/.profile and add the following line:PATH="$PATH:$HOME/usr/JLink_Linux_V462a"
A DIVISION OF TRIMBLEUsing the Developer Toolkit 93$HOME/usr/JLink_Linux_V462a/JLinkGDBServerWindows JLINK Software Installation (JLinkGDBServer)Ignor
A DIVISION OF TRIMBLE94 Using the Developer ToolkitSelect option to Install USB Driver for J-Link and (if desired). Select desired shortcut options.
A DIVISION OF TRIMBLEUsing the Developer Toolkit 95Accept config defaults We recommend you upgrade the firmware if offered
A DIVISION OF TRIMBLE96 Using the Developer ToolkitWhen server is running, a dashboard like this one will be displayed. The GDB indicator will be re
A DIVISION OF TRIMBLEUsing the Developer Toolkit 972. Move the memory jumper to the erase position.3. Apply power to the xPRESS motherboard (ide
A DIVISION OF TRIMBLE98 Using the Developer Toolkitshould be used for non-real-time step-by-step code debugging. The “Release” version should be downl
A DIVISION OF TRIMBLEUsing the Developer Toolkit 99Make sure the “C/C++ Application’ matches your target board ( e.g. ${workspace_loc:/xPRESS Reader
Komentáře k této Příručce