Home

Flash Programmer User Manual

image

Contents

1. Chipcon Products Hash Programmer from Texas Instruments Flash Programmer User Manual Rev 1 1 TEXAS INSTRUMENTS SWRU069 Page 1 of 12 E Chipcon Products Hash Programmer from Texas Instruments Table of contents 1 INTRODUCTION annens 3 2 ABOUT THIS MANUAL RR NE 3 3 DEENEN a E E E 3 4 PROGRAMMING USING THE GUI VERSION cccccscscccccccccccccccccccscccscccccccccccees 4 4 1 NNN 5 4 1 1 EEE SEERE EE E E E 5 4 1 2 NNN 5 4 1 3 FUT OI E 6 4 1 4 TEEE address general change field sss cece pieces cs pie ees nactartdiG ca senesced eee ee 6 4 2 USB MCU FIRMWARE UPDATE ccccccsecccsscccescccesscccecsesecscesesseesseecssesceseesseesseeeceseucsseseseuuesenes 8 4 2 1 Updating SmartRF04EB USB MCU NE Gere rede 8 4 2 2 Updating CC2430DB USB MCU Nede de 8 5 COMMAND LINE INTERFACE 2 cccsccccccsccccccccccccccccccccccccccccccccccccccccsccccccccccscccccccess 9 5 1 ON ENN aeisneaansebeareacesucas 9 52 PLUG IN TO IAR W ORK BENCH os viiiueustaaduauiiaenaussbentanaiuwccuneubaddanudacainsushied vastanusacavbendueudsaaduwuebeddvaciuceds 9 5 2 1 DEUD ES E E E EE ENGEN 9 5 2 2 NNN 10 6 DOCUMENT HISTORY 2uasgeenesenNesee Nese 12 i wip TEXAS INSTRUMENTS SWRUO069 Page 2 of 12 Chipcon Products Hash Programmer from Texas Instruments 1 Introduction This is the user manual for the Chipcon Flash Programmer The Flash Programmer is used to program the flash memory in Chipcon s system on chip M
2. ET Anpend and verify ET verify against her file Read flash into herxfile Perform actions EB firmware update OF Figure 5 USB MCU update Figure 5 show the EB application USB tab It provides the possibility to update the USB MCU firmware using only a USB cable no additional programmer is necessary When a SmartRFO4EB or CC2430DB is connected it will appear in the device list In the rightmost column the revision number of the current firmware can be read Note that the update procedure is different for SmartRFO4EB and CC2430DB However the hex file used fw400 hex is identical for the two products 4 2 1 Updating SmartRFO4EB USB MCU firmware 1 Remove any CCxxxxEM module and all external equipment connected to the SmartRFO4EB 2 Connect the USB cable to the SmartRFO4EB and turn it on it should appear in the Device list with Chip type N A Browse to the correct flash image fw400 hex Choose the Erase program and verify Push Perform actions The status indicator at the bottom will show the progress and when completed the text EB firmware update OK will appear 4 2 2 Updating CC2430DB USB MCU firmware 1 Connect pin 4 and 20 on P6 I O A together 2 Connect pin 9 and 10 on P4 USB deb together 3 Connect the USB cable to the SmartRFO4EB and turn it on it should appear in the Device list with Chip type EB type and EB firmware ID set to N A Browse to the
3. correct flash image fw400 hex Choose the Erase program and verify Push Perform actions The status indicator at the bottom will show the progress and when completed the text EB firmware update OK will appear NE oro sag TEXAS INSTRUMENTS SWRU069 Page 8 of 12 E Chipcon Products Hash Programmer from Texas Instruments 5 Command Line Interface 5 1 Options To get all available options in the command line interface run the SmartRF04ProgConsole exe in a command window or in the IAR workbench without any parameters arguments list of all available options will then be printed out These options are the same as the ones available in the GUI version of the Flash programmer please refer to chapter 4 for a description of these 5 2 Plug in to IAR Workbench The command line interface can be integrated in the IAR Workbench To setup IAR with this feature follow the instructions below 5 2 1 Setup Start IAR Workbench and choose Configure Tools from the Tools menu Figure 6 JAR Embedded Workbench IDE File Edit View Project Tools Window Help n Options Workspace Configure Tools Filename Extensions nan cialis FlashProgram Figure 6 Tools Menu Press New and add the information present in Table 2 see Figure 7 Field Value Menu FlashProgram Text Command C Program Files Chipcon FlashProg SmartRF04ProgConsole exe S EPV F TA
4. CU s It is also used for upgrading the firmware in the USB MCU found on the SmartRFO4EB and CC2430DB When connecting a CC2430 the Flash Programmer also support reading writing the IEEE address 2 About this manual This manual covers the use of the Flash programmer both the GUI version and the command line interface The intended use of the Flash Programmer is to provide a quick and easy way to download hex files into Chipcon s system on chip products As well as the possibility to update the USB MCU firmware through the USB cable The manual describes the most common functions and options available How to access the flash programmer from IAR workbench is also described Only programming through the USB cable is described The Flash Programmer also has functionality to program the USB MCU found on SmartRFO4EB and CC2430DB through the Silicon Laboratories serial adapter EC2 however this is not covered in this manual 3 Definitions SmartRF 04DK A collective term used for all development kits for the SmartRF 04 platform i e CC2510DK and CC2430ZDK Pro USB MCU The Silicon Labs C8051F320 MCU used to provide a USB interface on the SmartRF 04EB and CC2430DB Factory firmware The firmware that is supplied programmed into the USB MCU from the factory This firmware supports SmartRF Studio operation as well as a stand alone PER tester GUI Graphical User Interface sag TEXAS INSTRUMENTS SWRU069 Page 3 of 12 E Chipcon Produc
5. RGET_PATH K 0 Table 2 Flash Programmer Setup 1 Insert the complete path to the Command Line Flash Programmer sag TEXAS INSTRUMENTS SWRU069 Page 9 of 12 E Chipcon Products Hash Programmer from Texas Instruments Configure Tools Menu Content Cancel Mew Hemove Menu Text FlashProgram Command C Program Files ChipconiFlashProgismar Browse Argument fso EPY F TARGET PATH ED Initial Directory i Redirect to Output Window if Prompt for Command Line Tool Available When not debugging Figure 7 Configure Tools 5 2 2 Use After setup a new target is placed on the Tools menu 2 IAR Embedded Workbench IDE File Edit View Project Tools Window Help la eo Options v Configure Tools workspace Filename Extensions Solent Fenster Files FlashProgram Figure 8 Using Flash Programmer from IAR Workbench Setup your project to generate hex file as primary output Figure 10 compile and link and choose Flash Program from the Tools menu command line window will be displayed Figure 9 After the S option an empty parenthesize is present If this parenthesize is empty the first available development card is used If more than one development card is connected fill in the ID number for the card you want to use in the empty parenthesize The K 0 option will retain the IEEE address while programming sag TEXAS INST
6. RUMENTS SWRU069 Page 10 of 12 Chipcon Products Hash Programmer from Texas Instruments Use K 0 on CC2430 F 128 K 1 on CC2430 F 64 and K 2 on CC2430 F 32 If the K option is removed the IEEE address is not retained The EPV option is for Erase program and verify Ci x Command line for FlashProgram 50 ERY F fTARGET PATHS EO cence Figure 9 Command Line Window Press OK and the hex file will be downloaded Options for node bank i x Category Factory Settings General Options C C Compiler Output Extra Output tidefine Diagnostics List Config Proce 4 Assembler Custom Build Build Actions Output file M Override default Secondary output file flename hex Mone for the selected format Format Debug information for C SPY i With runtime control modules f with VO emulation modules I Buffered terminal output Debugger Third Party Driver Chipcon AUOM Monitor Analog Devices Slabs Simulator Allow C 5Fr specific extra output file fr Other j Output format Jintel extended v Format variant None v Module local symbols Include all Figure 10 Generate HEX file as primary output Note If the output format is hex file the debugger can not be used To produce a hex file for banked code please see the manual named Chipcon IAR User Manual available from www chipcon com kiz TEXAS INSTRUMENTS SWRUO069 P
7. age 11 of 12 E Chipcon Products Hash Programmer from Texas Instruments 6 Document history Revision Date Description Changes 2006 02 16 Changed layout 2005 12 21 Initial release vag TEXAS INSTRUMENTS SWRUO069 Page 12 of 12
8. and verify action This is however not possible if the debug command lock is set on the chip before the programming starts Change Field on non ZigBee devices The intention of this field is to provide an easy and quick way to give a unique address to the chip when programming it It gives the user the possibility to change any number of bytes at any location in the program read from the hex file before it is written to the chip When Change is checked input the start address e g the first byte that should be changed into the first field Then the new values are written into the rightmost field hexadecimal with a space between each byte When Erase and program or Erase program and verify action is performed the bytes at the given address from the hex file are replaced with those written by the user before the chip is programmed The hex file itself is not changed vag TEXAS INSTRUMENTS SWRU069 Page 7 of 12 E Chipcon Products Hash Programmer from Texas Instruments 4 2 USB MCU firmware update Chipcon SmartRF D4 Flash Programmer ioj x chipcon Sustem on Chip EB application USB EB application seriall EB bootloader Device lis EBID Chiptype EB type EB firmware ID EB firmyare rev OOFS Ata SmarRFO4dER 0400 0028 Firmware revision number Flash image budet Ea a a E E AE E Bi Change OD ptes at 0 ta Actions Erase and program fe Erase program and verify
9. e Perform actions button The progress bar and output window at the bottom will output the progress and result of the action The five actions are Erase and program Will erase the flash memory of the selected SoC and then program it with the hex file selected in the Flash image field Erase program and verify Same as Erase and program but after the programming the content of the flash will be read back and compared with the hex file This will detect errors during programming or errors caused by damaged flash It is therefore recommended to always verify after programming sag TEXAS INSTRUMENTS SWRU069 Page 5 of 12 E Chipcon Products Hash Programmer from Texas Instruments Append and verify This action will write the contents of the hex file given in the Flash image field to the selected SoC without erasing the Flash first Note that all the Flash written to must read OxFF be erased before programming starts Feature is useful when a program is divided into more that one hex file This action uses debug commands to read from the Flash which means that if the debug commands are blocked on the chip it is impossible to perform this action Verify against hex file This action will compare the contents of the Flash with a hex file given in the Flash image field Note that the function only verifies that the contents of the hex file is present in the Flash it does not check if there is anything addit
10. e use of this tab is described in chapter 4 2 sag TEXAS INSTRUMENTS SWRU069 Page 4 of 12 E Chipcon Products Hash Programmer from Texas Instruments 4 1 System on Chip Chipcon SmartRFeD4 Flash Programmer i ioj xj C Chincon Device list Chapter 4 1 1 oysterm on Lhip HERB application USB EB application serial EB boothad EB ID Chip type EB type EB firmware ID 0990 CC2430 CC2430D6B 0400 2028 Device let Interface IEEE address only CC2430 Chapter 4 1 4 effective after program appernd Erase and program f Erase program and verify Append and verify Write protect boot block ET Yerify against hex file Block debug commands fincl read access C Read flash into hex file ME Cannot Append and verify wher setl Perform actions Flash lock Chapter 4 1 3 EB firmware update OK Actions Chapter 4 1 2 Figure 2 System on Chip window 4 1 1 Device list The device list is a list over all currently connected System on Chip devices Note that when the System on Chip tab is selected a SmartRFO4EB s without a System on Chip EM connected will not be displayed If more than one chip is connected the one selected marked blue in this window is the one that will be programmed 4 1 2 Actions There are five different actions that can be performed on the Chipcon SoC s To perform an action select one and then press th
11. ional written in the Flash This action uses debug commands to read from the Flash which means that if the debug commands are blocked on the chip it is impossible to perform this action Read into hex file This action will read the entire content of the Flash and then write it to the hex file given in the Flash image field Note that the hex file given in the Flash image field will be overwritten This action uses debug commands to read from the Flash which means that if the debug commands are blocked on the chip it is impossible to perform this action 4 1 3 Flash lock When programming a chip it is possible to apply the different Flash lock and debug command lock that is supported by the chip These fields will change depending on the chip type selected in the Device list Please refer to the datasheet for the different chip types for a description of these locks Note that if the debug command lock is set it is impossible to use most of the debug commands on the chip E g the Flash may no longer be read out 4 1 4 IEEE address general change field Depending of the chip connected these fields will change Read IEEE Write IEEE F128 adr 0x1 FFF 3 IEEE Og 0012 46 000001 00 01 W Retain IEEE address when reprogramming the chip Figure 3 IEEE address for Zigbee SoC W Change 3 bytes at Ox 0FOD to 12 F4 3D Figure 4 Change field for non Zigbee SoC If a ZigBee SoC is connected e g CC2430 the window wil
12. l look like Figure 3 If anon ZigBee SoC is connected e g CC2510 the window will look like Figure 4 IEEE address on ZigBee devices On a CC2430 the IEEE address is stored in the last 8 bytes of the flash E g the placement is different depending on the size of the Flash See Table 1 below sag TEXAS INSTRUMENTS SWRU069 Page 6 of 12 E Chipcon Products Hash Programmer from Texas Instruments Chip type IEEE address IEEE address start end CC2430 F 128 Ox1FFF8 Ox1FFFF CC2430 F 64 OxFFF8 OxFFFF CC2430 F 32 Ox7FF8 Ox7FFF Table 1 Placement of IEEE address To read the IEEE address from a chip select the appropriate Chip type e g F 128 and push the Read IEEE button To write the IEEE address to a chip manually write the address into the IEEE field hexadecimal with a space between each byte and then push the Write IEEE address button Note that the address can only be written if the address area is erased e g all eight bytes in the flash that are to be written to are either OxFF or already has the correct value If not a flash erase must first be done e g via the Erase program and verify action Writing the IEEE address will also fail if the flash is write protected or the debug command lock is set If the Retain IEEE address when reprogramming the chip is checked the IEEE address is preserved when a new program is written to the chip with the Erase and program or Erase program
13. ts Hash Programmer from Texas Instruments 4 Programming using the GUI version RF DH Flash Programmer System on Chip tab Used to program Chipcon s SoC R ID Chiptype EB type EB firmware ID EB firmware rev Cha pte r4 1 0990 CC2430 C243 i DB 00 j 029 EB application USB Used to update the USB MCU firmware Chapter 4 2 N Flash imag chipcon lle4s0 igbee DE Pro AFU4ADB he EI Head IEEE Write IEEE Fa 20 adr Ox1FFF8 IEEE On oo 12 48 000007 0001 W Retain IEEE address when reprogramming the chip td Program USB MCU using Silicon Laboratories serial Actions Flash lock effective after program append adapter EC2 x Erase and program Write protect No upper pages v Erase program and verity Not oo in this Pip eee nance Write protect boot block manua Verify against hex file Block debug commands incl read access Read flash into hex file NB Cannot Append and verify when get Perform actions IEEE address successfully read Figure 1 GUI interface Figure 1 show the GUI interface of the Flash Programmer There is four different tab s to choose from System on Chip is used to program Chipcons SOC s e g CC2430 CC2510 The use of this tab is described in chapter 4 1 EB application USB is used when updating the USB MCU found on SmartRFO4EB and CC2430DB Th

Download Pdf Manuals

image

Related Search

Related Contents

1軸ステージコントローラ 1軸ステー - OptoSigma Global Top  Difrnce MP2020  Case Logic 3.5" GPS Case  はじめに - 富士通  1 Mise en situation - Hachette Livre International  Welcome to 3Shape`s Dental System™ 2010 release!  MANUEL D`UTLISATION DU ROBOT PEOPLEBOT  Elite EIM-506 Use and Care Manual  ALBERT ALBERT  Panduit WG18BL10 mounting kit  

Copyright © All rights reserved.
Failed to retrieve file