Home

1.0 Overview

image

Contents

1. Number Unique Id Version Build Date Target Device Target Programming Interface g 503502 5 PI 1 0 0 0 02 01 2014 at 19 03 S03502 SPT SPI S wire RESET_N Z Wave im S CALIBRATION 1 0 0 0 02 01 2014at 19 04 5D3502 SPI SPI 3 wire RESET_N Z Wave a2 RUNTARGET 1 0 0 0 o2 01 2014at19 05 503502 SP1 SPI 3 wire RESET_N Z Wave iall E PRODUCTION 10 0 0 02 01 2014at19 06 SD3502 SPT SPI 3 wire RESET_N Z Wave G EditProject WW TestProjectinEDS 2 Upload selected project Upload all projects Programmer Type ISPnano Series III IV Total FLASH usage Used 260 8 KB 1 6 Free 15 7 MB bytes 98 4 Progral 3 To open the PRODUCTION project Click the Edit Project button or double click the PRODUCTION project name in the list gt The PRODUCTION project will now open in Project Builder view AN145 In System Programming ISP of Sigma Z Wave 500 series SOC devices and modules 36 The Embedded Solutions Company 4 Overview of the Task options tab The project will open on the Tasks tab which shows the various Tasks which can be performed by a standalone project Ca Project Builder C test Sigma CalibrationSequence PRODUCTION PPM Task Options Select which of the optional tasks you wish to perform Target Power Supply Pre Program State Machine Erase Flash NVR CRC32 Checksum Tasks Head
2. Overview Programmer Target Device Target Oscillator SPI Settings I Target Power Supply Erase Flash NVR Security SRAM Project Information 7 coer indy Sone Programing Pret H A 2 aS 3 oe te projectin an extng Project ae C test Sigma SD3502 3 PPM Project Name Author Project Version Creation Date 10 12 2013 H Please note To upload this project to a programmer please either add the project to an existing Project Collection or create a new Project Collection Main Settings Option Value Target Device 503502 Programming Interface LV SPI S wire RESET Target Voltage 3 3V 500m Programmer Powers Target No Pre Programming State Machine 1 Active LOW RESET RESET Driven HIGH 50ms and LOW 50ms Flash file C Sigma serialapi_controller_static_7W050x_EU oc hex NVR file None selected SPI Settings Hardware SPT Medium SPI 971 6 KHz Slow SPI 115 2 KHz AN145 In System Programming ISP of Sigma Z Wave 500 series SOC devices and modules 28 a m Application Note 4 2 EDS Default settings for SPI statemachine etc The following default settings will be used e Hardware SPI interface At this stage there are still a few parameters which may need to be set up checked before the programmer will communicate with the Target Device on the Target Board Please follow the instructions in the next sections which ex
3. SAW 20 BLOCK 3 Database e Repeat the above procedure for each of the Non volatile memory NVM parameters NVMCS NVMT NVMS NVMP AN145 In System Programming ISP of Sigma Z Wave 500 series SOC devices and modules 52 a Application Note e Once you have configured all the relevant parameters the NVR parameters list should then show all these parameters as Enabled and with the correctly configured values Enabled Name Start DataType Size Bytes Source Value File to update 0 CCAL XTAL Calibration Byte 1 BYTE 1 Database sigma CALCULATED CCAL SohVR_TEMP So wi 1 TXCAL1 49 BYTE 1 Database sigma CALCULATED TXCAL1 SoNVR_TEMP So 2 TXCAL2 50 BYTE 1 Database sigma CALCULATED TXCAL 2 TONVRE_TEMP i DT fil Ta mw TE Dy iN ET E ERICI TONVR_TEMP o Fixed TONVR_TEMP o Fixed ox0igg TONVR_TEMP o in Mie 37 RICE 16 Datahaze Ginma NVA UTN DANNA TEMP 4 Pir e The scriptis now configured to automatically program your custom values for the Non volatile memory NVM parameters into the NVR Area of the target Z Wave device e Click the Compile icon on the top EQTools icon bar to generate the amended script file esf ar Equinox EQTools Script Builder C Equinox Sigma CalibrationSequence2 Sigma_ZW500_ProgCal_V17 14 customNVM ESW Ci File Edit Programmer Window Help New fees Op
4. The contents of the FLASH buffer including the now valid CRC32 checksum is saved to the specified file name This file can now be loaded back into the PRODUCTION project as it has a valid CRC32 checksum AN145 In System Programming ISP of Sigma Z Wave 500 series SOC devices and modules 69 a Application Note Appendix 6 Sigma D3502 Evaluation Module 1 0 Overview This section describes how to interface an Equinox ISPnano programmer to a Sigma SD3502 Evaluation Module via the UART programming interface 1 1 Equipment required The following equipment is required for the programming evaluation e ISPnano Series IV programmer e lIOMOD6 I O Connector Module e Sigma SD3502 Evaluation Module available to order from Sigma Designs e 10 way IDC ribbon cable AN145 In System Programming ISP of Sigma Z Wave 500 series SOC devices and modules 70 Application Note The Embedded Solutions Company 1 2 Connecting the programmer to the Sigma eval module This section describes how to interface an Equinox ISPnano programmer to a Sigma SD3502 Instructions e Insert the TOMOD6 I O Connector Module into the ISPnano Series IV programmer e Plug one end of the 10 way IDC cable into the Equinox header 10 way IDC connector on the IOMOD6 module e Plug the other end of the 10 way IDC cable into the 10 way IDC connector on the bottom base PCB of the Sigma SD3502 Evaluation Module see i
5. The Embedded Solutions Company 2 10 Programming sequence PASS lf the programming sequence is successful executes without any errors then the following screen will be displayed SIGMA D3502 TX CALIBRATION SEQUENCE Disconnect the Target Board DUT from the programmer Press the Disconnect button to reset the sequence Parameter Programmer Name ISPnano Series III IV address 0 Script Name Sigma_ W500_TX_Cal_ ESF Database ID 1 Script Time 00 14 AutoProgram 3 PRODUCTION Status Programmer is Waiting Oo Disconnect e ISP PRO will display PASS Disconnect now e The Target Board DUT can now be disconnected from the programmer e Press the Disconnect button to reset the sequence ready for the next Target Board DUT AN145 In System Programming ISP of Sigma Z Wave 500 series SOC devices and modules 64 a m Application Note The Embedded Solutions Company 2 11 Programming sequence FAIL If the programming or calibration fails for any reason then the following screen will be displayed SIGMA D3502 TX CALIBRATION SEQUENCE The programming calibration sequence has failed Press the Disconnect button to reset the sequence Programmer Name ISPnano Series III IV address 0 Script Name Sigma_7 W500_TX_Cal_ ESF Database ID 1i Script Time 00 01 Status Programmer is Waiting Verify Error read NVR VER OxFF expected 0x01 Verify Error read NVR CRC16 OxFFFF expected l
6. Programmer Info ADO Explorer Logout Exit e Click the lt Setup gt icon AN145 In System Programming ISP of Sigma Z Wave 500 series SOC devices and modules 55 The Embedded Solutions Company gt The PPM Setup screen will now be displayed with the Programmer settings tab selected i PPM Setup C test Sigma CalibrationSequence Sigma_ Wave_500 PMP ix File View Help W e amp amp Custom Bitmaps Database Options Incremental Repository Global Options Global Strings Zebra Printer Programmer Settings MUX Options Zip File Administrator Options Communications Barcode Scanning 2 4 Setting up the correct COM port If this is the first time that you have used ISP PRO then it is likely that the COM port needs to be configured Instructions e Click the lt Setup gt icon e Select the Communications tab Frogrammer Settings l MUs Options ip File Administrator Options Communications Barcode Scanning Communication Options Test Communications Retresh Port List Select Prograrnimer Channel Node Address Stop Bits a Baud Rate 38400 Attempts Scan Interval JJa ms e Click the lt Refresh Port List gt button e A list of the available
7. The Embedded Solutions Company 1 4 Tx Power parameters merging into the FLASH hex file The Tx Power parameters for your product must be merged into the Production FLASH hex file lt is possible to perform this task using the EQTools EDS Development Mode utility Instructions 1 Start the Equinox EQTools software 2 Select the option to Create an EDS Development Project and follow the wizard to create the EDS project Or Open an existing Sigma 500 series EDS project eds 3 Once the EDS session has started select the FLASH tab See screenshot below Overview Programmer Target Device SPI Settings Target Power Supply Erase MVR Security SRAM Tx Power Settings Flash File Updated F Edit Buffer serialapi_controller_ static MS202 U5 CRC hex 2504 2014 21 41 26 Ej Reload Ee Open 4 Erase buffer before File load F Skip all leading and trailing OxFF a Automatically reload into buffer on change Automatically upload to target on change Ye erase ae Erase UsxQU000 02 10 0 021003 686268 7D 22 O2 10 OB 32 2c hbht 2 A a Ox00010 4E E4 2202101303 47 03 SBFFO2Z101BC24E NWa G AN Fill Ox00020 02 0E 47 02 10 2302 10 70 D3 220210 250214 G po 4 0x00030 C8 FF FF 02 10 33 7F 01 22 FF FF 02 10 35 A2 4B Eyy 3b ek Re Cale CRE Ox00040 92 36 22021043 A2 50 92 3D 22 0210 4B75C8 6 CeP Euk 4 Select your Producti
8. Use Broadcast Mode Assign a programmer name and script to each available programming channel Setup each channels Name Address Status and Script Assign a Script to run for each channel they must all be located in the same directory PPM Name Address f Status Script File Select Script ISPrano Seres I address 0 j Enabled Sigma lt WS00 TH Cal 2 ESF Select a Script File for all channels Script File Directory C est Sigmas Calibrations equence Close e If you have not already detected the attached programmer s then click the Detect Programmer s button gt The detection process will provide a list of all attached programmers in this case it has detected a single programmer at node address 0 e Each attached programmer is automatically given a programmer name e g ISPnano Series IIII V address 0 AN145 In System Programming ISP of Sigma Z Wave 500 series SOC devices and modules 57 Application Note The Embedded Solutions Company 2 6 Selecting a Script File to run To select the required Script File follow the instructions below e Click the lt Setup gt icon e Select the lt Programmer Settings gt tab PPM Setup C test Sigma CalibrationSequence Sigma_Z Wave_500 PMP mE File View Help S H lg Custom Bitmaps _ Database Options Incremental Repository Global Uptions Global Strings Zebra Printer Programm
9. a m Application Note TECHNOLOGIE 8 The Embedded Solutions Company 3 6 Erase options This screen allows you to set up the Erase options for the target device im Equinox Development Surte EDS Wizard Untitled ecele Erase Options Tick check box to Erase target device and set post erase delay J Erase Device Full Chip Erase All FLASH and EEPROM if present areas is erased Security Fuses are also erased Program Memory Erase FLASH Program Area only is erased Backup NVR Area from 0x10 to OxFF before Erase Restore NVR Area backup after Erase Pause after Erase ms 200 E Backup NVR Area before Erase lf this option is selected the programmer will automatically read back the NVR data area from the target device before a Chip Erase operation is performed Restore NVR Area after Erase If this option is selected the programmer will automatically restore the NVR data contents which were read back from the target device before the Chip Erase operation was performed AN145 In System Programming ISP of Sigma Z Wave 500 series SOC devices and modules 24 EQUINOX Application Note 3 Specifying the FLASH Code File This screen allows you to specify the Code firmware file which is to be programmed into the FLASH area of the Target Device fm 3 Equinox Development Surte EDS Wizard Untitled lo Cel FLASH Area Programming Options S
10. Production firmware is the final customer firmware which needs to be programmed into the device before the product leaves the factory Please note For most applications the only project which needs to be modified is the PRODUCTION project This project programs the Customer firmware file and so will probably be unique to each customer application The next sections explain how to change the Customer firmware file in the PRODUCTION project AN145 In System Programming ISP of Sigma Z Wave 500 series SOC devices and modules 34 a Application Note 2 1 Opening the Sigma Project Collection To open the Sigma Project Collection e Start EQTools e From the top menu bar select File open and browse to and select the Project Collection file Sigma_SD3502_project_collection PPC The Project Collection should open in Project Manager view see screenshot below t Project Manager C test Sigma CalibrationSequence Sigma_SD3502_project_collection PPC PEITA Details Files Power Supply Fuses Security State Machine Programming Speed Retries Memory Map Number Unique Id Version Build Date Target Device Target Programming Interface Ca 0 90350 2 5P 1 1 0 0 0 02 01 2014 at 19 03 S03502 SPT SPI 3 wire RESET_N Z Wave Fm 4 CALIBRATION 1 0 0 0 02 01 2014at19 04 503502 SPT SPI 3 wire RESET_N Z Wave a2 RUNTARGET 1 0 0 0 O2 01 20i4at19 0
11. 1 3 Calibration overview 1 3 1 Overview The Z Wave 500 series SOC devices and modules must be calibrated at the customer production programming stage before they will operate correctly The calibration procedure s required depend on whether you are programming a Z Wave module SOC just the bare IC or Bare die version of the Z Wave product The table below details which calibration procedure s is are required for the different Z Wave product types Sigma product family ZM5xxx ZDB5xxx Except ZM5107 Z Wave Product type System On chip Bare Any product type where the NVR Area has been erased or corrupted Customer Crystal XTAL calibration required NO Sigma factory calibrated NO Sigma factory calibrated 1 3 2 Crystal XTAL calibration The Crystal XTAL calibration procedure tunes the TX and RX radio frequency of the Z Wave device so as to give the minimum frequency error This calibration must be carried out on the final crystal which will be used with the Z Wave device Important notes Customer Equinox IOMOD10 TX calibration Calibration module required required Sigma factory calibrated e The Crystal XTAL calibration procedure is performed by Sigma at the factory for all Z Wave modules as these modules have the final crystal already fitted to them e lf you are programming SOCs bare ICs or Bare Die products then these devices are NOT pre calibrat
12. 3 4 Calibration recovery after accidental NVR erasure corruption csccceseeeeceeeeeseeeenees 8 1 3 5 Programmer selection guide for Z Wave CaliDration ccccceecceeeceeeeeeeseeeeeeeeeeeeeeseeens 9 tA DEVICE SUP DON tagazdscanccsaseeosasaceastasaieeesesacdaalesesecesdenceaateaaresesqenceaatondseneseanieant CEER 10 AT OVO VICW sess crechessciisiactaerve hacirbarsdatogiberedalena 2araset a a eeabaanddtaracenues 10 1 5 Upgrading your Equinox Programmer to support Sigma 500 series Z WAVE device POG UA MINO eisai toast Chart aaa aetna aha ial rac ian ana sala at sal canal Gta cal teatnelG ca eee 11 Ts OV OE VICW scarcrsasestvans Sant sivab nate ic aaagonianteiernanieiamsians A 11 1 5 2 Purchasing a Sigma Z WAVE 500 series LICENSE ccccseeceeeeeeeseeeeeeeeeeaeeeeseeeesseeeess 11 1 5 3 How do enable the programmer for Z WAVE programming ccseccceeeeseeeeeeeeneees 11 1 5 6 Entering the License String to Upgrade your programmer cccseeeeceeeeeeeeeeeeeeseeeeees 12 1 6 Programmer firmware versions for Sigma 500 series support ccccceececeeeeeeeeeteeeeeaeeenees 13 2 0 SPE ProgramMmMmino MIE tl AC ser a A enced aUa oe mu cast seen eee AENEAS 14 2 POVO NVO WY sacri ca teise teed anacevesssen toa nioa eouren aioe cles aise A een aeetteas nab a went 14 2 2 SPI Programming Interface Features c ccccccseccceeeceeeeceeecceeeceuceceeeseusecueesueessueeseeessueens 14 2 3 Z WAVE single chip
13. Email this Code String plus your programmer Serial Number to support equinox tech com e Equinox will then send you a License String which is keyed to your programmer Serial Number e This string can be entered directly into the lt Enter License gt screen in EQTools AN145 In System Programming ISP of Sigma Z Wave 500 series SOC devices and modules 11 TECHNOLOGIE 8 a Application Note The Embedded Solutions Company 1 5 6 Entering the License String to upgrade your programmer Once you have received the License String from Equinox please follow the steps below to apply the upgrade to your programmer e Launch EQTools gt The EQTools Welcome Screen is displayed e Close down the EQTools Welcome Screen e From the top menu bar select lt Programmer gt lt Programmer Info gt gt the Programmer Information screen is displayed e Click the lt Enter License gt button gt The lt Enter License Key gt screen is displayed Enter Licence key E x It i possible to purchase License Upgrades from Equinos for this product which Will enable certain utilities or Device Libranes Please refer to the Equinox Website htp mw equinos tech com for a full list of upgrades for this product or e maill supporkiiequinos tech com Please enter the 24 character Hexadecimal licence key provided by Equinox to enable certain options Key EAF 9975455956 E gA DADAAS Enter the License String you were sen
14. In System Programming ISP SchemMatic cccceceeeeeeeeeeeeeeteeeeens 15 242 WAVE UART JOP SCIEMANGC essere sctiscresiacsest wat A A a 17 3 0 Creating an EDS Development Project cccscsceceseecesseseeseeceneesonseseeneesenseseseesensesennesoeas 19 SOVEN WV echcsciceat scsi cs bceanson occas a ais Peas Gs A a ta ease ai O 19 3 2 Information required to create a Z WAVE PYroject ccccecccseeceeeeeeeceeeeeeeeeeeeeeeeeeeseeeseeeeeeens 19 3 3 Creating an EDS Development project ccecccceeccceeeeeseeeeceeeseeeeeseeeesseeeeseeessaeeeseeeeseeeees 20 3 4 Selecting the correct Target Device c cccesececceecsceececcedecceesescecescedeeceesesceeecceseeseeeesoeeeess 21 3A ICVICS SCICCHON saec a sauehaunieiden A 21 342 Device CRL Dif SIONAU Gara a a a hE ot ee Aly 22 3 5 Target System Power Supply Settings erren naana a E Ei 23 DO base OO OMS sim T E a T ian Gsa cue seaatet 24 3 7 Specifying the FLASH Code Fil keesaan a eaaa aTa 25 3 8 Launching EDS at the end of the EDS Wizard ccc ceccccceecceeeceeeeceeeseeeeseeeeeeeeseuseseeeseeens 27 4 0 Testing a Project in Development EDS Mod e cccccseseeeeseeeeseeeseeensesenseeesesenseneaeeonsesens 28 AA AUOOUGHOM TO oS neni i eon etal ett ee nts ta ial lou EN 28 4 2 EDS Default settings for SPI statemMachine CIC cccceccsseecceeeeeceeeeeeeeeeneeeeseeeeseesensneeens 29 ra WEG OPR SpeEd SEMN eee ee eee eee ee e
15. JOMOD10 Sigma Calibration Module plugged into the programmer e A special Restore NVR Calibration script e A custom parameter file to restore the relevant factory parameters to the device AN145 In System Programming ISP of Sigma Z Wave 500 series SOC devices and modules 8 Application Note The Embedded Solutions Company 1 3 5 Programmer selection guide for Z Wave calibration The table below details which Equinox programmers are capable of performing the Crystal XTAL calibration and TX calibration procedures Crystal XTAL TX calibration IOMOD10 Calibration modi meneame calibration supported supported module required ISP nano Series III ISPD nano Series III ATE Not applicable Not applicable Not applicable Multi Channel Gang Production ISP Programming Systems YES Requires 2 4 or 8 x IOMOD10 modules for XTAL 2 4 or 8 Channels Calibration o o o o YES S P nano module for XTAL Series IV ATE Calibration n os AN145 In System Programming ISP of Sigma Z Wave 500 series SOC devices and modules a Appi ication Note TECHNOLOGIE 8 1 4 Device Support 1 4 1 Overview The Equinox ISPnano programmer range supports the following Z WAVE 500 series SOC System on Chip devices and Z WAVE modules s Z Wave Next Gen SoCs 500 series SD3502 SD3503 gt gt ba Z Wave Next Gen modules
16. Suite EDS C test Sigma CalibrationSequence Test_PRODUCTION EDS Overview Programmer Target Device SPI Settings Target Power Supply Erase Flash IVR Security SRAM Flash File Updated Edit Buffer C 2M5202_calibration_en_P37_ref_P23 hex 22 12 2013 71 11 37 Reload aor eae V Erase buffer before file load Skip all leading and trailing OxFF H Save as E Automatically reload into buffer on change Automatically upload to target on change Oz1FEYO FF FF FF FF FF FF FF FF FF FF FF FE FF FF FF FF oyyyyyyyyyyyyyyyy a Ox1FESO FF FF FF FF FF FF FF FF FF FF FF FE FF FF FF FF oyyyyyyyyyy yyy T Ox1FE90 FF FF FF FF FF FF FF FF FF FF FF FE FF FF FF FF oyyyyyyyyyy yyy DZ1FEAO0 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF yyyyyyyyyyyyyyyy Re Calc CRC Ox1FEBO FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF yyyyyyyyyyyyyyyy OxIFECO FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF yyyyyyyyyyyyyyyy Taget Devir DZ1FED0 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF yyyyyyyyyyyyyyyy na Ox1FEEO FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF yyyyyyyyyyyyyyyy l DZ1FEF0 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF yyyyyyyyyyyyyyyy mee DZ1FF00 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF yyyyyyyyyyyyyyyy Ower UP Dg1FF10 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF yyyyyyyyyyyyyyyy ean _ OxIFF20 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF yyyyyyyyyyyyyyyy ae aE DZ1FF30 FF FF FF FF FF FF F
17. System Programming ISP of Sigma Z Wave 500 series SOC devices and modules 50 EQUINOX Application Note W Write data to File Enabled NVMICS SAWC 20 SAVE EE i ITT q7 BLOCK BYTE WORD WORD RCE Name Start DataType Size Bytes Source Value File to update wl o CCAL XTAL Calibration Byte 17 BYTE i Database Sigma CALCULATED CCAL 4NVR_ TEMP wii TXCAL1 49 BYTE 1 Database Sigma CALCULATED TXCAL1 SoNVR_TEMP So W 2 TXCAL 50 BYTE 1 Database Sigma CALCULATED TXCAL SoNVR_TEMP So E EJ i i a ate q my 5 i T E T I IPS NVR TEMP 3 SNVR_TEMP 3 NVR TEMP SNVR_TEMP 3 NVR_TEMP 2NVR_TEMP 3 TMY TEMPS 1 3 Database 1 Database sigma NVR Z2 SAWB 1 Ox02 2 2 Sigma NVR2_SAWC 0x0 100 Ox0100 Sinma AAG I ITT i Ta Natahace e The NVR parameters which are used to set up the Z Wave external Non volatile memory NVM are highlighted in the list in red NVMCS NVMT NVMS NVMIP e By default the programming script will simply use the value of each parameter NVMCS NVMT NVMS NVMP which it read from the target device at the start of the script e f you wish to configure custom values for the external Non volatile memory NVM parameters to match the hardware configuration of your target board then please follow the instructions below AN145 In System Programming ISP of Sigma Z W
18. a new Project Collection 2 Update this project in an existing Project Collection AN145 In System Programming ISP of Sigma Z Wave 500 series SOC devices and modules 66 Dinox Application Note 1 2 How to correct add a valid CRC32 checksum If your input file does not have a valid CRC32 Checksum then the file cannot be used for programming within EQTools It is necessary to generate a checksum for the file and then re save the file with this checksum before the file can be used with EQTools to program a Z Wave device 1 3 Opening the project in EDS Development mode A simple way to open the project in EDS Development mode is as follows e Open the Project Collection e Click the project you want to test in EDS once so that it is highlighted e Now click the Check project in EDS mode button EQ Project Manager C test Siqma CalibrationSequence Sigma_ D3502_project_collection PPC Sl e Details Files Power Supply Fuses Security State Machine Programming Speed Retries Memory Map Number Unique Id Version Build Date Target Device Target Programming Interface Signature ag 50350 2 SPI 1 0 0 0 02 01 2014 at 19 03 SD3502 SPI SPI 3 wire RESET_N Z Wave Ox F7F7F7F1F0401 a 1 CALIBRATION 1 0 0 0 02 01 2014 at 19 04 SD3502 SPI SPI 3 wire RESET_N Z Wave Ox F F7F7F1F0401 fs ey BUNT AR GE LLLI NOVI at 1905 03507 fopy CP Sewire BOT N 7 Waye Oe FETE JEJE IF040 3 PRODUCTION 1 0 0 0 13 01 2
19. devices and modules 44 a Application Note 1 3 Tx Power parameters overview of merging process The Tx Power parameters for your product must be merged into the Production FLASH hex file so that they are automatically programmed into the target device at the same time as the production firmware An overview of the steps to integrate your Tx Power parameters into your final Production FLASH Area hex file is shown below 1 Obtain the correct values for Tx Power parameters either by experimentation or by reading out the values from a golden sample device which has the correct parameters in it 2 Overlay these Tx Power parameters into your Production FLASH Area hex file This can now be done using a utility within EQTools 3 Recalculate the FLASH CRC32 checksum to take account of the values for the Tx Power parameters This task is performed by EDS 4 Save the amended hex file which now has the updated Tx Power parameters updated FLASH CRC32 checksum 5 This updated hex file should now be used as your Production FLASH Area hex file The Production FLASH Area hex file now contains e Your Z Wave Firmware data e The correct Tx Power parameters for your end product e The correct CRC32 FLASH checksum for the entire file AN145 In System Programming ISP of Sigma Z Wave 500 series SOC devices and modules 45 a m Application Note
20. e ISP PRO is still in Supervisor Mode allowing you to change any other settings before going into Production mode AN145 In System Programming ISP of Sigma Z Wave 500 series SOC devices and modules 59 Application Note The Embedded Solutions Company 2 7 Uploading your Project Collection to the programmer s Before running any Script File which uses Standalone programming projects it is necessary to upload these projects to the programmer FLASH Memory Store To upload a Project Collection to the programmer follow the instructions below e Click the lt Upload Project gt button on the ISP PRO icon bar is ISP Pro C test Sigma CalibrationSequence Sigma_Z Wave_500 PMP cE amp Upload Project Upload Project File Configure Actions Security Help A Clear Errors 2 3 E o Q a amp Abort Start Auto Project Check Setup Repository Programmer Info ADO Explorer Logout Exit e lf you have already selected the script file to execute then ISP PRO should automatically notify you of which Project Collection ppc file to upload Information Operation Upload Programming Projects which are referenced in the Script File programmer Press lt OK gt to launch the Upload Wizard and then follow the on screen instructions to upload the specified Project Collection e f ISP PRO detects the attached programmer s then the Upload Wiza
21. is going to power the Target System e Set up the voltage current parameters accordingly see programmer User Manual for detailed instructions e The Target Voltage should be set the actual voltage which the Z Wave device is running at e g 3 3V e The programmer will then generate JTAG signals which swing between OV and the Target Voltage e Click the lt Power up gt button to power up the Target System e gt The programmer will then switch on the programmer controlled power supply and the Target System should power up to the specified voltage e The measured Target Voltage will be continuously displayed If it is not then you can simply click the lt Measure V I gt button e The voltage should be within 3 0 and 3 3V If the programmer is NOT powering the Target System Switch on the independent power supply which is connected to the Target System AN145 In System Programming ISP of Sigma Z Wave 500 series SOC devices and modules 30 a m Application Note Click the lt Measure gt button to measure the Target Voltage e The voltage should be within 3 0 and 3 6V AN145 In System Programming ISP of Sigma Z Wave 500 series SOC devices and modules 31 Duino Appi ication Note 4 5 Testing SPI communication with the 500 series device 4 5 1 Overview To make sure that the programmer can communicate with the target 500 series device try reading back the Device Signature Device ID as fo
22. 0 Overview This section offers an overview quick start guide to running a Sigma calibration programming script with the ISP PRO application ISP PRO executes Programming Scripts in order to control a target Equinox Programmer These scripts are created using the EQTools Script Builder utility and can be tested debugged using the EQTools Script Debugger utility Once the scripts have been fully tested using EQTools they are then ready for executing within the ISP PRO application This section details how to take the files from EQTools and install execute them within ISP PRO 2 0 Installing the Sigma scripts and projects 2 1 Overview The Sigma calibration programming scripts and projects are supplied in a single zip file by Equinox Instructions e Copy the zip file to your PC hard disk e Unzip the files to a suitable folder on your PC hard disk e g c Equinox Important note The zip file contains all the develooment source files which were used to make the projects and scripts These files are not required for ISP PRO The only files which ISP PRO actually requires to run the script in joroduction mode are as follows e esf Script File s e PPC Project Collection File s e prj Compiled Project File s only the Base Project is required All other files are only required for maintaining the scripts projects by the developer or production supervisor and therefore do not h
23. 014 at 21 15 5035302 SPT SPI 3 wire RESET_N Z Wave I Edit Project Md Test Project in EDS amp Upload selected project HK Upload all projects Programmer Type ISPnano Series IM IV Total FLASH usage Used 141 0 KE 0 9 Free 15 9 MB bytes 99 1 Programmer Flash Page Size 2 The selected project should then launch in EDS Development mode WAL Equinox Development Suite EDS C test Sigma CalibrationSequence Test_PRODUCTION EDS fo Overview Programmer Target Device SPI Settings Target Power Supply Erase NVR Security SRAM Flash File Updated Edit Buffer C 2M5202 calibration en P37 _ref_P23 hex 22 12 2013 21 11 32 Reload a ae e File Ope v Erase buffer before file load W Skip all leading and trailing OxFF L Save as F Automatically reload into buffer on change Automatically upload to target on change AN145 In System Programming ISP of Sigma Z Wave 500 series SOC devices and modules 67 TECHNOLOGIES elnox Application Note The Embedded Solutions Company 1 4 Calculating the CRC32 checksum of the input file The CRC32 checksum of the input file can be calculated as follows e Select the FLASH tab e Your selected input file should be displayed in the buffer area e Use the scroll bar on the right hand side of the EDS window to scroll down to the end of the target device FLASH area i Equinox Development
24. 5 5D3502 SPT SPI 3 wire RESET_N Z Wave m 3 PRODUCTION 1 0 0 0 02 01 2014at 19 06 D3502 SPI SPI 3 wire RESET_N Z Wave Fl I F Edit Project Test Project in EDS Upload selected project H Upload all projects Programmer Type 5Pnano Series III IV Total FLASH usage Used 260 8 KB 1 6 Free 15 7 MB bytes 98 4 Progral As you can see the Project Collection comprises of 4 x Standalone Programming Projects Please see section 2 0 for an explanation of the function of each project AN145 In System Programming ISP of Sigma Z Wave 500 series SOC devices and modules 35 a Application Note TECHNOLOGIE 8 2 2 Changing the Product firmware file The test Project Collection is shipped with an example Production firmware from Sigma Designs To program your own Product firmware into the target Z Wave device you will need to change the Firmware file specified in the PRODUCTION project to your own Product firmware file To change the Product firmware file 1 Open the Sigma Project Collection see section 2 1 for instructions 2 Highlight the PRODUCTION project by clicking on the project name once gt see screenshot below ar Project Manager C test Sigma CalibrationSequence Sigma_SD3502_project_collection PPC BACIA Details Files Power Supply Fuses Security State Machine Programming Speed Retries Memory Map
25. 500 series ZM5101 ZM5202 ZM5304 AN145 In System Programming ISP of Sigma Z Wave 500 series SOC devices and modules a Application Note 1 5 Upgrading your Equinox Programmer to support Sigma 500 series Z WAVE device programming 1 5 1 Overview The Sigma Z WAVE 500 series algorithms are not supported as standard on any Equinox programmers It is necessary to purchase a License Upgrade for Z WAVE 500 series support from Equinox Equinox will then send you a Upgrade License String which will upgrade your programmer to support programming of this device family 1 5 2 Purchasing a Sigma Z WAVE 500 series License All Equinox ISP programmers require the purchase of a License Upgrade to enable Z WAVE 500 series programming support Please see the table in section 1 2 for the relevant upgrade for your programmer 1 5 3 How do I enable the programmer for Z WAVE programming To enable your programmer to support Z WAVE 500 series ISP programming please purchase the relevant upgrade from Equinox or an Equinox distributor 1 If you purchase the upgrade directly from Equinox e Equinox will email you a JTAG License String e This string can be entered directly into the lt Enter License gt screen in EQTools 2 If you purchase the upgrade from a distributor e The distributor will send you the Upgrade Pack by courier e Within the Upgrade Pack you will find an Upgrade Form with a Code String on it e
26. Application Note The Embedded Solutions Company Report No AN145 Title In System Programming ISP of Sigma Z Wave 500 series devices and modules Author Date Version Number John Marriott 18th August 2014 0 66 i Vinh ii ili i did i ili l eae a A i J DESIGNS Z Wave Next Generation Products All rights are reserved Reproduction in whole or in part is prohibited without the prior written consent of the copyright owner The information presented in this document does not form part of any quotation or contract is believed to be accurate and reliable and may be changed without prior notice No liability will be accepted by the publisher for any consequence of its use Publication thereof does not convey nor imply any license under patent or other industrial or intellectual property rights AN145 In System Programming ISP of Sigma Z Wave 500 series SOC devices and modules Bein Appl ication Note Contents MO TEVURO GUCI O cesses coeactte tanec ce a a deans cidatete a 4 geal Pid St 10 oto eee nr ae ere ER eee ee eee 4 1 2 Programmers supporting Z WAVE 500 series GeVICES ccccceccceeeeeeeeeeeeeeeeeeaeeeseeeeseeesaneesaees 6 MONG cllolgclilel OVE NVE Wonne Tern ene nt ee ene or ee ee ee ee 7 TSA OVEIVICW serta ea r Or acabtanstmpanegiwaeiangianeenrseusdenyimeeateninaulaceducs 7 gee 7 7 g s fei 0 Ge iets 2 gail eq eemmenen erm a a a S 7 Ly Oe TA Cal Ol e 8 1
27. COM ports on your PC should now be displayed e Select the COM port which the programmer is attached to e Click the lt Test gt button e ISP PRO will attempt to communicate with the programmer and should display a message to tell you that it has found the attached programmer Information Operation Test communications with attached programmer Result Pass Com Port comi Baud Rate 38400 Address 0 Serial Number 1465 Type ISPnano Series IM IV Firmware 6 13n Current Status ts Programmer is waiting AN145 In System Programming ISP of Sigma Z Wave 500 series SOC devices and modules 56 Application Note The Embedded Solutions Company 2 5 Detecting the attached programmer s The very first time you run ISP PRO it is necessary to detect the attached programmer s and also assign programmer names to each programmer Please follow the instructions below e Click the lt Setup gt icon e Select the lt Programmer Settings gt tab EA PPM Setup C test Sigma CalibrationSequence Sigma_Z Wave_500 PMP Em File View Help B b lg Custom Bitmaps Database Options Incremental Repository Global Options Global Strings Zebra Frinter Programmer Settings MUX Options Zip File Administrator Options Communications Barcode Scanning Attached programmer details Number of programmers 1
28. D PROG_VCC AVDD DVDD UART Interface to a 3 3V UART Programming Equipment Fig 2 4 0 Sigma Z wave 500 series device UART Signal names and directions Programmer Signal description Signal direction Connect to Signal Signal Name from Z Wave direction Programmer Pin from Z Wave device UARTO Rx P2 0 UARTO Tx P2 1 AN145 In System Programming ISP of Sigma Z Wave 500 series SOC devices and modules 18 a m Application Note 3 0 Creating an EDS Development Project 3 1 Overview This section describes how to make a Programming Project for a Z WAVE 500 series device Please note The following versions of EQTools and firmware are required to support a Z WA VE 500 series device programming e EQTools version 4 build 3490 or higher e Firmware 6 11 please consult Equinox 3 2 Information required to create a Z WAVE Project The following information is required about the Target Board in order to create a Z WAVE 500 series device Programming Project Information data required ciara ie Target System maximum current consumption e g 100mA ell FLASH area Program File Binary bin or Intel Hex hex 7 Reset circuit parameters e g e Capacitor Resistor circuit e Watchdog supervisor circuit e Voltage monitoring circuit TX Power parameters The TX Power parameters should be obtained by from RF testing of your final product AN145 In System Programming I
29. F FF FF FF FF FF FF FF FF FF yyyyyyyyyyyyyyyy Ye e i Dg1FF40 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF yyyyyyyyyyyyyyyy aan Ox1IFFSO FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF yyyyyyyyyyyyyyyy EET Ox1IFF60 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF yyyyyyyyyyyyyyyy Senen DZ1FF70 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF yyyyyyyyyyyyyyyy Read Ox1FFS0 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF Yyyyyyyyyyyyyyyy Ox1FF9O FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF Yyyyyyyyyyyyyyyy write Ox1FFAQ FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF Yyyyyyyyyyyyyyyy Ox1FFBO FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF Yyyyyyyyyyyyyyyy Ae verify Ox1FFCO FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF Yyyyyyyyyyyyyyyy a sl beh Ox1FFDO FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF yyyyyyyyyyyyyyyy Check crc USIPPROU SP EP Pe Pe Pere Pe PP PP PP Pe ee VRE yey Ox1FFFO FF FF FF FF FF FF FF FF FF FF FF PREF FF OFF OPPS YYYY Size 131072 0x20000 CRC Ox85BC696B 0 0 0000 Last Non FF 0x21 F1 e As you can see the last 4 bytes of FLASH are set to OXFFFFFFFF This means that the CRC32 checksum is invalid e Nowclick the Calec CRC button e EDS will now calculate the CRC32 checksum for the file loaded into the buffer area Information Operation Calculate CRC of Flash Buffer Area Start Address Ox0000 Mo of Bytes Ox FFFC End Address Ohl FFFE AN145 In Syst
30. ION project must be compiled and then updated in the Project Collection before it can be uploaded to the programmer On the top EQTools icon bar click the Compile icon This will compile the project and then display the following Info screen Information C Operation Project Compilation Result PASS Source file PRODUCTION PPM Compiled files PRODUCTION PRI Path CAtest Sigma CalibrationSequence Options gt View Log file Add Project file to a new Project Collection e Now click the Update this project in an existing Project Collection button e Select the Sigma_SD3502_project_collection PPC file and click the Open button see screenshot EQ Select an Equinox file to Open _ r ia od ae p Local Disk C test Sigma CalibrationSequence Organize New folder zz Fl sir Favorites T Name Date modified Type ME Desktop 4igma_ D3502_project_collection PPC 02 01 2014 19 06 PPC File le Downloads E Recent Places oy Libraries e Documents a Music E Pictures Videos J l d Pr 1E Comnuter he j File name Sigma_5D3502_project_collection PPC hi Project Collections PPC AN145 In System Programming ISP of Sigma Z Wave 500 series SOC devices and modules 40 TECHNOLOGIES a Appi ication Note The Embedded Solutions Company The Update Project Collection process should now report PASS Information i D i Operat
31. ISP PRO screen e ISP PRO is still in Supervisor mode with the programming network stopped AN145 In System Programming ISP of Sigma Z Wave 500 series SOC devices and modules 61 Application Note To execute your selected Programming Script s please follow the steps details below 1 Click the lt Start Auto gt icon on the ISP PRO Icon Bar Ea ISP Pro C test Sigma CalibrationSequence Sigma_Z Wave_500 PMP File Configure Actions Security _Help E Start Auto Clear Errors a zj amp 2i Be Q S Abort Project Check Setup Upload Project Repository Programmer Info ADO Explorer Logout Exit Start uto gt All enabled programming channels should now go to the lt Connect gt state ISP Pro C test Sigma CalibrationSequence Sigma_Z Wave_500 PMP File Configure Actions Security Help A Abort Clear Errors SIGMA SD3502 TX CALIBRATION SEQUENCE Press the Connect button to start the sequence Parameter Value Programmer Name ISPnano Series III IV address 0 Script Name Sigma_ZW500_TX_Cal_2 ESF Database ID Script Time 00 00 Q Shutdown ADO Explorer Logout Status Waiting to Connect Q Connect Supervisor Mode Now Auto programming The message Now Autoprogramming should be displayed at the bottom right hand corner of the ISP PRO window AN145 In System Programming ISP of Sigma Z Wave 500 series SOC devices a
32. SH CRC32 checksum e This hex file can be used to program the final production firmware into the FLASH area of the target Z Wave device The Production FLASH Area hex file now contains e Your Z Wave Firmware data e The correct Tx Power parameters for your end product e The correct FLASH CRC32 checksum for the entire FLASH file AN145 In System Programming ISP of Sigma Z Wave 500 series SOC devices and modules 47 a Application Note Appendix 3 Configuring the Z Wave External Non volatile memory NVM parameters 1 0 Overview It is possible to connect an External Non volatile memory NVM device to a Z Wave 500 series device This NVM device is NOT fitted on a Z Wave module as the module does NOT require the NVM device to operate Instead the NVM device can be fitted on the customer s target board and is then connected to the Z Wave device on the Z Wave module via the SPI1 port of the Z Wave device The NVM device is not required for most Z Wave applications and hence is usually either not catered for on the target board no footprint provided or the NVM device is simply not fitted during the assembly process However for some Z Wave applications it is necessary to fit the External Non volatile memory NVM device on the customer target board In this case it is essential that the relevant External Non volatile memory NVM parameters are con
33. SP of Sigma Z Wave 500 series SOC devices and modules 19 Dinox Application Note 3 3 Creating an EDS Development project The simplest way to create a Programming Project for a JTAG device is to use the EDS Development Mode Wizard The steps required to create a project are as follows e Click the New icon on the task bar gt The New items screen will be displayed New Items E ie Development Project Collection Project Source Project Script Wizard Script File Cancel e Select lt Development Project gt and click lt OK gt gt The EDS Development Wizard will launch e Select the relevant Programmer and then click lt Next gt AN145 In System Programming ISP of Sigma Z Wave 500 series SOC devices and modules 20 a Application Note TECHNOLOGIE s8 3 4 Selecting the correct Target Device It is important to select the correct Target Device when programming a Z WAVE 500 series device The part number of the device should be printed on the top of the chip e g SD3502 3 4 1 Device selection e Click lt Next gt gt the lt Select Target Device gt screen will be displayed e Type inthe Device Part Number e g SD3502 into the Search for Device field gt alist of all matching devices will be displayed in the box underneath EG Select Target Device Search for Device by Name Device Details Notes Timings Manufacturer Search
34. SPnano Sesies IILV Total FLASH usage Used 260 8 KB 1 6 Free 15 7 MB bytes 98 4 Progral AN145 In System Programming ISP of Sigma Z Wave 500 series SOC devices and modules 41 Duino Appi ication Note 2 3 Uploading the new Project Collection to the programmer Once you have updated the PRODUCTION project with your firmware file it is then necessary to upload the entire Project Collection to the programmer To upload the Project Collection to the programmer 1 Make sure the Project Collection is already open in EQTools 2 Make sure the programmer is attached to the PC and is powered on 3 Click the Upload all projects button bottom right of the Project Manager window 4 If everything is OK then the Upload Wizard utility will start and the following screen will be displayed Equinox Upload Wizard Sa Upload Project s to programmer Select lt Upload gt to upload your selected project s to the attached programmer s ATA Click Upload and Verify to upload selected project s to seleted programmer s Page Transfer Baud Rate 230400 Upload and Verify r Verify only Next gt Cancel 5 Click the Upload and Verify button to start the upload process 6 Follow the on screen instructions to upload the Project Collection 7 Once complete the projects will then be permanently resident in the Programmer FLASH memory Store Impo
35. ave 500 series SOC devices and modules 51 Duino Appi ication Note 3 3 Configuring individual NVM memory device parameters The instructions in this section describe how to configure a custom fixed value for each Non volatile memory NVM parameter This will allow you to set up the programming script to program custom values into the following NVR parameters NVMCS NVMT NVMS NVMP Instructions e Double click the NVMCS parameter in the NVR parameter list e The File Write Parameter screen for the NVMCS parameter should now be displayed File Write Parameter z Error Message Data Type BYTE Start Address Fixed Start Address Auto Size Get from Database Ox000015 Data Size bytes Fixed Size Auto Size Get from Database Ox000001 SOUrCE Fixed kai File to write data to NVR _TEMP mm e Setthe Value field to the value you wish to program into the NVMCS parameter e g 0x04 e Check the settings match the screenshot above and leave all other settings unchanged e Click lt OK gt to save your amended settings e You will then be returned to the NVR parameters list and the NVMCS parameter should now have been automatically enabled and should show your amended settings e g Value 0x04 PINS i8 BYE 1i Fed O35 naO NVR_TEMP 13 BYTE l Fixed La ee aneneen A n E n _ 0 Sigma WVR2 SAWC SoNVR_TEMP
36. ave to be copied to the production PC AN145 In System Programming ISP of Sigma Z Wave 500 series SOC devices and modules 54 Application Note The Embedded Solutions Company 2 2 Setting up ISP PRO to run the Programming Script s In order to execute the programming scripts it is necessary to install them into your ISP PRO Scripts folder and also to set up ISP PRO so that it knows which script s to execute Please follow the steps below before attempting to execute a programming script 2 3 Start the ISP PRO application and log in e Select lt Start gt lt Programs gt lt Equinox gt lt ISPPRO gt gt SP PRO application should start up e Click the lt Login gt button ISP Pro C test Sigma CalibrationSequence Sigma_Z Wave_500 PMP File Configure Actions Security Help GA eae zj Abort Clear Errors Start Auto Project Check p ADO Explorer Login e You will now be asked to enter your password Supervisor Login mm Please Enter the required Supervisor password i to Logon to the System Password eeeeeee e Type in your password default password is equinox e The lt Setup gt icon should now be selectable ISP Pro C test Sigma CalibrationSequence Sigma_Z Wave_500 PMP File Configure Actions Security Help e E i 3 a ae Abort Clear Errors Start Auto Project Check Setup Upload Project Repository
37. by Signature Sigma Designs Family Z Wave 500 series Serial Interface Sot Target Programming Interface Er a A Device Code al Search Now ESE o SD3502 SPI i Holtek Target Programming Interface a SPI 3 wire RESET_N Z Wave Microchip Flash Size Li NXP Philips 131072 0x20000 jo Philips ore Ramtron Flash Address h Rohm 0 0x0 ome c di sT _ EEPROM Size LJ Seiko Instruments d di Sigma Designs 256 0x100 a ji Z Wave Single Chips signature d d Z Wave 500 series Serial Interface SoC 0x7FiF0401 A e GFI Algorithm Version fill 5D3502 UART a L Winbond J EE imn Library 503502 SPI XML Version 0 20 1155 devices loaded cme e As the Z wave 500 series devices can be programmed via different programming interfaces the device list shows the available interfaces eg SPI or UART interfaces for the SD3502 device e Select the required device programming interface from the list e g SD3502 SPI and then click lt OK gt gt The SD3502 device is now selected and will be programmed via the SPI interface AN145 In System Programming ISP of Sigma Z Wave 500 series SOC devices and modules 21 Dinox Application Note The Embedded Solutions Company 3 4 2 Device Chip ID Signature e On the next screen check that the device selection and all other device parameters are corr
38. cript Instructions e Start EQTools e Select File Open and then browse to and open the latest version of the Sigma script source file e g Sigma_ZW500_ProgCal_V17 14 ESW e The Script source file esw should now open in the Script Builder utility and the following script related tabs will be displayed Ci Script Builder C Equinox Sigma CalibrationSequence Sigma_ZW500_ProgCal_V17 14 ESW co fest Select Script Options Select which scripting tasks to execute from the list below Ex Run Target Write Data to File Chip Erase 2 NVR Write Target AutoProg3 Final NVR Read Final Read From File Final Check Database Values Flash Checksum NVR Checksum Script Tasks Base Project Database Target Connect Disconnect Read Signature Pre Erase NVR Read Pre Erase Read From File Check Database Values Chip Erase Target AutoProg1 e Select the Write data to File tab e On this tab you should see a list of the available NVR parameters which can be configured see screenshot below Write Data to File Tasks Add the required file write tasks Script Tasks pasc projact Datshase Target Connect Disconnect Read Signature Pre Erase NVR Read Pre Erase Read From File Check Database Values Chip E Run Target Write Data to File chip Erase 2 NVR Write Target AutoProg3 Final NVR Read Final Read From File Final Check Database Values Flash Che AN145 In
39. dent Target Boards UUTs on a PCB Panel e SPnano GANG programmer family supports concurrent gang programming of up to 32 x independent Target Boards UUTs on a PCB Panel AN145 In System Programming ISP of Sigma Z Wave 500 series SOC devices and modules 5 a Application Note 1 2 Programmers supporting Z WAVE 500 series devices The Z WAVE 500 series devices are currently only supported by the Equinox ISPnano family of production ISP Programmers The ISPnano programmers can be upgraded to support high speed programming of via the SPI Programming Interface The table below lists all the Equinox ISP programmers which are capable of programming Z WAVE 500 series devices Programmer Sigma Requirements Upgrade Order Z wave Code Support ISPnano Series Illl Upgrade License upgrade ISPnano UPG35 ISPnano Series Ill ATE ISPnano Series IV ATE ISPnano MUX Please note e A chargeable License Upgrade is required to enable the Z WAVE 500 series device Support on any of these programmers e The programmer firmware will probably also need to be upgraded in order to support Z WAVE 500 series device programming see section 1 3 e tis also recommended that EQTools version 4 build 3498 or above is used when programming Z WAVE 500 series devices AN145 In System Programming ISP of Sigma Z Wave 500 series SOC devices and modules 6 Application Note The Embedded Solutions Company
40. e Riess iidenceiiers ii onentiians 65 Appendix 5 Sigma CRC32 FLASH CheckSumm cccscscsesseccesseeceseeceseesenseeeeneeeenseseeseseensesensenes 66 TOOVERE tata va tus ats ees a 66 1 2 How to correct add a valid CRCO32 CHECKSUM ccccecceceeeeeseeeeteeeeeseeeesaeeeeseeeesaeessaeeesanees 67 1 3 Opening the project in EDS Development mode cccceecceeeeceeeceeeeceeeeeeeessueeseeesseeeseeees 67 1 4 Calculating the CRC32 checksum of the input file eee ceececeeeeseeeeeeeeeeseeeeseeeesaeeeeseeeess 68 1 5 Saving the revised file with the CRC32 CHECKSUM ccccccceceeeeeeeeeeseeeeseeeeeseeeeseeeesseeeeseeeees 69 Appendix 6 Sigma SD3502 Evaluation MOdull ccscccsseseeeeseeeeseeeeneeeeaeeeeeneeeeaneeeeneeeeaeeneanenes 70 TO OVERVIEW inna cndsiceesanane nnstmnaseantahasieenstnane uns ahasiensanatenamastansamaeammaceaneammnens 70 kI EQUIPMENT FOUN OG esiz ici ieee gt eeuntrevaeic uate neinean da uandes unui a a a aE 70 1 2 Connecting the programmer to the Sigma eval module cccccccsececeeeeceeeeeeeeceeeeseeesaeeeneees 71 Appendix 7 Sigma connector definitions 1 c11ccceeccneeeceeseneeneeeneeeesenenseeeneeenseeenseoeseeenesnenesennenensees 72 1 0 Sigma ISP Header SGIOCHON sironnan OOA ANAN ENNO 72 AN145 In System Programming ISP of Sigma Z Wave 500 series SOC devices and modules 3 a Application Note 1 0 Introduction Equinox Technologies manufacture a comprehensi
41. e eee eee ee ee eee ee eee 30 4 4 Checking the Target Voltage cccccccccssccceeeceeeeceececeeececeseueeseecsueesseessueeseuessseesueeseeesaneens 30 4 5 Testing SPI communication with the 500 series device ccc ceecceeeceeeeeeeeeeeeeeeeeeeseeeeeeeaeees 32 ADV B12 ee eee Or ere oe ee re nd ee ony ae ee ey ee oe ee ear ee eee 32 4 9 2 VAG INO SUC INTO seraa ea gti ac aaron leant lsc acea ear ant dsc etac aac abtat aldacraatoceataceabtnd w Macamtacens 33 4 5 3 Possible failure MESSAGES cccccceeeceecceeeceeeceeeceeeceeeceeseeeceeecseeceeeseeeseeeseeeseeeneeeneeenes 33 Appendix 1 Sigma Programming Calibration Project Setup cssscccsseeeseeseeeseeeeeeeneesees 34 TO OOVETVICW honraria A Shacsuaseareuees Pine wane ined ORwieth Oden a A dlceniwethctancuhds 34 2 0 Explanation of standalone projects 25 2cirai 5 thie on etee a ith abe anirei chee oueteetcihb ale aeere andi eeal iat 34 2 1 Opening the Sigma Project Collection cccccccccceececeeeeeceeeseeeeeseeeeseueesseeeeseueesseeeeseeeessneeeas 35 2 2 Changing the Product firmware file ccccccccsececeeeeceeeceeeeceeeeseeeseeeeseeeeseeeseueeseeeseeeeseeesaeeens 36 2 3 Uploading the new Project Collection to the PrograMMerl cccsccesseeceeeceeeeseeeseeeeseeesaeeens 42 Appendix 2 Setting up the TX Power parameters ccccesceeseeeeeneeeeneeeeeneeeeneeeeaeeeeeneeeenseeneneenens 43 Sas DVS VW oo cannes a ac
42. ect C gt Equinox Development Suite EDS Wizard Untitled coe E eee Target Device Select the required target device from the list and device signature s to be checked Selected Device Manufacturer Family Sigma Designs fWave 500 senes Seral Interface Sol Ml Select Device Device Code Device Algorithm Version Silicon Revision 503502 SPI 0 20 Flash Size Flash Page NVR Size NVR Page 131072 0x20000 256 256 0 100 1 Target Programming Interface Polling Method SPI 3 wire RESET_N Z Wave Conventional BYTE palling Signature 1 Ox7F7F TIF 1F0401 e The project is set to automatically read and validate the Device Signature of the Target Device by default e The actual Signature Chip ID for the device being programmed can be found in the User Manual for the device Alternatively it can be read from the target device using EDS AN145 In System Programming ISP of Sigma Z Wave 500 series SOC devices and modules 22 a Application Note 3 5 Target System Power Supply Settings This screen allows you to set up the Power Supply characteristics of your Target System fm Equinox Development Surte EDS Wizard Untitled lo LEl Target System Power Supply Settings Select Target System Voltage and Current Consumption Target Voltage Settings Programmer Controlled Power Supply Voltage Programmer controlled T arget Power Supply ON 33 Maximum Cur
43. ed by Sigma at the factory You will need to perform the Crystal XTAL calibration procedure on these devices at the customer production programming stage AN145 In System Programming ISP of Sigma Z Wave 500 series SOC devices and modules a Application Note 1 3 3 TX calibration The TX calibration procedure is required to tune the Z Wave frequency separation during modulation to an optimum value Important notes e The TX calibration procedure is currently NOT performed by Sigma at the factory e The customer must therefore perform the TX calibration procedure on ALL Z Wave modules SOCs and Bare die devices at the customer production programming stage 1 3 4 Calibration recovery after accidental NVR erasure corruption If the NVR Area of a 500 series Z Wave device is accidentally erased or corrupted then both the Crystal XTAL and TX calibration parameters may be invalid This means that the Z Wave device will no longer function properly If this happens then it is necessary to fully re calibrate the Z Wave device This recalibration process involves performing both the Crystal XTAL calibration and the TX calibration procedures and also programming some default factory settings for the device or module back into the NVR Area of the device This procedure requires the following equipment and other information e An SPnano Series 4 or SPnano MUX programmer e An Equinox
44. elect the required programming options for the FLASH memory area Blank Check Flash Entre Area Operation Mone ProgramVerify C Verify Only lash File Timings File C test Sigma serialapi_controller_static_ZW050x_EU_orc hex lgs Status Loaded OK Type Intel Hex Generic Butter J Discard leading OxFF Discard trailing OxFF Min Add 0x0000 Max Add Ox1FFFF Bytes OxDFBO CRC 0x432 Auto Range Custom Write From Ox0000 To Ox1FFFE Bytes Ox1FFFF This is an optional step you can also specify the file once you are in the Development Suite EDS Selecting the FLASH File e Click the lt Browse gt button e Browse to and select the file you wish to load and then select lt OK gt e gt The file will be automatically loaded into the FLASH File Preview window see below Min Addr 020000 Max Addr 0d FFFF Bytes Loaded 5 264 OxDFBO CRC OxFFA83B10 ar Flash File Preview c eee View entire area W Discard leading OxFF Discard trailing OxFF up to page boundary Ox00000 O2 18 00 02 18 03 6C 88 25 E8 22 02 18 0B6DC3 li m H Ox00010 41 6222 02 18 130347 03 5BFF 02 18 1B 7F 01 Ab G 0 Tal Ox00020 22 D3 2202 189 23A2 42 92350220218 2B0236 B 0 A6 L Dz00030 22 FF FF 02 18 33A7 44 92 37 22 O72 1B 3580221 yy 32D 7 eir 0x00040 B3FF FF 02194302 2A D4 FF FF 02 18 4BE4A1 y4 C 0yiy K i 0x00050 70FF FF 02 195302 21 D2 1E 22 02 18 580261 py
45. em Programming ISP of Sigma Z Wave 500 series SOC devices and modules 68 a Application Note Click the Yes button to update the Calculated CRC value into the last 4 bytes of the FLASH buffer e f you look at the last 4 bytes of the FLASH buffer they have now been updated with the Calculated CRC checksum value UZIFFEU PP ER BP PE Pe PP Pe oP ee PP Be FR VERE UE YE eee ee Ox1FFFO FF FF FF FF FF FF FF FF FF FF FF FR 6B 69 BC 85 yyyyyyy yyy yk Size 131072 0x20000 CRC 0x85BC696B 0 0x0000 Last Non FF 0x21F1 1 5 Saving the revised file with the CRC32 checksum You now just need to save the modified FLASH buffer back to your original hex file e Click the Save as button e The Save FLASH buffer window is now displayed Save Flash Buffer Use file start and end addresses Start Address Ox000000 Entre Device M L fb te No of bytes aa as sccm Ges ae a Ry m tr 2 OxFF End Address Remove trating dF 0x0 1FFFF Offset Ox000000 Click the Entire device button gt This selects the entire address range of the device which includes the CRC32 value stored in the last 4 bytes of the FLASH e Click OK and then browse to the folder where you want to save the file Filename Test_CRC32_File hex Save as type Flash Files HEX A90 BIN ROM EEP a Hide Folders Save Cancel e Click the Save button to save the file
46. en Save Ld Save All E Setup Programmer Info Detect Programmoer s Download Wizard Upload Wizard z Exit _ e This script file esf can now be executed within the ISP PRO production utility 3 4 Testing the custom NVM memory device parameters To test whether your custom NVM parameter values have been programmed correctly you will need to follow the instructions below e Execute your customised programming script esf in the ISP PRO utility e Program a virgin Z Wave target board using your customised programming script esf e Exit the ISP PRO utility e Start the EQTools software utility e Open or create a new EDS Development project e Select the NVR tab e Click the Read button gt the current values of the NVR Area will be transferred to the Buffer window e Check that the read back values for the NVM parameter values match the values you declared in your programming script e The final test that you have programmed the correct values is to try running Sigma s own firmware on the Z Wave device and check that it executes correctly This is nota comprehensive test as some Sigma firmware does not actually require or use the external NVM device AN145 In System Programming ISP of Sigma Z Wave 500 series SOC devices and modules 53 Application Note The Embedded Solutions Company Appendix 4 ISP PRO Quick Start Guide 1
47. er Info Programmer and Project Type ie Target Device Target Oscillator SPI Settings Check which optional task you would like to change from the default settings Disabled items are mandatory Header Information Target Programmer Atmel ELF File Target Device Target Oscillator SPI Settings Target Power Supply Pre Program State Machine Erase FLASH Area Programming Options NVR Area Programming Options Security Settings CRC32 Checksum Retries Lock Device 5 Select the FLASH tab Ca Project Builder C test Sigqma CalibrationSequence PRODUCTION PPM FLASH Area Programming Options Select the required programming options for the FLASH memory area Tasks Header Info Programmer and Project Type al Target Device Target Oscillator SPI Settings at __________ _________ I 7 k ii Target Power Supply Pre Program State Machine Erase Flash NVR CRC32 Checksum Blank Check Flash Entire Area Operation None Program only Flash File Timings C CalibrationSequence serialapi_controller_static_7WO50x_EU orc hex Loaded OK Type Intel Hex Generic Discard leading OxFF Discard trailing OxFF Min Add 0x000 Max Add Ox 1FFFF Bytes OxDFBO CRC32 OxFFAS3B610 Auto Range Custom Write From Ox0000 To Ox LFFFF Bytes Ox IFFFF AN145 In System Programming ISP of Sigma Z Wave 500 series SOC devices and modules 37 a Application N
48. er Settings Communications Barcode Scanning Attached programmer details Detect Programmers Number of programmers 1 Use Broadcast Mode Assign a programmer name and script to each available programming channel Setup each channels Name Address Status and Script Assign a Script to run for each channel they must all be located In the same directory PPM Mame Address Status f Script File Select Script 0 ISPrano Seres Il address 0 i Enabled Sigma Aw 500_Ts_Cal AESF Select a Script File for all channels Script File Directory Cte Sigma Calibrations equence Close e lf you wish to select a Script File esf for a single channel click the lt Select Script file gt button e lf you wish to select a Script File esf for multiple channels click the lt Select a Script file for all channels gt button e Browse to and select the required Script File which will have the file extension esf The Script File should be located in your Scripts directory folder e lf you selected Script File is not in the Script File directory then you will receive the following warning Warning T Warning this file is notin the current script director y Would you like to update your script path now AN145 In System Programming ISP of Sigma Z Wave 500 series SOC devices and modules 58 a Application Note e f you click lt Yes gt then ISP PRO w
49. ers for a Z Wave 500 series module or SOC device will usually have already been setup tested by an RF engineer during the RF testing of the customer product If the development engineer has used Sigma s own SDK software then you should be able to obtain the required Tx Power parameters from the following screen in Sigma s GUI interface see screenshot ZWO30x V ZWO40x V ZW050x x Programming Interface Current interface SPI Flash Code Memory SRAM External Non Volatile Memory NVR HEX File v10 0 5 OTA _ZM5202 US BDOTLOADER 2014 0 Read Calibrate Program and Verify Compare Erase Options Normal Tx Power Low Tx Power Channel 0 tb Get Optons Channe 1 ib Set Options Channel 2 2 ib If you have a golden sample of your product which already have the correct Tx Power parameters programmed into it then it is possible to read out the values by clicking the Get options button on the above screen Unfortunately there is no way to export these settings to the Equinox EQTools software so please make a note of the values for each parameter You will need these values to enter into hex file For many customer products it may be possible to simply use the default values for these settings However the values used should always be double checked either with your RF engineer or with Sigma technical support AN145 In System Programming ISP of Sigma Z Wave 500 series SOC
50. ess darn ate am cent cans ca i ee etc enchant Se mee eee emmeaaceEnt 43 1 2 Where do find the Tx Power settings IN Sigma s SDK cccccceccseeceeeeeeceeeseeseeseeeeesees 44 1 3 Tx Power parameters overview Of merging PLOCESS cccccceeeceeeceeeceeeseeeeeeseeeseeeseeeeeeees 45 AN145 In System Programming ISP of Sigma Z Wave 500 series SOC devices and modules 2 a Application Note 1 4 Tx Power parameters merging into the FLASH hex file cee cecceecceeceeeeseeeeeeeeeeeeeeeaees 46 Appendix 3 Configuring the Z Wave External Non volatile memory NVM parameters 48 TO OVENVIEW wc sae aes cee tisers a anaeenntonament 48 1 1 NVM memory configuration parameters Overview ccceeceneeeceeeeeeeeeeeeeseeeeseeeeeeeeseeeeaes 48 2 0 No external NVM memory device fitted on target board cc eccceccseceseeeseeeseeeseeseeneeeneeenes 49 3 0 Custom NVM memory device fitted ON target board cccceccceececeeeeseeeeeeeeseeeeseeesaeeeseeeeaes 49 3 1 How to work out the NVM memory device parameter values ccceeeceeeseeeeeeeseeeeeees 50 3 2 Configuring the script file to program custom NVM memory device parameter values 50 3 3 Configuring individual NVM memory device parameters ccceccceeeeceeeeeeeeeeeeeseeesaeeess 52 3 4 Testing the custom NVM memory device parameters ccccceseeeeeeeeeeeeeeeeeeeeeeseeesaeeens 53 Appe
51. figured so that the Z Wave device knows the relevant settings of the external NVM device This section describes how to configure program the Z Wave External Non volatile memory NVM parameters to match the configuration of your target Z Wave board 1 1 NVM memory configuration parameters overview The parameters which are used to configure a Z Wave 500 series device to interface to an External Non volatile memory NVM device are detailed in the table below Parameter description TYPE device fitted to the target board SIZE the external memory device fitted to the target board NVMP Non volatile memory This parameter defines the physical page size of the PAGE SIZE external memory device fitted to the target board NVMCS Non volatile memory This parameter configures which pin on the Z Wave CHIP SELECT device is used to control the Chip Select CS signal line of the external memory device fitted to the target board AN145 In System Programming ISP of Sigma Z Wave 500 series SOC devices and modules 48 a m Application Note 2 0 No external NVM memory device fitted on target board If you do not have or plan to fit an External Non volatile memory NVM device on your Z Wave target board then there is usually no need to change any of the parameters in the programming script from their default values If you are programming a Z Wave module then the memory parameters should already
52. have been factory programmed by Sigma to declare No external NVM fitted The default factory values of the NVM parameters are shown in the table below NVM Parameter Default value Parameter description NVMT Non volatile memory 0x00 TYPE This indicates that an NVM device is NOT fitted SIZE PAGE SIZE CHIP SELECT Please note The default version of the Sigma programming script will simply use the default NVM settings read from the target device and will not change these settings in any way This plan should work OK for all Z Wave modules which should have had the NVM settings pre programmed by Sigma at the factory 3 0 Custom NVM memory device fitted on target board If you plan to fit an External Non volatile memory NVM device connected to the Z Wave device on your Z Wave target board then it is necessary to configure a set of specific External Non volatile memory NVM parameters in the Z Wave NVR memory area of the target Z Wave device This configuration tells the Z Wave device what type of External Non volatile memory NVM device is fitted to the device what the NVM memory size is what the Page Size is and also which pin on the Z Wave device should be used to control the Chip Selec pin Warning Failure to declare the settings for the External Non volatile memory NVM device correctly could cause the Z Wave device to malfunction with newer versions
53. i Error 3039 3044 Failed to enter programming mode These errors are discussed in the next two sections AN145 In System Programming ISP of Sigma Z Wave 500 series SOC devices and modules 33 a Application Note Appendix 1 Sigma Programming Calibration Project setup 1 0 Overview This section describes how the programming calibration sequence for a Sigma Z Wave 500 series device is set up in EQTools 2 0 Explanation of standalone projects The programming calibration sequence for a Sigma Z Wave 500 series device is made up of 4 x Standalone Programming Projects as follows Project 1 SD3502 SPl The first project called SD3502 SPI is the so called Base Project This project is used by the programming script in ISP PRO to define the target device voltage SPI speed etc Project 1 CALIBRATION This project programs the Calibration firmware into the FLASH area of the target device This Calibration firmware firmware must have been compiled for the correct Sigma device and be the correct algorithm for the hardware being calibrated Project 2 RUNTARGET This project programs simply powers up the Target System and then forces the Calibration firmware to run execute the Calibration firmware by asserting the RESET pin of the DUT Project 3 PRODUCTION This project programs the Production firmware into the FLASH area of the target device The
54. ill automatically set the Script File directory to the directory where your selected script is located e Once you ve selected your Script File then you just need to save your settings by selecting File Save As and then specifying a file name It s a good idea to put this ISP PRO Settings file in your Script File Directory PPM Setup C test Sigma CalibrationSequence Sigma_Z Wave_500 PMP File View Help fei Open A lH Save Database Options Incremental Repository Global Options Global Strings Zebra Printer Save AS 19 MU Options Ip File Administrator Options Communications Barcode Scanning GH Close er details e You should then see a Confirm screen similar to this one Confirm ES The ISP PRO Configuration Settings have changed o Ys Mo j Canea e You will then be returned to the main ISP PRO screen where you should see that your selected Script File is now displayed ISP Pro C test Sigma CalibrationSequence Sigma_Z Wave_500 PMP a File Configure Actions Security Help a 5 2 p S H Abort Clear Errors Start Auto Project Check Setup Upload Project Repository Programmer Info ADO Explorer Logout Exit Parameter Value Programmer Name ISPnano Series III IV address 0 Script Name Sigma_ZW500_TX_Cal_2 ESF Database ID Script Time Status Programmer is Waiting vr Supervisor Mode Auto Programming Stopped Comms Errors 31
55. ion Update Project Collection a Result PASS Project Name Sigma_5D3502_project_collection PPE Path CA test Sigma CalibrationSequence Options H Upload all projects select project from collection D3502 SPI A Edit chosen Project ba Test chosen Project in EDS Click the OK button to exit this screen The PRODUCTION project should now have been updated with the new firmware file and the Build date should show the new date and time of the file EG Project Manager C test Sigma CalibrationSequence Sigma_SD3502_project_collection PPC lo Details Files Power Supply Fuses Seuri ty State Machine Programming Speed Re tries Memory Map Number Unique Id Version Build Date Target Device Target Programming Interface Dag SD3502 5PI 10 0 0 02 01 2014at 19 03 5D3502 SPI SPI 3 wire RESET_N Z Wave i CALIBRATION 1 0 0 0 02 01 2014ati9 04 5D3502 SPT SPI 3 wire RESET_N Z Wave CT A T a Pe ry 1 a 1 ml DI coL Fie C a LA m l j Ts az F E E i m a m f ma E i PRODUCTION 1 0 0 0 O8 01 2014at23 11 5D3502 SPT SPI 3 wire RESET_N Z Wave 4 Edit Project Wl Test Project in EDS 8 Upload selected project 3 Upload all projects Programmer Type I
56. llows e Select the lt Target Device gt tab e Click the lt Check ID gt button gt The programmer will now try to communicate with the Target Chip via the JTAG Interface gt If the Target Chip responds correctly then EDS will report Signature Check Result Pass Information l Operation Signature Check l Result PASS Signature Read Ox7F7F7F7F1F0401 Target device D3502 Prog Interface LV SPI 53 wire RESET Diagnostic Info gt gt e The Signature Device ID is displayed e g Ox7F7F 7F 7F1F0401 This message means that the programmer has established a connection via the SPI interface to the specified target device and that the device has the correct Signature Device ID as specified in the device library AN145 In System Programming ISP of Sigma Z Wave 500 series SOC devices and modules 32 a m Application Note 4 5 2 Diagnostic Info Every time the programmer enters programming mode it will return detailed diagnostic information about the target device This information includes the Target Voltage oscillator frequency and FLASH timings To view the Diagnostic information e Click the lt Diagnostic Info gt button on any EDS screen e Select the lt Diagnostic Information gt tab gt The diagnostic information is displayed as shown below 4 5 3 Possible failure messages The action of performing a lt Check ID gt can produce any of the following error messages
57. llustration below I O MOD 6 Sigma Base Module AN145 In System Programming ISP of Sigma Z Wave 500 series SOC devices and modules 71 Duino Application Note Appendix 7 Sigma connector definitions 1 0 Sigma ISP Header Selection Equinox 10 way Header a M PROG_VCC PROG SPARE PROG_SPARE PROG MOSI Device support e PROG MISO Sigma Z Wave 500 series devices via the 3 3 PROG_GND PROG_SCK1 SPI interface PROG_GND PROG RESET N AN145 In System Programming ISP of Sigma Z Wave 500 series SOC devices and modules 72
58. n System Programming ISP of Sigma Z Wave 500 series SOC devices and modules 15 EQUINOX Application Note PROGRAMMING UNIT PROG MISO PROG SCK PROG MOSI PROG GND PROG VCC Optional PROG RESET RESET_N 500 Series Z Wave Single Chip SPI1_MISO SPI1_SCK SPI1_MOSI GND AVDD DVDD Fig 2 3 6 Sigma Z wave 500 series device SPI Signal names and directions Signal Connect to direction Z Wave from Pin Programmer Signal direction from Microcontroller Programmer Signal Name Signal description AN145 In System Programming ISP of Sigma Z Wave 500 series SOC devices and modules 16 a Application Note 2 4 Z WAVE UART ISP Schematic The diagram below details the connections required to implement In System Programming of a single Z WAVE 500 series device using an Equinox ISP programmer via the UART interface Fig 2 3 Z WAVE 500 series device UART Programming Interface connections PROG VCC Reset RESET_N AVDD DVDD UARTO_Rx 2 0 599 SERIES Z WAVE SINGLE CHIP UARTO_Tx 2 4 PROG GND AN145 In System Programming ISP of Sigma Z Wave 500 series SOC devices and modules 17 EQUINOX Application Note Optional PROG RESET RESET_N 500 Series Z Wave Single Chip UARTO Tx P2 1 UARTO Rx P2 0 PROGRAMMING UNIT PROG RXD PROG TXD PROG GN
59. n the file if present e The CRC32 FLASH Checksum calculated by EQTools when the file was loaded H Important i The input file must have a Sigma CRC32 FLASH Checksum value stored in the last 4 bytes of the file li The Sigma CRC32 FLASH Checksum value stored in the file must be the same as the CRC32 FLASH Checksum calculated by EQTools when the file was loaded AN145 In System Programming ISP of Sigma Z Wave 500 series SOC devices and modules 38 a Application Note Once you are happy that the selected input file is OK click the OK button to load it into the project 7 The selected Firmware file should now be displayed The CRC32 FLASH Checksum calculated by EQTools when the file was loaded is also displayed See screenshot below Target Power Supply Pre Program State Machine Erase Flash NVR CRC32 Checksum Blank Check Flash Entire Area Operation None Program only Flash File Timings File C CalibrationSequence serialapi_controller_static_7W050x_EU_ orc hex tea Status Loaded OK Type Intel Hex Generic Buffer Discard leading OxFF W Discard trailing OxFF Min Add Ox0000 Max Add x 1FFFF Bytes OxDFBO CRC32 OxFFASSB10 Auto Range Custom Write From Ox0000 To Ox 2FFFF Bytes Oxi1FFFF AN145 In System Programming ISP of Sigma Z Wave 500 series SOC devices and modules 39 Application Note 8 Compile the project The revised PRODUCT
60. nd modules 62 Om Application Note To execute the programming calibration sequence on a Target System DUT 1 Connect a Target System DUT to the relevant programming channel 2 Click the lt Connect gt button on the bottom right of the channel icon to commence the programming operation on the selected channel Connect the Target Board DUT to the programmer Press the Connect button to start the sequence Parameter Programmer Name 1SPnano Series III IV address 0 Script Name Sigma_7W500_TX_Cal_ ESF Database ID Script Time 00 00 Status Waiting to Connect 2 The script will then start to execute SIGMA SD3502 TX CALIBRATION SEQUENCE Now programming Calibration Firmware into DUT Please wait Parameter Programmer Name ISPnano Series III IV address 0 Script Name Sigma_ W500_TX_Cal_ ESF Database ID 13 PROGRAM Script Time 00 02 AutoProgram 1 CALIBRATION Status Applying power to Line Drivers Target System gt The icon will display Auto Program gt The Script Timer will now start timing the execution of the script Important note e You can abort the execution of the script at any time by pressing the Abort button e However this will leave the NVR area blank so the Target IC is now scrap AN145 In System Programming ISP of Sigma Z Wave 500 series SOC devices and modules 63 a Appi ication Note TECHNOLOGIES
61. ndix 4 ISP PRO Quick Start Guide cccccssseseeecceenseeeccenseeesooasseeseoanseeescenseeeeconseessees 54 WO OVC OW oases tired tardy suet staan pea durante Guae vacu sav naa see du eabsunaaunn sas auuanauuasusdiacanensancavuineecesniieratecaauenias 54 2 0 Installing the Sigma scripts and ProjecCts ccccescseseeceseeeeeeeesesenseeeneeeeeseeneeoeseeensesenseonsesoasens 54 EVN TSWV mist ccssstatesh vesese tat acest avacenus earvomeageaem A naauaua tana nentene a neat nae arene laamuaten aemtia tenes 54 2 2 Setting up ISP PRO to run the Programming SCript S ccccecccsseeeceeeeseeeeeseeeeseeeeeseeeeseaees 55 2 3 Start the ISP PRO application and 100 IMesias asna a a a 55 2 4 Seting Up the c rrect COM DOM sissano a a a aa 56 2 5 Detecting the attached programmer S cccsecccseccceeeccececeeecceeecsucecsueeseeecsusecseeseueeseuseneeesees 57 2 6 o6lecing a Schpt FETO TUN E AA AA 58 2 Uploading your Project Collection to the programMmMer S 0 cccceeeeeeeeeeeeeeeeeeeeeeeeeeaeeeeesaaeees 60 2 8 Running the programming SCript S ccccceeccceeeeeceeeceeeeseeeeeeeeesseeeeseecessaeeeseeeesseeesseeeesaaees 62 2 9 Executing the programming Calibration SCEQUENCE c cccceecceeeceeeeeeeceeeeeeeeeeeceeseeeseeeneeenaes 63 210 Programming Sequence FNS Sx a rere tee oes eee eed an pied seal eats eles peda eon 64 2 11 Programming sequence FAIL wt cuwncuiacenicebiienschia Suuicelicenstiblanc
62. of Z Wave firmware It is therefore essential that the NVM device is correctly configured AN145 In System Programming ISP of Sigma Z Wave 500 series SOC devices and modules 49 Duino Appi ication Note 3 1 How to work out the NVM memory device parameter values If you are inheriting a Z Wave design from an R amp D department then it is likely that the External Non volatile memory NVM device parameters have already been defined for your Z Wave target board In this case you should be able to simply transfer the values you are given by your R amp D department directly into the Equinox programming script If you have been given a working golden sample of your target board then it may also be possible to read out the relevant External Non volatile memory NVM device parameters from the Z Wave device on this target board However if you do not know the relevant values for the External Non volatile memory NVM device parameters please make a note of the part number of the memory device fitted on your target board and then contact Sigma technical support quoting the memory device part number They should hopefully be able to tell you what values to use for the configuration 3 2 Configuring the script file to program custom NVM memory device parameter values lf you need to program custom values for the External Non volatile memory NVM device parameters you will need to amend the Sigma programming s
63. on FLASH hex file as follows e Tick the Edit buffer check box on the right hand side of the screen see screenshot above e Click the File open bution on the right hand side of the screen e Browse to and select the FLASH Firmware file which you want to program into the target device 5 Enter the required Tx Power Options for your product as follows e Select the Tx Power Options tab gt the following screen should be displayed Overview Programmer Target Device SPI Settings Target Power Supply Erase Flash NVR Security SRAM Tx Power Settings Tx Power Options Normal Tx Power Low Tx Power gt Transfer from Buffer Channel Ox3F 0x04 Default lt Transfer to Buffer iene OxSF 0x04 Bead Channel 2 Ox3F 0x04 write Re calculate and Write CRC e Enter the correct values for the Tx Power parameters for your product in the relevant fields AN145 In System Programming ISP of Sigma Z Wave 500 series SOC devices and modules 46 a Application Note e The correct values may be custom to your Z Wave module or final product so please check the values with your RF engineer or with Sigma s technical support department 6 Transfer your Tx Power parameter settings to the FLASH Buffer e Click the Transfer to buffer button to transfer your settings to the FLASH Buffer e You should then see the following Information screen Information O
64. ote TECHNOLOGIE 8 The Embedded Solutions Company The project is currently setup with an example firmware file from Sigma as follows Operation None Program only Flash File Timings C CalibratonSequence serialapi_controller_static_7W0O50x_EUorc hex Browse ec Loaded OK Type Intel Hex Generic 6 To change the Firmware file Click the Browse button and then browse to and select the file you want to load This file can be a binary Intel Hex or Motorola S Record format file gt The FLASH File Preview window is now displayed 5 Flash File Preview View entire area Discard leading OxFF V Discard trailing OxFF up to page boundary 0x00000 0z 160002 1003 6C 66 25 E6 22 0z 16 0B 6D C3 0x00010 41622202 181303 47 03 55 FF z 1615 7F l 0x00020 22 D3 22 z 16 23 A2 42 92 30 22 z 16 25 z 36 000030 22 FF FF 02 16 335 A2 44 92 37 22 02 16 3B z 21 0x00040 B3 FF FF z 16 43 02 2A D4 FF FF z 16 4b E4 AL ox s50 70 FF PR O22 Ie 3J3C2 2102 1E 220218 5BU el 0x00060 E4 FF FF z 1663 E4 FF O2 OF 55 z 16 6B ESF loes rrU le Pale Paso IUE OF BADI ee Tr OK Max Addr Ox FFFF Bytes Loaded 57264 OxDFBO CRC OxFFAS3B10 File Format Intel Hex Generic This window displays the following information about the selected input file e A preview of the data in the file in both Hex and ASCII format e The Sigma CRC32 FLASH Checksum value stored i
65. peration Update FLASH Butter with Tx Power parameter settings Result PASS The FLASH Buffer Area has been updated with the Tx Power settings The data has been written to the address range UxUF BB to Ox TFBS The FLASH Buffer CAC3 checksum has also been updated to 0x679056F7 Please check these settings are correct and then save the entire buffer area to a hex file This new hex file should contain your original FLASH firmware Tx Power settings updated CRO32 checksum 7 Check the correct values have been transferred to the FLASH Buffer e Select the FLASH tab again e Goto address 0x7FB2 in the FLASH Buffer Select CTRL G then enter the address Ox7FB2 e You should see the 6 bytes values you entered for the Tx Power parameters now stored at the address range 0x07FB2 0x07FB7 in the FLASH buffer Uz0 FAQ FF FF Per Pe ee ee ee eee Ox0 7FBO FF FR SP SF SF 04 04 OAF F c 00 00 00 00 00 OO Oz07FCO OO 00 UU UU UU UL F FF FF FF FF FF FF FF e The FLASH CRC32 checksum found in the last 4 bytes of the FLASH buffer will also have been automatically updated by EQTools so it is now correct for the new data you have entered 8 Save the updated FLASH Buffer back to your FLASH hex file e Click the Save as button and then save the entire FLASH area to a new hex file e The saved hex file now contains your original FLASH data Tx Power parameters updated FLA
66. plain how to set up the e Test the Target Voltage AN145 In System Programming ISP of Sigma Z Wave 500 series SOC devices and modules 29 Duino Appi ication Note 4 3 SPI speed settings The SPI speed should be set up before any programming operation can take place 4 4 Checking the Target Voltage It is a good idea to check that the target device is powered at the correct voltage before trying to program it A Sigma Z Wave device normally runs at between 3 0 and 3 6V The programmer Target Vcc pin should be connected to the 3 3V rail on the Target System allowing the programmer to measure the Target Voltage even if the programmer is not powering the Target System To check the Target Voltage using the programmer please follow the instructions detailed below e Select the lt Target Power Supply gt tab Overview Programmer Target Device Target Oscillator JTAG Settings Target Power Supply Flash Fuses Target Yoltage Settings Programmer Controlled Power Supply Voltage Programmer controlled Target Power Supply ON 44 B Masimum Current m Powerdown Time mg Tolerance m au 1000 Current settle Time riz Pau Out OK Delay ms Voltage settle Time riz Stabilise Time ms 200 Power Status at end of project Power Supply is switched OFF at end of project w Power up Measure Wl Heset If the programmer
67. rd utility will be automatically started and the following screen will be displayed amp Equinox Upload Wizard al Upload Project s to programmer Select lt Upload gt to upload your selected project s to the attached programmer s ko Le Click Upload and Verify to upload selected project s to seleted programmer s Page Transfer Baud Rate 230400 l Upload and Verify Weverifyonly Next gt jgpCancels AN145 In System Programming ISP of Sigma Z Wave 500 series SOC devices and modules 60 a Application Note e Click the lt Upload and Verify gt button to upload the Project Collection ppc to the attached programmers e Once the upload of the projects is complete the Upload Wizard will display a list of the uploaded projects amp Equinox Upload Wizard Projects in Programmer The following Programming Projects are now resident in the Programmer ISPnano Series INAV address 0 ATA Programmer Preview 4 projects found Mo Name Version Build Date Author 0 S03502 5P 1 0 0 0 02 01 2014 19 03 1 CALIBRATION 1 0 0 0 02 01 2014 19 04 John 2 RUNTARGET 1 0 0 0 02 01 2014 19 05 3 PRODUCTION 1 0 0 0 08 01 2014 23 11 John Fi Del F aa Ge e Click the lt Next gt button on this screen and then the lt Finish gt button on the next screen to complete the project upload process e You will then be taken back to the main
68. rent m Powerdown Time ms TE Tolerance rei 200 a 1000 Ea FOO Current Sette Time me PSU Out OK Delay me Voltage Settle Time me i a E Stabilise Time ms 100 S5 SUL ee TOO He 200 Power Status at end of project Power Supply is left switched OM at end of project ha Target Discharge Circuit Target Discharge Circuit ON 1000 0 2 External Target Voc Switch Enabled Enabled at end of project Set Default i Select the Target Voltage e This should be the voltage at which the Target Device itself is being powered at during the programming operation This is usually 3 0 3 6V e Set the Voltage Tolerance to be as wide as possible e g 500mV to allow for power supply variations If the programmer is powering the Target System this will also give a faster power up time e It may also be possible to power the entire Target System by feeding in a higher voltage e g 5V into the power supply input on the Target System li Set up the Target Powering and current parameters e This option is only available for the PPM3 MK2 PPM4 MK1 and ISPnano programmers e lf the programmer is to power the Target System select lt Programmer controlled Target Power Supply ON gt e Set the Maximum Current to the maximum possible current which the Target System could draw from the programmer e Leave all other settings as default AN145 In System Programming ISP of Sigma Z Wave 500 series SOC devices and modules 23
69. rtant note lt is also possible to upload the Project Collection using SP PRO In ISP PRO select the Programming Script File and then click the Upload Project button AN145 In System Programming ISP of Sigma Z Wave 500 series SOC devices and modules 42 a m Application Note Appendix 2 Setting up the Tx Power parameters 1 0 Overview This section describes how to set up the Tx Power parameters for a Z Wave 500 series module or SOC device The values for the Tx Power parameters must be derived by experimentation during the development and final RD testing stages of the customer product The values are then usually fixed for this product and must be programmed into certain specific locations in the FLASH area of the Z Wave device As these parameter values are fixed values then these values should be placed in the FLASH hex file which is used to program the device in production Important note It is not possible to over program the Tx Power parameters after the main FLASH firmware has been programmed This is because the CRC32 checksum used to validate that the FLASH has been programmed correctly would need to be changed when the Tx Power parameters were programmed AN145 In System Programming ISP of Sigma Z Wave 500 series SOC devices and modules 43 a Application Note TECHNOLOGIE 8 1 2 Where do find the Tx Power settings in Sigma s SDK The Tx Power paramet
70. s AN145 In System Programming ISP of Sigma Z Wave 500 series SOC devices and modules 13 a Application Note 2 0 SPI Programming Interface 2 1 Overview The Z WAVE 500 series devices are programmed using three different physical programming interfaces as detailed in the table below USB Interface Uses the USB port of the Z Wave device to program the on chip FLASH memory This programming mode still requires an external device programmer to set the device into programming mode via the SPI or UART interface before the UART programming interface can be used Uses an SPI Port RESET pin as an In System io Programming ISP interface Uses a 2 pin UART interface as an In System Programming ISP interface 2 2 SPI Programming Interface Features e Fast Programming speeds e Simple 3 wire SPI bus connection RESET_N signal AN145 In System Programming ISP of Sigma Z Wave 500 series SOC devices and modules 14 a Application Note 2 3 Z WAVE single chip In System Programming ISP Schematic The diagram below details the connections required to implement In System Programming of a single Z WAVE 500 series device using an Equinox ISP programmer Fig 2 3 Z WA VE 500 series device SPI Programming Interface connection PROG VCC PROG RESET Reset Circuit RESET N AVDD DVDD PROG _ MOSI PROG SCK PROG MISO 900 SERIES Z WAVE SINGLE CHIP PROG GND AN145 I
71. t gt OxFFFF K Disconnect e ISP PRO will display PASS Disconnect now e The Target Board DUT can now be disconnected from the programmer e Press the Disconnect button to reset the sequence ready for the next Target Board DUT Important note lf the programming fails for any reason the NVR Area will be left blank all OxFF This means that the Target IC Module can never be re programmed again because the Factory NVR calibration data has now been permanently erased AN145 In System Programming ISP of Sigma Z Wave 500 series SOC devices and modules 65 a Application Note TECHNOLOGIE 8 The Embedded Solutions Company Appendix 5 Sigma CRC32 FLASH Checksum 1 0 Overview This Z Wave 500 series devices feature a 32 bit 4 byte checksum which is used by both the programmer and the Sigma device to validate the FLASH contents are not corrupt Information mE r Operation Project Compilation Result PASS Warnings 1 1 The input file does not hawe a valid checksum This means that the firmware will not execute when programmed into a target Sigma device The file CRC is OxFFFFFFFF and calculated CRC is Ox856C696B To correct the checksum in the input FLASH file please load the file into EDS and then resawe it with a valid checksum value Source file PRODUCTION PPM Compiled file PRODUCTION PRJ Path C test Sigma CalibrationSequence Options View Log file Add Project file to
72. t by Equinox e Click lt OK gt gt EQTools should acknowledge that the attached programmer has been upgraded Information x ra Operation Update Programmer Licence information 1 Result Pass Press lt OK gt to view the updated programmer information e Click lt OK gt e f you now check the Programmer Info screen you should find that the entry for Sigma 500 Series devices is now ENABLED AN145 In System Programming ISP of Sigma Z Wave 500 series SOC devices and modules 12 a m Application Note 1 6 Programmer firmware versions for Sigma 500 series support Most Equinox ISP Programmers can be upgraded to support high speed programming of Z WAVE 500 series microcontrollers via the SPI Programming Interface The table below lists all the Equinox ISP programmers which are capable of programming Z WAVE 500 series A chargeable License Upgrade is required to enable the Z WAVE 500 series support on any of these programmers Fig 1 3 Programmer firmware versions for Z WAVE 500 series In System Programming ISP Support Z WAVE 500 series support ISPnano Series IlI Please contact Equinox ISPnano Series IV Please contact Equinox ISPnano MUX 2 4 8 Please contact Equinox Please note e Due to limited firmware storage space and the lack of required hardware on the EPSILON5 MK4 and FS2009 FS2009USB and PPM4 MK1 programmers these programmers cannot support the Z WAVE 500 series device
73. ton below Save your project with a suitable name eg myproject ppm Your project will launch in the Equinox Development Suite EDS You can now interactively program the Target Chip under PC control Please note Your project will be saved in the Windows temporary directory by default Please select an alternative directory to save your projects when you save the EDS project To program FLASH area of the Target Chip select the lt FLASH tab EEPROM area of the Target Chip select the lt EEPROM tab Configuration Fuses of the Target Chip select the Fuses tab Security Fuses of the Target Chip select the lt Security gt tab To upload this project to a programmer Once in EDS mode test all aspects of the Programming Project Select the lt Overview gt tab Click the lt Add Project to a new Proiect Collection gt button Enter a name for the EDS project e g SD3502 and click the lt Test gt button gt Your project will now launch in EDS Development Mode AN145 In System Programming ISP of Sigma Z Wave 500 series SOC devices and modules 27 TECHNOLOGIE 8 a Application Note The Embedded Solutions Company 4 0 Testing a Project in Development EDS Mode 4 1 Introduction to EDS If you have clicked the lt Test gt button at the end of the EDS Wizard then an EDS Development Mode session will now launch W Equinox Development Suite EDS C test Sigma SD3502 3 EDS lo
74. ul yet simple to use Development Suite called EDS e All aspects of programming the Z WAVE device can be controlled from EDS e Program and read back the Sigma device on chip FLASH memory under PC control e All projects can be developed and tested on a real device before uploading a Standalone Programming Project to the programmer e Tested Programming Projects can then be uploaded to the programmer for use in Standalone Mode Production Programming solutions e Programmers can be used in Standalone Mode no PC required e A single Standalone Programming Project can Erase the device and program verify the FLASH area in a single operation e Upto 64 x Z WAVE Standalone Programming Projects can be stored inside the ISPnano programmer AN145 In System Programming ISP of Sigma Z Wave 500 series SOC devices and modules 4 a m Application Note e Programmer can store multiple versions of firmware for different customer product versions e Support for programming unique data per device including serial numbers MAC addresses calibration data barcode data etc e ConsoleEDS powerful console application allows the programmer to be controlled from any custom remote application e ISP PRO powerful production control sequencing utility supports controlling of up to 32 programmers from the same PC e ISPnano MUX programmer family supports sequential programming of up to 8 x indepen
75. ve range of programmers suitable for high speed In System Programming ISP of Sigma 500 series Z WAVE devices This application note describes how to develop and implement In System Programming ISP support for the Z WAVE devices using the SPI Programming Interface The document details how to make a Programming Projec which will operate on any Equinox ISP programmer including a full description of how to implement In System Programming ISP of Z WAVE devices 1 1 Features The Equinox programming range includes solutions for development low mid high volume production and field programming of Sigma 500 series Z WAVE SOC System on Chip devices and Z WAVE modules General features e High speed In System Programming ISP support of Sigma 500 series Z WAVE SOC devices and modules Programming solutions for development low mid high volume production and field programming of Z WAVE devices Programs the on chip FLASH Memory and NVR area of Z WAVE devices Uses a high speed SPI bus port as the ISP interface Very high speed programming due to fast SPI programming interface local user data storage and optimised programming algorithms e Programmers can be used in Standalone Mode no PC required e Supports high speed program verify of the on chip FLASH in a single operation e Fully user configurable pre programming statemachine supports custom target reset circuits In Development Mode e Powerf
76. y SAlO a Ox00060 E4FF FF 02 1963 E4 FF 02 DF 55 02 168 6BESF yy c y k 0x00070 13 22FF 02 18 73C2 D5 E8 30 E7 OF B2 D5 E43 sA080c 708A Ox0O0080 96 FBEE4 5A FA E4 99F9E4 96 F8 EC 30 E7 17 B2 l l l l ailec v File Format Intel Hex Generic AN145 In System Programming ISP of Sigma Z Wave 500 series SOC devices and modules 25 a Application Note e fthe input file is a BINARY file then the wizard will load the data in from file starting at address 0x0000 and continuing contiguously to the end of the file e If the input file is an INTEL HEX or Motorola S Record file then the wizard will load in from file from the start address specified in the file to end address specified in the file AN145 In System Programming ISP of Sigma Z Wave 500 series SOC devices and modules 26 Application Note The Embedded Solutions Company 3 8 Launching EDS at the end of the EDS Wizard Once you reach the end of the EDS Wizard click the lt Test gt button to launch the project in the Equinox Development Suite EDS Equinox Development Suite EDS Wizard Untitled FO Congratulations You have now created a Development EDS project This can be fully tested under PC control with the EDS Development Environment The Project can then be uploaded to a programmer and executed in Standalone Mode To test this project in Development Mode Click the Test but

Download Pdf Manuals

image

Related Search

Related Contents

POD 産業用UVインクジェットプリントシステム  入札説明書(PDF形式:252KB)  ML8011 GSM GPRS Modem User Manual  Green Delicious User Guide  DeLOCK WLAN SMA Antenna Cable  English - Magura  2015-No.1 - 松田宏コンサルティング事務所 TOP    

Copyright © All rights reserved.
Failed to retrieve file