Silabs Ember Development Tools Presented by Silicon Laboratories Shaoxian Luo 1
Development Tools Desktop Network Analyzer Debug Adapter Packet Trace Port Desktop Network Analyzer provides a macroscopic view of the entire network from single console Debug Adapter provides a high-speed back-channel link between Desktop Network Analyzer and node Packet Trace Port reaches deep inside the silicon to trace packets and to monitor and control the application. Development Kits Pre-packaged Desktop Network Analyzer, debug adapter and development boards for verifying initial hardware and software designs 2
Development Kit Contents 3
Development Kit Breakout Boards, Radio Modules Rapid prototyping and development InSight Adapter for EM35x (ISA3) Enables on-chip and network-level debugging Power-over-Ethernet support Embedded Software EmberZNet libraries (binary) Supporting peripheral drivers (source) Sample application source code PC-Based Software Ember Desktop development and deployment stage debugging IAR EWARM-256 (30-day trial or permanent) - compiler environment, source-level debug 4 4
Ember Debug Adapter 5
Ember Debug Adapter Provides connectivity across an Ethernet LAN to nodes in the developer s network ISA connects to SIF port on EM250/Em260 ISA3 connects to JTAG/Serialwire port on EM35x Enables remote programming and collection of timesynchronised packet, API and application information from many dispersed nodes at once. 6
Advanced Debug Features IEEE 802.15.4 Radio & MAC Clocking & Power Mgmt Timers ARM Cortex M3 (32b MCU Subsystem) Peripherals (ADC, UART, SPI/I2C, ) Debug (CPU & Network) Encryption FLASH RAM Multiplexed GPIO Debug Interfaces JTAG or Serial Wire, TPIU (Trace Port Interface Unit) Standard Cortex debug features FPB - Flash Patch and Breakpoint DWT - Data Watchpoint and Trace ITM - Instrumentation Trace Macrocell Ember Packet Trace features Non-intrusive capture of all packets New optimized appended info flags, channel info Watchdog timer improvements Pauses when the CPU Core is halted for debug 7
Remote Network Debug Ember chips have designed in a unique packet trace facility Every node can passively report time-stamped radio traffic, API activity and application printfs Uses Ethernet LAN to connect to nodes to extend reach and scalability of test network. Ember Desktop analyses and filters the data for presentation to the user. Much more useful & powerful than sniffers 8
Ember Desktop Live capture eliminates the need for separate sniffer nodes and expensive sniffer software to analyse traffic Accurate and chronologically synchronised Remote simultaneous programming of nodes speeds up iterative development Console enables interaction with UARTs and GPIOs remotely via telnet. Extensive filtering and analysis features 9
Desktop Network Analyzer True network-level development platform: Network-wide view of all packet activity Decodes all standard ZigBee ZCL commands / activity Correlates network traffic into higher-level events Leverages Ethernet out-ofband backchannel to provide true activity Custom decoding and filtering options Online Video Demos: http://www.silabs.com/products/wireless/zigbee/pages/zigbee-training-videos.aspx 10
Desktop Network Analyzer 11
Desktop Network Analyzer Advantage One view of entire test network Enables large network test and debug Filtering capability gets to problem quickly Engineer debug time is greatly reduced Quality Assurance is enhanced Time to market is reduced 12
Ember AppBuilder Others ZigBee Cluster Library Safety & Security Measurement & Sensing Closures Lighting HVAC General Application Profiles Others Home Automation AMI Commercial Building Auto. Generates complete, ready for certification template application Enables ZigBee Certified Products based on standard Application Profiles Simple graphical interface selects device & network parameters Device Type, commands & behaviors Automatically includes ZigBee Cluster Library (ZCL), attributes & reporting Network forming & joining behaviors Security modes and operation Easy vendor customizations Simply add vendor-specific code to complete the application 13 13
Ember AppBuilder GUI to help developer build ZigBee applications 14
AppFramework Fully tested implementation of Application Profile, Clusters etc. Application code 15
AppBuilder + AppFramework AppBuilder generates project using AppFramework code AppBuilder GUI and Application Framework work together so that our customers can rapidly create ZigBee compliant applications ZSE HA ZDO AppFramework code implements ZSE (or HA, etc.) clusters as well as basic application functions. SSP APS NWK MEDIUM ACCESS (MAC) PHYSICAL RADIO (PHY) 16
AppFramework V2 Second Generation Application Framework A new architecture to support expansion Multiple endpoints Advanced attribute management Unified documented AppFramework API Custom cluster support Updated command line interface Support for user-defined code in project Granular debug printing 17
Ember Code User Code AppFramework V2 Architecture 18
AppBuilder / AppFramework Advantages Expert knowledge of ZigBee Application Profiles not necessary Code generated has already been through certification Hooks and Callbacks provide interface to customer application Reduced time to market 19
Command line tools em3xx_buildimage.exe em3xx_convert.exe em3xx_isa.exe em3xx_load.exe 20