Home
FET-Pro430 User's Manual
Contents
1. Check Sum is calculated as modulo 16 bits sum of all 2 byte words unsigned from Start to the End Addresses as follows CS CS_initial_value for addr StartAddress addr lt EndAddress addr addr 2 CS CS unsigned int data addr unsigned int data addr 1 CS OxFFFF amp CS if cs_inverted CS OxFFFF CS Arithmetic Sum 16b 32b Check Sum is calculated as modulo 32 bits sum of all 2 byte words unsigned from Start to the End Addresses as follows CS CS_initial_value for addr StartAddress addr lt EndAddress addr addr 2 CS CS unsigned long data addr unsigned long dataladdr 1 FET Pro430 MSP430 Flash Programmer PM014A01 Rev 9 62 CS OxFFFFFFFF amp CS if cs_inverted CS OxFFFFFFFF CS CRCI6 Poly 0x11201 8b 16b Named as CRCCCITT and CRCI6 defined polynomial 8b 16b Check Sum is calculated as CRC16 from each bytes from Start to the End Addresses as follows CS CS_initial_value for addr StartAddress addr lt EndAddress addr CS CS_CRC16_8to16 long dataladdr CS CS OxFFFF CS if cs_inverted CS OxFFFF CS where unsigned long CS_CRC16_8to16 long data unsigned long crc unsigned long tmp tmp OxFF amp crc gt gt 8 data ere cre lt lt 8 cre_tab32 tmp return OxFFFF amp crc The CRC table is generated first as follows CS_init_crcl6_tab 0x1021 fo
2. 1 Plug in the MSP FET430UIF to the PC USB Port using provided cable extender USB A to USB B The New hardware has been found should be displayed Instruct the Wizard to install the hardware driver from a specific location AYN Point the Hardware Wizard to the according folder where the corresponding driver information files are located on your hard disc Drivers in the previously installed software are located on a default installation in directory C Program Files Elprotronic FET Pro430 Flash Programmer USB Driver WinXp 5 Driver installation process will start Note that Windows XP shows a warning that the driver is not certified by Microsoft Ignore this warning and click Continue Anyway Note that the driver installation wizard starts twice as two drivers are installed Reboot computer at the end 3 3 Hardware Installation Follow instruction attached to your hardware tool FET from TI 3 4 Starting up FET Pro430 Flash Programmer To start the FET Pro430 Flash Programmer click on the FET Pro430 Elprotronic icon Elprotronic Figure 3 3 1 Once started the software will attempt to access the programming adapter If no error messages appear then the software has initialized without a problem and you may begin using it However if the programming adapter is not detected an error message will appear To correct the problem make sure that the connection cable is properly attached and the driver Parallel Port o
3. 2 bytes FET Pro430 MSP430 Flash Programmer PMO14A01 Rev 9 47 8 2 2 3 ASCII format When Ascii format is selected then all SN display formats described above can be stored as a four or eight separate bytes converted to Ascii characters All consecutive serial number characters are converted to Ascii characters Display Format YYYY 1234 size in FLASH 8 bytes SN 20030123 will be saved as YYYY 2003 gt 0x32 0x30 0x30 0x33 bytes or ae We SOE gt SS 1234 0123 gt 0x30 0x31 0x32 0x33 bytes or MON J 9 3 When flash memory bytes are viewed then this number can be seen as lt Hex format gt lt Ascii format gt 32 30 30 333031 32 33 20030123 Size 8 bytes Display Format YYMM 1234 size in FLASH 8 bytes SN 03030123 will be saved as YYMM 0303 gt 0x30 0x33 0x30 0x33 bytes or OS OE 33 1234 0123 gt 0x30 0x31 0x32 0x33 bytes or MON 3 1 2A 6 3 In flash memory this number can be seen as lt Hex format gt lt Ascii format gt 30 33 30 33 3031 32 33 03030123 Size 8 bytes Display Format YYMMDD 1234 size in FLASH 10 bytes SN 0405110123 will be saved as YYMMDD 040511 gt 0x30 0x34 0x30 0x35 0x31 0x31 bytes or oO 4 QO Ss T T 1234 0123 gt 0x30 0x31 0x32 0x33 bytes or MON 2 3 In flash memory this number can be seen as FET Pro430 MSP430 Flash Programmer PMO14A01 Rev 9 48 lt Hex fo
4. MSP430 Flash Programmer PMO14A01 Rev 9 60 Checksum type CRC32 Poly 004011067 Initial value OF FFEFFFFF r 000000000 125 Result OxFFFFFFFF C5 Start Address Figure 9 5 CS result can be used As Is or can be inverted Figure 9 6 Checksum type CRC32 Poly 0x04C11DB7 Initial value OxFFFFFFFF CS Result Inverted Figure 9 6 Data size byte or 16 bits word used for calculation and CS result size is displayed in the dialog screen as Data IN word size and CS Result size Figure 9 2 Polynomial contents if required can be specified in the POLY edit line in HEX format eg 0x1234 9 1 Check Sum types Following Check Sum types are implemented Figure 9 4 Arithmetic Sum 8b 16b Check Sum is calculated as modulo 16 bits sum of all bytes unsigned from Start to the End Addresses as follows CS CS_initial value for addr StartAddress addr lt EndAddress addr FET Pro430 MSP430 Flash Programmer PMO14A01 Rev 9 61 CS CS unsigned int dataladdr CS OxFFFF amp CS if cs_inverted CS OxFFFF CS Arithmetic Sum 8b 32b Check Sum is calculated as modulo 32 bits sum of all bytes unsigned from Start to the End Addresses as follows CS CS_initial_value for addr StartAddress addr lt EndAddress addr CS CS unsigned long dataladdr CS OxFFFFFFFF amp CS if cs_inverted CS OxFFFFFFFF CS Arithmetic Sum 16b 16b
5. out Figure 4 2 1 The Open Code File button or the Open Code File from the FILE pull down menu prompts for opening the object file that contains the code data as shown in Figure 4 2 1 When the file is selected the contents of the object file are downloaded into the PC memory If the selected microcontroller does not have enough memory to fit the data contained in the code file the warning message in Figure 4 2 2 will be displayed When code file is open and read successfully the code file name and full path will be displayed on the right side of the Open Code File button see Fig 4 1 Programming dialogue box screen Check sum calculated from the code file will be displayed in the Check sum Source window Contents of the selected file can be viewed by the selecting of Code File Data from the FET Pro430 MSP430 Flash Programmer PMO14A01 Rev 9 13 CIT x Code size exceeds FLASH memory available on the microcontroller Check the code file or change the microcontroller Excess data will be ignored Figure 4 2 2 View menu see chapter 5 The Combine Code Files option allows up to 40 code files to be loaded into the PC memory When this option is selected the programmer will create a new data block which will contain the combined data of the user selected files In order to add a code file to the newly created data block the user needs to press the ADD Code File button The programmer will then prompt th
6. 9 50 8 2 3 Model Group Revision Custom text saved in target device s flash memory is a string up to 32 characters long in Ascii format It can contain any text but this feature is intentionally created to allow the hardware model revision and group to be saved Typically the object code does not contains this kind of information but it may be useful in some applications This feature is enabled when the check box ENABLE in the Model Group Revision field is marked see figure 8 2 1 When enabled the size of desired text must be specified in the field Text size in bytes Size value can be any even number between 2 and 32 The location of the text in the flash memory can be specified in the field Start Address in Memory Similarly to the location of the serial number the specified address must be even and must be specified in the empty memory space unused by program code or data block Otherwise the error message shown in figure 8 2 1 1 will be displayed The text to be saved in the flash memory can be entered in the Model Group Revision text edit line If Device Serialization Adapter Rev 200300021 READ SM Nest Model Group Revisior Adapter Rew 2 Next SN 200300022 Format yyy 2345 Figure 8 2 the size of entered text exceeds the size specified in the Text size in bytes field then all character that do not fit in the allocate space will be truncated 8 2 4 Device Ser
7. MAR 13 2007 17 39 gt 0139 FO 20070009 MAR 13 2007 17 40 Figure 8 3 1 Serialization Report Dialog screen FET Pro430 MSP430 Flash Programmer PMO14A01 Rev 9 53 8 4 SN data file The FlashPro430 software allows to download the serial number from custom defined data file When the data file is used then in the serialization dialogue screen the Serial Number Format gt From File should be selected The SN data file can contains list of serial numbers Format of the serial numbers can be specified in the serialization dialogue screen Figure 8 2 as Ascii or HEX The SN data file can be created in any DOS editor like Notepad exe In this file any data specified after semicolon will be ignored and can be used as a comment only Data file should contains header and serial number list Following list of commands started from can be specified in the header SN_LIST Data file contains Serial number list SN_SIZE number optional Overwrite size of the custom defined serial number size see Figure 8 2 If the SN_SIZE is not specified then the data specified in the serialization dialogue screen is used SN_PREFIX string optional SN_SUFFIX string optional Serial number can contains up to 16 characters If part of characters are the same in specified serial number list then the repetable part can be specified in the SN_PREFIX or SN_SUFFIX and only modified part of serial numbers can be listed Serial number
8. SN in any devices type When unique SN per target device type is created then serial number file name and path should be used for each device type separately If a unique SN for any devices type is created then only one serial number file name should be used 8 2 2 Serial number formats Programming software has seven methods for creating the serial number referred to as Display format and four methods of storing the SN in the memory referred to as In Memory Format in the serialization dialogue screen When a serial number is created current date if required is taken from the PC timer Make a sure that your computer has correct date and time Display Format 1 YYYY 1234 5 SN Format F0 Serial number has 8 or 9 characters First four characters contain current year and remaining 4 or 5 characters contain the serial number eg SN 20030123 or 200300123 has a number 0123 or 00123 created in the 2003 year 2 YYMM 1234 5 SN Format F1 Serial number has 8 or 9 characters First two FET Pro430 MSP430 Flash Programmer PMO14A01 Rev 9 41 characters contain last two digits of current year next two characters contains current month and remaining 4 or 5 characters contain a number eg SN 03030123 3 YYMMDD 1234 SN Format F5 Serial number has 10 First six characters contain date year month day of month and remaining 4 characters contain a number eg 0405120123 4 YYDDD 1234 5 SN Format F4 Serial n
9. Target Device action To identify a connection click a port in Switch Vec OFF the list to see the Mode LED on the C Reset and start the application program attached UIF light up MUsed Adapter TI s FET USB FET or hardware compatible uses TI s M5P430 dll library C Other 1 gt gt C Other 2 gt gt Browse full path and name of the MSP430 dll file supplied with the adapter you have Figure 7 1 Communication with the target devices can be selected in the Target s Connection dialogue screen Figure 7 1 Most of the microcontrollers MSP430Fxx have only standard JTAG communication interface In this case the Standard JTAG selection should be used The latest MSP430F2xx microcontrollers with small packages have the Spy Bi Wire 2 wires only interface or 4 wires JTAG combined with Spy Bi wire Interface In this case the 2 4 wire JTAG or Spy Bi Wire can be selected Before selecting non standard JTAG communication interface make sure that your FET is FET Pro430 MSP430 Flash Programmer PMO14A01 Rev 9 34 supporting selected communication interface The non standard communication interface is by the Texas Instruments USB FET MSP FET430UIF with the latest firmware released in Oct 2005 and later Ask TI for firmware upgrade if the USB FET you have has an older firmware 7 2 Reset Options The Target s Reset Options screen figure 7 1 enables the user to select the following Reset
10. address in the flash should be even Make sure that the CS result is saved out of the CS block space Otherwise the CS result will modify the contents of the CS inside the specified block CS result after the second calculation would not be the same and CS result would be useless When the CS Result Save option is not selected then the CS of the selected block is FET Pro430 MSP430 Flash Programmer PMO14A01 Rev 9 59 calculated and CS result displayed in the report window only Figure 9 3 This option can be used for CS code verification defined as the code form Start to End Addresses with OxFF data in the not specified code location Report Code size Os3C080 249216 bytes C51 0237752600 C57 0x31 752800 JTAG communication initialization OF Yening Security Fuse oo OF Reading Target Label done Era ing MEMO ccoo done JTAG communication mitialzation OF All memory Blank checking OF 5 Figure 9 3 Type of the CS can be selected from the following list Figure 9 4 Check Sum Processing Setup a e x Checksum type Initial value Arithmetic sum 8b 16b Arithmetic sum sb 32b Arithmetic sum 16b 16b Arithmetic sum 16b 32b CRC16 Poly 0x11021 8b 16b pa E b CS Result I Overwrite cd Figure 9 4 Initial value for CS calculation can be selected as zero all OxFFs or as the Start Address from pull down menu Figure 9 5 FET Pro430
11. as the CS taken from the source Only words defined in the source are taken from the flash memory for calculation FET Pro430 MSP430 Flash Programmer PMO14A01 Rev 9 58 Second group of the CS is custom defined Check Sum that can be used by firmware for code verification in the flash Up to four CS block can be specified and CS results can be saved in the flash for verification Size of each CS block and CS result location in flash are defined by the user The Check Sum Options dialog figure 9 2 is selected from following pull down menu Setup gt Check Sum Options Check Sum Processing Setup x Checksum type CRC32 Poly 0x04C11DB7 8b 32b y Initial value OxFFFFFFFF POLY Ox00DO CS Result Inverted y Data IN word size 8 bits CS result size 32 bits I Overwrite code contents if present where the CS result is saved C5 Addresses definition CS Result in Flash Enable Start Address Stop Address Save Enable CS Address M cs 1 oxscoo OxFFFF IV CS 1 ox1800 Y cs 2 ox10000 0x45BFF M cs 2 0x1804 TT cs 3 0x1000 0x1000 F cs l c5 4 0x1000 0x1000 M cs 4 0x1000 Note The checksum calculation can only be used for code data Extra data like serialization should be specified outside of the CS banks OxFF bytes are used instead of unspecified data for CS calculation Cancel OK Figure 9 2 Start Address should be even and the Stop Address should be odd CS result
12. box blow fuse box device action buttons report status window open file buttons processor information box serial number box power DC status and check sum result boxes FET Pro430 MSP430 Flash Programmer PM014A01 Rev 9 11 Al device action buttons power ON OFF button and the check sum result box have their own status indicators Each indicator can assume any of the following conditions blank idle status green access enabled device action has been finished successfully device action has been finished but result failed KKOO yellow Test in progress For power on off DC voltage is correct red sign access denied For power on off DC voltage is too low below 2 6V A applies to blank check only Memory is not clean but the specified memory segment is 4 1 Microcontroller Type The microcontroller type can be selected from the pull down field of the processor type group The pull down field contains a list of all microcontrollers in MSP430Fxx family currently available One thing to note the microcontroller type can be selected automatically 1f the option Any is selected When communication between microcontroller and programming adapter is initialized the software will detect the target microcontroller s automatically The type of detected microcontroller is displayed in the field Target This allows the software to warn you if the connected microcontroller does n
13. data password If the new code file is used and the same location is used in the code file and data specified in the BSL Password dialogue screen then the data specified in the BSL Password dialogue will be ignored The Create Password File button allows to create BSL passwor file then can be used in the future to unlock an access to programmed MSP430 devices The newest MSP430 microcontrollers with the BSL version 2 0 and higher have enhanced security features These features are controlled by the Flash data word located below the interrupt vector e g OxFFDE for the MSP430 and OxFFBE for the extended MSP430X If this word contains 0x0000 The flash memory will not be erased if an incorrect BSL password has been received by the target It is the same features like in all MSP430 with an older BSL version OxAASS The BSL is disabled This means that the BSL communication can not be established All other values If an incorrect password is transmitted then the whole flash memory will be erased automatically to protect unauthorized access to the MSP430 device Desired option can be selected in the BSL Enhanced Security group of the BSL Password and Access dialogue Option can be used only when the BSL version is 2 0 or higher FET Pro430 MSP430 Flash Programmer PMO14A01 Rev 9 67 11 Load Save Setup Programming software can save configuration settings in the configuration files or save the whole project configuration with used
14. memory is blank and will only proceed to program the device if verification is successful Addresses in the Code File should contain only EVEN addresses Number of bytes in all data blocks must be even The software uses word two bytes operation for writing and reading data In case that the code file contains an odd number of bytes to write the data segment will be appended by a single byte containing the value OxFF This value will not overwrite the current memory contents but verification process will return an error if the target device does not contain the value OxFF at that location All Memory This is the most frequently used option during flash memory programming process All memory is erased before programming All contents from the code file are downloaded to the target microcontroller s flash memory Main memory only This option allows to erase and program the main memory only Flash information memory segments A and B will not be modified Contents of the information memory from the code FET Pro430 MSP430 Flash Programmer PMO14A01 Rev 9 29 file will be ignored 1f code file contains such data 4 Used by code file This option allows main memory segments or and information memory segments used by data specified in code file to be erased Flash memory segments which do not contain any data to be written to the memory from the code file will not be erased This option is useful if some data like calibration data
15. method PUC Reset The device is reset using PUC i e a soft reset RST Reset The device is reset using RST NMI pin i e a hard reset Vcc Reset The device is reset by cycling power to the device Reset Option selector allows to use one of described above reset method PUC only RST only Vcc only or Any If Any option is selected then at the first the PUC reset is executed If failed then RST medhod is used If still failed then cycling Vcc reset option is executed 7 3 Final Target Device action Every device action like AUTO Program Read etc starts with the activation of the RESET line active low When the device programming action begins the RESET line is raised high When device action is finished then RESET line is again asserted protecting the target device from running the application program This method is commonly used to protect the programming adapter from the DC overload However when target device is supplied from its own power supply or a battery the overload protection of the programming adapter is no longer necessary The target device can be set to run an application immediately after the target device programmed In order to do this check the Reset and start the application program option in the Reset Options window shown in Figure 7 1 7 4 Connection Connection selector allows to select desired communication port with programming adapter FET Communication port is selected
16. not possible to read the contents of the used code downloaded to target device When the project is opened then the same decryption key must be used as it was used in the encryption process otherwise decryption will not succeed Encryption key depends from the used type of software FlashPro430 GangPro430 etc used password or destination s PC hardware fingerprint number So the project file created with the FET Pro430 software cannot be used with the FlashPro430 or GangPro430 and vice verse Each project file should be create in the same type of software Project file is CRC protected and CRC check is performed when the file is loaded Project can be unprotected or protected with the destination PC hardware fingerprint number or password protected This allows to create the project that can be used only on the specific PC when the project is encrypted with the destination PC hardware fingerprint number useful in FET Pro430 MSP430 Flash Programmer PMO14A01 Rev 9 68 production or create the project that can be used only when the correct password is entered every time when the project is open Project can be unlocked or locked with almost all blocked buttons and pull down menu items When the project is locked then only major buttons like Autoprogram or Verify are active and only a few pull down menu items are accessible All options that allows to read the code contents are blocked When the new project is create the
17. should pe replaced in memory If code file contains some new calibration data such as described in figure 6 1 1 then the ENTIRE information memory segment at addresses 0x1000 to 0x107F and main memory segment at addresses 0x2200 to 0x23FF will be erased and new data at locations 0x1008 and 0x2200 will be written 5 User Defined This option is functionally similar to options described before but addresses range of the erased write verify main memory and sectors of the information memory can be defined by the user When the User Defined option is selected then on the right side of the Memory Erase Write Verify Group two check boxes and two addresses edit lines will be enabled The check boxes allow the user to select the information memory sectors A or and B to be used erased write verified Edit lines in the Main Memory group allow the user to specify the main memory address range start and stop addresses Start address should specify the first byte in the segment and the stop address should specify the last byte in the segment Since the main memory segment size is 0x200 then the start address should be a multiple of 0x200 eg 0x2200 The stop address should specify the last byte of the segment to be written Therefore it should be greater than the start address and point to a byte that immediately precedes a memory segment boundary eg 0x23FF or 0x55FF 6 Retain Data in Flash Group The MSP430F2xx series has the DCO calibration da
18. the window in Figure 4 2 4 will appear prompting for the name of the file to be created All of the aforementioned Code File options work with three most popular code file formats These formats are the Texas Instruments the Motorola and the Intel file formats FlashPro430 will work with any of these formats and will easily convert one file format to another by using the Open Save in MFG E a 1 fle AS010 02 1 1 txt as010x02 1 2 txt MspAdapter_v10 txt MspAdapter_ 11 txt MspAdapter_ 11_old txt MspAdapter_ 12 txt Save as type Texas Instruments format txt y Cancel Texas Instruments format txt Motorola format s19 Intel format hex Figure 4 2 4 Code File and Save Code File options 4 3 Blow Security Fuse and Open Password File The microcontroller s memory is protected against unauthorized access When the microcontroller is accessed via the JTAG interface then the Security Fuse if blown is protecting access to the microcontroller Blowing the Security Fuse is not reversible and when done then the JTAG interface becomes unusable FET Pro430 MSP430 Flash Programmer PMO14A01 Rev 9 15 When JTAG interface is selected then Verify Security Fuse button allows to verification if the fuse is blown or not Fuse is verified also at the beginning of any device action command To blow the Security Fuse the check mark Enable must be selected first
19. to 8 kB characters approximately 20 last communication messages When disabled then the only last programming report is displayed Programming software can generate audio tones when error programming occurred or tone Ok at the end of programming Tone can be generated using PC speaker or audio wave generator Option dialogue box allows to select desired audio option see Figure 7 2 FET Pro430 MSP430 Flash Programmer PMO14A01 Rev 9 38 8 Serialization 8 1 Introduction FlashPro430 programming software has ability to automatically create the target device s serial number and save it in the flash memory The serial number SN that have already been used are stored in the data file The new SN is created by incrementing a counter that for the SN and the highest SN is stored in a data file Furthermore model name group revision can be downloaded to target device Note The SN format and location in the device s flash memory must be specify by the user Serial number is created when Auto Program or Write SN button is pressed and the Serial Number feature is enabled When Auto Program function is activated the SN is programmed to the target s device memory at the same time along with code data If Auto Program fails for any reason then new SN is not created The software also allows the microcontroller to retain its SN if one has already been assigned to it Every time a device is programmed and serialization is enabled the conte
20. unsigned long c poly poly OL for n 0 n lt 32 n poly lt lt 1 poly 1L amp poly_in poly_in gt gt 1 for n 0 n lt 256 n c unsigned long n for k 0 k lt 8 k Q ce 1 poly e gt gt 1 e gt gt 1 crc_tab32 n c FET Pro430 MSP430 Flash Programmer PMO14A01 Rev 9 10 BSL Password and Access The MSP430 bootstrap loader BSL enables users to communicate with the MSP430 even if the JTAG security fuse is blown Access to the MSP430 memory via BSL interface is protected against unauthorized access by a user defined password The BSL password itself consist 32 bytes on location OxFFEO to OxFFFF This flash memory location is also used by the interrupt vector If all interrupt location available in the MSP430 are used and specified then the BSL password is used in fully and unauthorized access probability to the MSP430 is very low But in a lot of application only part of the interrupt vector is defined After mass erase all unspecified password data will be OxFF and probability of the unauthorized access to the MSP430 becomes much higher It is strongly recommended to initialize unspecified data in the interrupt vector to decrease probability of the unauthorized access to the MSP430 Boot Strap Loadre BSL Password and Access ie Note The desired Code File and the Microcontroller type should be selected before modification of the BSL Enhanced Security and Pas
21. 1000 YMMDD 1234 O HEX MSW First C DDD 1234 5 a i must be even address C 12345678 HEX LSW LSB First O 12345 BCD C Custom char ize c a Used size bytes from File 4 256 S Serial Number 330 Vv edit lasted date excluded starting From on the SN location Serial Number Increment 1 Model Group Revision Y ENABLE Text size in Bytes 16 2 32 even number Start Address in Memory Ox1010 must be even address Ascii gt D1 74014x02 revw2 16 bytes OK Cancel Figure 8 2 FET Pro430 MSP430 Flash Programmer PMO14A01 Rev 9 40 8 2 1 Serial number File The Serial Number File Path and Name specifies the full path and file name where data base contents will be saved Serial Number file contains following data separated by tabulation 1 Serial Number Format FO F1 F2 F3 F4 F5 F6 De Serial Number 3 SN action type New SN unmodified SN overwritten SN manual SN 4 Time and date when SN has been created 5 Code File Name 6 Model text Below is an example of data file containing data from the three consecutively created serial numbers FO 200300011 m Sat Mar 29 2003 10 09 AS010X02 1v2 txt 01 R 0003 04 17 FO 200300012 Sat Mar 29 2003 10 43 AS010X02 1v2 txt 01 R 0003 04 17 FO 200300013 u Sat Mar 29 2003 10 43 AS010X02 1v2 txt 01 R 0003 04 17 Serial number can be created as a unique SN per target s device type or as a unique
22. 14A01 Rev 9 21 Addr 00 01 02 03 04 05 06 07 08 09 OA OB OC OD DE OF lt Ascii gt Ei sessnee win Pirin 929 0 ADA E l Convert to TI format Copy Paste to Notepad Exit Figure 4 5 7 1 shown in figure 4 5 7 1 displays the code address on the left side data in hex format in the central column the same data in Ascii format in the right column The contents of the code viewer can be converted to Texas Instruments txt file format by clicking on the Convert to TI format button Data will be viewed in the Notepad Editor Read address range can be specified in the Memory Option screen See chapter 5 2 Read group for details When the Copy button is clicked then the contents of the read target device memory will be saved in the specified by user file name and opened as a current Code File Also programmer setup will be modified for the copy procedure Especially the serialization will be disabled and the All Memory option will be selected in the Write Erase Verify Address Range FET Pro430 MSP430 Flash Programmer PMO14A01 Rev 9 22 Copy Flash he x Contents of the Flash Memory has been saved in the file E MSP APPL TmpCodettest copy txt and opened as a current Code File Note The All Memory option in Write Erase Verify Address Range has been selected Serializat
23. 40511 Decy gt Ox08AB hex 1234 0123 gt 0x007B hex In flash memory this number can be seen as FET Pro430 MSP430 Flash Programmer PMO14A01 Rev 9 43 OSAB 007B gt HEX MSW first 007B O8AB gt HEX LSW first or lt Hex format bytes gt Size 4 bytes AB 08 7B 00 gt HEX MSW first 7B 00 AB 08 gt HEX LSW first Display Format YYDDD 1234 size in FLASH 4 bytes The format date is compressed to be able to fit data only in two bytes as follows Bit 15141312111098 76543210 lt year 2000 gt lt day of year gt SN 041110123 will be saved as YYDDD 04111 Decy gt OxO86F hex 1234 0123 gt 0x007B hex In flash memory this number can be seen as 086F 007B gt HEX MSW first 007B O86F gt HEX LSW first or lt Hex format bytes gt Size 4 bytes 6F 08 7B 00 gt HEX MSW first 7B 00 6F 08 gt HEX LSW first Display Format 123456768 size in FLASH 4 bytes SN 12345678 will be saved as 12345678 Decy gt 0x00BC614E hex In flash memory this number can be seen as OOBC 614E gt HEX MSW first 614E OOBC gt HEX MSW first or lt Hex format bytes gt Size 4 bytes 00 BC 4E 6l gt HEX MSW first FET Pro430 MSP430 Flash Programmer PMO14A01 Rev 9 44 4E 61 00 BC gt HEX LSW first Display Format 1234 5 size in FLASH 2 bytes SN 12345 will be saved as 12345 Decy gt 0x3039 hex In flash memory this number can b
24. A Se A em vow E eee enero OzDFEOis wx ae Ae 2 see 2 BREE Whe Re Se RG Ree em ae ee lO RRA ORD ROE sss aus ome at eer ase E Se a qe a e o o e I rre PRESS 2 E ae Sn om a a WS eo dee ee e E etica DIO 00 Oc cess o o e e e e e tome tomes LO rre e OSES cay ates sey aay Sa e ae oh th 2 th we an ae ao E anaana OSE ae ie O e sop arom sus Ss sas ex eile Saah vein Gaede Gotta ein Exit Figure 5 2 FET Pro430 MSP430 Flash Programmer PMO14A01 Rev 9 26 displayed in a the viewer by selecting Compare Code amp Flash Data from the View menu Only data that are not the same in the code file data and the Flash memory will be displayed In the first line code file data will be displayed and in the second line Flash memory data Figure 5 2 Note Only data at the addresses specified in the code file can be displayed Any data not specified in code file will not be displayed even if the Flash Memory data contains any not empty FF data FET Pro430 MSP430 Flash Programmer PMO14A01 Rev 9 27 6 Memory Option Dialogue Screen The Memory Options Dialogue Screen Fig 6 1 has three settings groups and one information group Two of the settings groups allow the flash memory addresses range for erase write and read operation to be specified The third settings group write verification allows the user to select the verification method for Auto Program procedure The information group contains the start and stop address o
25. About Microcontroller A 0x4400 MSP430F2xx and Autoprogram only Selected Main Memory Start Addr Y Check DEO constants 0x0000 or OxFFFF are invalid Microcontroller Main Memory Stop Addr 0x243FF eee RAM Size in Bytes 10240 Cancel Figure 6 3 FET Pro430 MSP430 Flash Programmer PMO14A01 Rev 9 32 to BSL sectors is unlocked only when the Used by Code file or Used defined option is selected and desired selected BSL sectors are enabled see Figure 6 3 Contents of the BSL sectors can be read when All memory or Used defined and desired BSL sectors are selected When the code file is read with code contents in the BSL sectors and the BSL sectors are not selected in the memory option then the following warning message will be displayed Figure 6 4 verino x Code is located in the BSL sectors however the BSL sectors are not selected Check the Memory Options setup Excess data will be ignored Figure 6 4 FET Pro430 MSP430 Flash Programmer PMO14A01 Rev 9 33 7 Target s Connection Reset Options 7 1 Communication with Target Device Target s Connection Reset Options m Communication with Target Device e JTAG 4 wires O Spy Bi Wire 2 wires do not supported by Parallel Port FET Cancel Reset Options COM Port Any Recommended USB gt OM3 C PUC only C LPT 1 Automatic C RST NMI only LPT 2 C Vcc OFF On only C LPT 3 Final
26. E NO FURTHER USE OF THE FULL PRODUCT AND RETURN IT WITH THE PROOF OF PURCHASE TO THE DEALER FROM WHOM IT WAS ACQUIRED WITHIN THIRTY 30 DAYS OF PURCHASE AND YOUR MONEY WILL BE REFUNDED 1 License The software firmware and related documentation collectively the Product is the property of Elprotronic or its licensors and is protected by copyright law While Elprotronic continues to own the Product You will have certain rights to use the Product after Your acceptance of this license This license governs any releases revisions or enhancements to the Product that Elprotronic may furnish to You Your rights and obligations with respect to the use of this Product are as follows YOU MAY A use this Product on a single computer B make one copy of the software for archival purposes or copy the software onto the hard disk of Your computer and retain the original for archival purposes C use the software on the network provided that You have a licensed copy of the software for each computer that can access the software over that network YOU MAY NOT A copy the printed documentation that accompanies this Product B sublicense reverse engineer decompile disassemble modify translate make any attempt to discover the Source Code of the Product or create derivative works from the Product C redistribute in whole or in part any part of the software component of this Product 2 Copyright All rights title and copyrights in a
27. Enable Sound IV Enable Done OK sound CAWINDOWSMediatwindows XP Balloon waw Browse Warning sound CA WINDOWSIMediat Windows XP Exclamation waw Play Browse Error sound CHWINDOWS Mediat Windows XP Battery Low waw Play Browse Figure 7 2 C Program Files Texas Instruments CC Essentials v3 1 tools compiler MSP430 bin The FlashPro430 uses following keys when the out file is converted to hex file hex430 exe romwidth 8 memwidth 8 i o file_name hex input_file out If the TP s CCE out option is used and the hex430 exe file cannot be found then following message is displayed Figure 7 3 FET Pro430 MSP430 Flash Programmer PMO14A01 Rev 9 37 x y Open File Error C Program Files Texas Instruments CC Essentials v3 1 tools compiler MSP430 bin hex430 exe The hex430 exe utility file allows to convert the out file to Intel hex Format From the pull down menu please select the Setup gt Preferences and in the TI HEX Conversion Utility group enter the location of the hex430 exe utility file By default the hex430 exe file is located in the Code Composer Essentials directory Figure 7 3 Using the Browse button in the Preferences Dialogue screen the new location of the hex430 exe file should be specified In the Option group the report history in the report window see figure 4 1 can be enabled or disabled When enabled then the report history is displayed up
28. FET Pro430 MSP430 Flash Programmer User s Manual Software version 2 8 PMOI4A01 Rev 9 April 05 2010 Elprotronic Inc 16 Crossroads Drive Richmond Hill Ontario L4E 5C9 CANADA Web site www elprotronic com E mail info elprotronic com Fax 905 780 2414 Voice 905 780 5789 Copyright Elprotronic Inc All rights reserved Disclaimer No part of this document may be reproduced without the prior written consent of Elprotronic Inc The information in this document is subject to change without notice and does not represent a commitment on any part of Elprotronic Inc While the information contained herein is assumed to be accurate Elprotronic Inc assumes no responsibility for any errors or omissions In no event shall Elprotronic Inc its employees or authors of this document be liable for special direct indirect or consequential damage losses costs charges claims demands claims for lost profits fees or expenses of any nature or kind The software described in this document is furnished under a licence and may only be used or copied in accordance with the terms of such a licence Disclaimer of warranties You agree that Elprotronic Inc has made no express warranties to You regarding the software hardware firmware and related documentation The software hardware firmware and related documentation being provided to You AS IS without warranty or support of any kind Elprotronic Inc disclaims all w
29. N 03030123 will be saved as YY MM 0303 gt 0x03 0x03 bytes 1234 0123 gt 0x01 0x23 bytes In flash memory this number can be seen as lt Hex format bytes gt 03 03 01 23 Size 4 bytes Display Format YYMMDD 1234 size in FLASH 5 bytes SN 0405110123 will be saved as YYMMDD 040511 gt 0x04 0x05 Ox11 1234 0123 gt 0x01 0x23 In flash memory this number can be seen as lt Hex format bytes gt 04 05 11 0123 Size 5 bytes Display Format YYDDD 1234 size in FLASH 4 bytes The format date is compressed to be able to fit data only in two bytes as follows Bit 15 12 Year number multiple of ones 9 8 1 0 11 10 Year number multiple of tens 3 2 1 0 9 8 Day number multiple of hundreds 3 2 1 0 7 4 Day number multiple of tens 9 8 1 0 3 0 Day number multiple of ones 9 8 1 0 FET Pro430 MSP430 Flash Programmer PM014A01 Rev 9 46 SN 041110123 will be saved as YYDDD 04111 Decy gt 0x41 0x11 hex 1234 0123 gt 0x01 0x23 hex Display Format 123456768 size in FLASH 4 bytes SN 12345678 will be saved as 12345678 gt 0x12 0x34 0x56 0x78 bytes In flash memory this number can be seen as lt Hex format bytes gt 12 34 56 78 Size 4 bytes Display Format 1234 size in FLASH 2 bytes SN 1234 will be saved as 1234 gt 0x12 0x34 bytes In flash memory this number can be seen as lt Hex format bytes gt 12 34 Size
30. N OFF button you can turn the power on or off on the target device If programming adapter has capability to program the output DC level like TI USB FET then the desired Vcc can be selected between 2 2 to 3 6 V using selector box figure 4 4 1 If the popular parallel port version of FET is used then the setup of the Vcc is irrelevant RESET button located under POWER ON OFF button can generate reset pulse to the target device Pressing this button the target devices can be reset manually at any time starting the target s device application program from the beginning 4 5 Device Action box FET Pro430 MSP430 Flash Programmer PMO14A01 Rev 9 17 Device Action box contains 8 buttons see Figure 4 5 1 and Device Action 8 status boxes Each button allows a specific action to be executed I Reload Code File Software procedures related to each action allow you to fully A AUTO PROG execute the desired task without the need to follow a specific sequence of actions Every action starts by powering up the target T Vedi ENE oes device if Power Device from the Adapter is enabled The communication with the target device is initiated via JTAG The Wi ERASE FLASH security fuse is verified if access to the microcontroller is available Once the specified action is completed successfully the green check A BLANK CHECK mark will appear Also the device will return to the state it was in before the action w
31. Pro430 MSP430 Flash Programmer PMO14A01 Rev 9 20 flash memory Note See chapter 5 1 Memory Erase Write Group for details on how to specify memory segment for writing 4 5 6 Verify Flash button The Verify Flash function compares the contents of the flash memory with data from the code file Verify flash function initiated this way will always use the standard memory verification method even if the fast verification method is selected from the memory write verification options see chapter 5 Memory Option Dialogue Screen Check sum calculated from the code file data is displayed in the Source line of the Check Sum group see Fig 4 5 6 1 and check sum calculated from the target microcontroller flash memory data is displayed in the Memory line of this group Check Sum Source 007752787 Memory 0407752787 w Figure 4 5 6 1 Note During the verification process either all memory or just the selected part of the memory is verified depending on settings specified in the Memory Erase Write Address Range in the Memory Options setup See chapter 5 1 Memory Erase Write Group for details 4 5 7 Read Copy Flash button When Read Copy button is clicked then data can be read from the target microcontroller and displayed in the Flash Memory Data window see Fig 4 5 7 1 This window can also be selected from Flash Memory Data from the View menu Flash memory data viewer FET Pro430 MSP430 Flash Programmer PMO
32. arranties with regard to the software express or implied including without limitation any implied warranties of fitness for a particular purpose merchantability merchantable quality or noninfringement of third party rights Limit of liability In no event will Elprotronic Inc be liable to you for any loss of use interruption of business or any direct indirect special incidental or consequential damages of any kind including lost profits regardless of the form of action whether in contract tort including negligence strict product liability or otherwise even if Elprotronic Inc has been advised of the possibility of such damages END USER LICENSE AGREEMENT PLEASE READ THIS DOCUMENT CAREFULLY BEFORE USING THE SOFTWARE AND ASSOCIATED THE HARDWARE ELPROTRONIC INC AND OR ITS SUBSIDIARIES ELPROTRONIC IS WILLING TO LICENSE THE SOFTWARE TO YOU AS AN INDIVIDUAL THE COMPANY OR LEGAL ENTITY THAT WILL BE USING THE SOFTWARE REFERENCED BELOW AS YOU OR YOUR ONLY ON THE CONDITION THAT YOU AGREE TO ALL TERMS OF THIS LICENSE AGREEMENT THIS IS A LEGAL AND ENFORCABLE CONTRACT BETWEEN YOU AND ELPROTRONIC BY OPENING THIS PACKAGE BREAKING THE SEAL CLICKING I AGREE BUTTON OR OTHERWISE INDICATING ASSENT ELECTRONICALLY OR LOADING THE SOFTWARE YOU AGREE TO THE TERMS AND CONDITIONS OF THIS AGREEMENT IF YOU DO NOT AGREE TO THESE TERMS AND CONDITIONS CLICK ON THE I DO NOT AGREE BUTTON OR OTHERWISE INDICATE REFUSAL MAK
33. as executed A WRITE FLASH Progress of all actions is displayed in the report window If m WRITE SN Model the particular action has been finished successfully then message done or OK will appear on the right side of processed procedure v VERIFY FLASH Fig 4 5 2 If not a message failed will be displayed and selected l E x a i d d READ COPY action will be terminated Final status is also displayed in the 1 Status window see Fig 4 5 3 as Active blue Pass green or Fail Figure 4 5 1 red On the bottom of the programmer dialogue screen the progress bar is displayed and the total run time is shown in the report window Run time does not include the time when user interaction is required 4 5 1 Auto Program button Auto Program button is the most frequently used button when programming microcontrollers in the production process Auto Program button activates all required procedures to fully program and verify the flash Report DONE run time 16 7 sec memory contents Typically when flash memory needs to Reading Code File done l sesgsesssssesesesesesssesesesesesese5 be erased Auto Program executes the following JTAG communication initialization OK Verifying Security Fuse OK procedur es Reading Target Label done R E Erasing MEMON cccocscssscsssseeeesses done reload code file when Reload Code File is JTAG communic
34. ation initialization OK All memory Blank checking OK selected Flash programming done eos a Writing SN 20051203 done useful for debugging when the code file is Verifying check sum OK oe Reading Target Label done frequently modified anna DONE runtime 6 7 sec gt initialization Figure 4 5 2 read labelling information Serial Number Model FET Pro430 MSP430 Flash Programmer PMO14A01 Rev 9 18 Group Revision optional erase flash memory confirm if memory has been erase flash programming and verification labelling information generation flash memory check sum verification retrieve labelling information blowing the security fuse 1f enabled Status In the report window you can see a typical report message during the Auto Program procedure see Fig 4 5 2 Tota 22 Balance Pa Status window see fig 4 5 3 has a counter that is useful in SN 3 production process The total number of programmed microcontrollers can be Figure 4 5 3 entered in the Total edit line The Balance line shows the number of microcontrollers that have not been programmed yet The Balance counter is initialized to the value entered in the Total edit line and is decremented every time Auto Program is completed successfully Note Balance counter works only with Auto Program procedure 4 5 2 Verify Sec
35. by MSP430 dll driver during initialization process and parameters passed to the MSP430 dll Following string is passed to initialization MSP430 procedure LPT1 when LPT 1 is selected LPT2 when LPT 2 is selected LPT3 when LPT 3 is selected USB when TI USB is selected FET Pro430 MSP430 Flash Programmer PMO14A01 Rev 9 35 7 5 Used Adapter The FET Pro430 software is using TT s MSP430 dll library that allows communication with Texas Instruments FET parallel port FET or USB FET However the FET Pro430 can also be used with the Third s Party Tool adapters If other then the TI s adapter is used then the correct MSP430 dll library between FET Pro430 software and used adapter must be used In the Used Adapter group Figure 7 1 should be selected option TPs FET when the TP s FET parallel port FET or USB FET is used or parallel port FET with hardware compatible to the TP s FET or Other 1 or Other 2 when the Third Party Tool adapter is used usually USB model In this case the MSP430 dll file location with full path should be selected using browse gt gt button Note Usually the FET drivers supplied by Third Party Tool supplier has name MSP430 dll Do not copy the Third Party Tool MSP430 dll file to the location where the current TI s MSP430 dll file is located and by mistake do not overwrite this file Using browse gt gt button select full path of the desired MSP430 dll file without moving it from o
36. can also be opened using command line combined with the executable file name Following command line switches are available prj Project file name Open Project file FET Pro430 MSP430 Flash Programmer PMO14A01 Rev 9 72 sf Setup file name Open Setup file cf Code file name Open Code file nf SN_ file name Open Serial number list file lock Note When the cf option is used then code file name saved in the setup file configuration file is ignored and code file name specified with key cf is used When the prj option is used then the sf cf options are ignored Type the name of a program folder document or Internet resource and Windows will open it for you Open C Program Files Elprotronic USB FlashPro430 USB Cancel Browse Figure11 3 1 Using Windows START button left bottom select Run Using Browse find and select executable file see Figure 11 3 1 C Program Files Elprotronic FET Pro430 Flash ProgrammenFET Pro430 exe and at the end enter the required key with name of the setup file eg C Program Files Elprotronic FET Pro430 Flash Programmer FET Pro430 exe sf E ElproTronic MFG prg 04 cfg FET Pro430 MSP430 Flash Programmer PMO14A01 Rev 9 73 To fully lock the configuration setup the extra key lock can be added in the command line eg C Program Files Elprotronic FET Pro430 Flash ProgrammenFET Pro430 exe lock sf E ElproTronic MFG prg 04 cfg o
37. code contents and save it in the encrypted project file This allows the user to create several configuration or project fils one for a particular task and thus eliminates the need to manually change settings every time a different configuration is desired Furthermore the config ini file contains the most recently used settings and those settings will be used as default whenever the software is started 11 1 Load Save Setup To create a configuration file simply select Save Setup from the File menu Current settings will be saved for future use To restore configuration settings select Load Setup from File menu and select a file containing the settings you wish to restore In order to prevent accidental setup changes the MSP430 Programmer provides the option to Lock configuration settings When the user selects the Lock Unlock Setup option from the Setup menu the MSP430 Flash Programmer will prevent the user from modifying the setup The only options that are available when the programmer is locked are Verify Read Autoprogram and Next Notice that the Next button will immediately change to implement the Autoprogram function To unlock the programmer the user must select the Lock Unlock Setup option from the Setup menu 11 2 Load Save Project The Project option Save Load contains more then the programmer configuration only but can also the code and the BSL password used in the project Contents of the project file is encrypted so it is
38. d appears automatically Click Install FET Pro430 Flash Programmer to begin the installation process 3 If the Setup wizard does not start automatically click the Start button and choose the Run dialogue box Type DASETUP EXE where D represents the drive letter of your CD ROM drive Then click the OK button 4 Once the installation program starts on screen instructions will guide you through the remainder of the installation You must accept licence agreement before using software FET Pro430 programming software uses standard TP s MSP430 dll library and TT s programming adapter FET Current version of the software package contains TPs MSP430 dll and HIL dll supporting the MSP430 FET parallel port version and MSP FET430UIF USB port version To connect to the programming adapter select the parallel port LPT1 LPT2 or LPT3 or USB port TI USB as described in section 7 3 3 2 Driver Installation Parallel port FET requires DriverX to be installed The DriverX should be installed with the Kickstart software Follow instruction attached to your tool FET from TL No additional action is requited to activate the driver for the parallel port FET The USB driver for the MSP FET430UIF can be installed using the latest KickStart software or the TT s USB driver attached to the current FET Pro430 software package can be used Follow instructions below to install TF s USB driver FET Pro430 MSP430 Flash Programmer PMO14A01 Rev 9 9
39. d by selecting the PC Hardware fingerprint number option from pull down menu About Help gt PC Hardware fingerprint number Following message box is displayed when the option above is selected figure 11 2 2 FET Pro430 MSP430 Flash Programmer PMO14A01 Rev 9 70 x This PC Hardware Fingerprint Number FiLDE CES3 Figure 11 2 2 Locking option Locked Project 1 When not selected then project is not locked All contents can be modified and all buttons are accessible 2 When selected then project is locked Almost all buttons are disabled grayed and almost all items in the pull down menu are disabled When the project is locked then it is possible to select permanently lock project or select an option that it is possible to unlock the project under password The unlock password can be not the same as the password used for opening the project Locked Read options When selected then the code viewers and READ button are blocked and not allows to read the code contents downloaded to target device If the security fuse is blown after programming the target device then code cannot be seen by the staff downloading code to target devices Unlock with password When project is locked then it is possible to select option unlock with password and specify up to 16 characters unlocking password Password is case sensitive On the figure 11 2 3 is a Project Security Options dialogue screen with selected options Proj
40. ddresses Type the location of the item JSB FlashPro430 USB MSP430 Prg exe Browse Click Next to continue Back Cancel Figure 11 3 4 Create Shortcut J A x This wizard helps you to create shortcuts to local or network programs files Folders computers or Internet addresses Type the location of the item Prg exe lock sf E IMFGIprg 04 cfd Browse Click Next to continue Back Next gt Cancel Figure 11 3 5 Click button Next and follow instruction to create icon Using Copy and Paste and modify required configuration file names a lot of icons can be created with independent configuration setups Clicking on the selected icon FET Pro430 programming software will start with the selected configuration setup and locked if required FET Pro430 MSP430 Flash Programmer PMO14A01 Rev 9 76
41. de Scanner when enabled by selecting the ENABLE in the BarCode Scanner group then can enter scanned data directly to the Next SN edit line When the new SN is entered then AUTOPROGRAM function can be started automatically if Start AUTOPROGRAM following BarCode scan is selected By default Bar Code Scanner is sending the CR ENTER character as a termination character following the scanned message From the Terminator Character selector is possible to get other termination character then CR if required Note Only Ascii characters from 0x21 to OxFE are accepted from the Bar Code Scanner Others characters like white characters space tab are ignored All characters are converted to the lower case characters FET Pro430 MSP430 Flash Programmer PMO14A01 Rev 9 52 8 3 Serialization Report Dialogue Screen Serialization Report Dialogue Screen reports the results of the serialization procedure The report contains the detailed information of the two highest serial number programmed units quantity of programmed units along with the new created serial numbers unmodified SN reprogrammed units manually created SN and quantity of the overwritten SN Detailed information about all programmed units can be viewed using the Notepad text editor by pressing the NotePad button Short information of the created serial numbers format date and time of programming is displayed on the white report box see Figure 8 3 1 Serial number
42. e read flash procedure will be called if button NEXT or function key F5 is pressed FET Pro430 MSP430 Flash Programmer PMO14A01 Rev 9 24 5 Data viewers Contents data from the Code file and from the Flash memory can be viewed in data viewers Also code data and flash memory data can be compared and differences between them can be displayed Contents of the selected file can be viewed by selecting of the Code File Data from the View menu Code data viewer shown in figure 5 1 displays the code address on the left side data in hex format in the central column the same data in Ascii format in the right column Data in hex format is displayed from 00 to FF when contents of data exist in the code file otherwise it is displayed as double dots 1f data does not exist in the code file When code size exceeds Flash EE i x Addr 00 01 02 03 04 05 06 07 08 09 OA OB OC OD DE OF lt Ascii gt ES BAD P DR 4G G U d U fs arenes es aa 4 ore Bek MN GP 80 90 50 Yetta PE CIRE Figure 5 1 FET Pro430 MSP430 Flash Programmer PMO14A01 Rev 9 25 memory space of the selected microcontroller then warning message Data out of the Flash Memory Space of the selected MSP430 is displayed first The contents of the code viewer can be converted to Texas Instruments txt file format by clicking on the Convert to TI format button Data will be viewed in the Notepad Editor Contents o
43. e seen as 3039 integer numbers gt HEX MSW first or HEX LSW first or lt Hex format bytes gt Size 2 bytes 39 30 bytes gt HEX MSW first or HEX LSW first Display Format Custom size in FLASH defined size divided by 2 Entered manually or read via Bar Code Scanner hexadecimal number is converted to HEX format and saved in flash memory in order related to MSW or LSW first selection E g entered hexadecimal number 02A569C1 will be seen as 02A569C1 gt HEX MSW first or C169 A502 gt HEX LSW first 8 2 2 2 BCD format When BCD format is selected then all SN display formats described above can be stored as a two or four separate bytes converted to BCD format where first and last four bits of 8 bit byte contains a value from 0 to 9 All consecutive serial number characters are converted to half byte each Finally two consecutive serial number characters will be converted to a single byte Display Format YYYY 1234 size in FLASH 4 bytes SN 20030123 will be saved as YYYY 2003 gt 0x20 0x03 bytes 1234 0123 gt 0x01 0x23 bytes When flash memory bytes are viewed then this number can be seen as FET Pro430 MSP430 Flash Programmer PM014A01 Rev 9 45 lt Hex format bytes gt 20 03 01 23 Size 4 bytes The consecutive serial number 4 bytes BCD can have a value from 0 to 9999 and is displayed as the 4 digit serial number Display Format YY MM 1234 size in FLASH 4 bytes S
44. e user to specify the code file to be appended to the newly created memory block using the window in Figure MM Combine Files x i 1 sach_16k_1 txt Add Code File File 2 OK gt sach_16k_2 txt File 3 OK sach_16k_3 txt 4 OK ReadMe txt Address 021200 02366 Start Address in Flash 0x1200 Add File Contents Clear All Exit Ei Figure 4 2 3 4 2 1 Every appended file will be verified so that the total code size does not exceed the target microcontroller s memory space and that there is no overlap with previously selected code segments After the addition of each file the window in Figure 4 2 3 will be shown The window shows the status of previous append operations FET Pro430 MSP430 Flash Programmer PMO14A01 Rev 9 14 The Programmer is also able to append files of any type to the new data block In order to do this the user must specify the memory location into which the programmer is to load the file and then press the Add file contents button The window in Figure 4 2 1 will appear prompting the user to specify the file to be added Once the file is added to the new memory block the programmer will display the memory space occupied by the selected file An example of this is shown in Figure 4 2 3 for the file number 4 The Save Code File option saves the data currently contained within the PC code data block into a code file When the user selects this option from the File menu
45. ect protected with PC s hardware fringerprint number locked and unlocked with password FET Pro430 MSP430 Flash Programmer PMO14A01 Rev 9 71 Project Security Options E x M Project protection Any PC not protected C Any PC Password protected Password Repeat password Case sensitive password Selected PC Hardware Fingerprint number PC Hardware Fingerprint FCDE CE53 Format Xxxx xxxx where X hex Locking options IV Locked Project IV Locked Read options J UnLock with password Password oe Repeat password oesacacacase Case sensitive password c Figure 11 2 3 By default project is not protected and not locked This allows to create unprotected project and open it at any time on any PC without restrictions All buttons and items on the dialogue screen are not blocked 11 3 Commands combined with the executable file Programming executable file can be opened with project file having extension FET430prj eg FET Pro430 exe test FET430prj The Folder option in Windows can also be configured to open the programming executable file FET Pro430 exe when the file with extension FET430prj is selected That allows to easy and fast opening the Flash Programmer with configuration taken from the FET430prj file Project file or configuration setup file or Code Password file can be opened using Load Setup Load Code Password File option from File menu or
46. ed as a second word and the second number as a first word in the Flash memory location Display Format YY YY 1234 5 size in FLASH 4 bytes SN 200300123 will be saved as YYYY 2003 Decy gt 0x07D3 hex 12345 00123 gt 0x007B hex FET Pro430 MSP430 Flash Programmer PM014A01 Rev 9 42 In flash memory this number can be seen as 07D3 007B gt HEX MSW first 007B 07D3 gt HEX LSW first when integer numbers are viewed or as lt Hex format bytes gt Size 4 bytes D3 07 7B 00 gt HEX MSW first 7B 00 D3 07 gt HEX LSW first when bytes are viewed first byte is the LSW byte from the integer number Displayed consecutive serial number 16 bits integer number can have a value from 0 to 2416 1 equal 65535 and is displayed as the 5 digits serial number Display Format YYMM 1234 5 size in FLASH 4 bytes SN 030300123 will be saved as YYMM 0303 Decy gt 0x012F hex 12345 00123 gt 0x007B hex In flash memory this number can be seen as 012F 007B gt HEX MSW first 007B 012F gt HEX LSW first or lt Hex format bytes gt Size 4 bytes 2F 01 7B 00 gt HEX MSW first 7B 00 2F 01 gt HEX LSW first Display Format YYMMDD 1234 size in FLASH 4 bytes The format date is compressed to be able to fit data in only in two bytes as follows Bit 15141312111098 76543210 lt year 2000 gt lt month gt lt day gt SN 0405110123 will be saved as YYMMDD 0
47. f the Flash Memory data can be viewed by selecting of the Flash Memory Data from the View menu Flash Memory data viewer displays the memory address data in hex and Ascii format in the same way as the code data viewer Figure 5 1 and 4 6 7 1 To be able to see Flash Memory contents Read Flash option must be selected first Contents of the Code File data and Flash Memory Data can be compared and differences Comparation Code and Flash Memory Data x Addr 00 01 02 03 04 05 06 07 08 09 OA OB OC OD OE OF lt Ascii gt Data Result Comparation Only data from the code file that does not match with the Flash Memory data is displayed Extra data from the Flash Memory is ignored First Line Data from the Code File Second Line Data from the Flash Memory DECIAS vu ar mws a ume O os Sy sre sa ia il ieee aio aa ll EN Eians OXCABOS AB Sa Ri Na n a BAGS de He ee Ast Ba Be Fa Hen Fe BA EEES OE ocu cies js tine e tr ee ai A lb ar OxGSCUi Asi oe aie HA eR EUR Re 6 ZA Fe Sek ae TR ae ARA ATAR DEEBEDES meo eres ene uer a e i e AREA A ona apo UXEBCUS NS EN BR AMN BOE RSA 20 Hy Hie ay NG Mae eG Fee Ree i Bees PER LAP AY EAE AEAS A DDD kk HK RR HR AR RE Sie An RE RE ORK BK oR ee ll annens Decne DDNS gm 00 06 We 29 SO ROT aa ma me ee em mn ee E narrando OxD 4DOci mn 2 90 2 20 25 sis HA E BDA MR DA 30 26 se ll sona x ee errr DED con ay se ae 2 ee eA HL
48. f the user specified main memory segment that can be erased written and verified independently Memory Options 0 x m Memory Erase Write Verify Address Range Read Address Range Update only Information Memory Segments all Memory Information Memory Segments without BSL sectors M D 0x1000 0x103F including selected BSL M D 0x1000 Ox103F gs M C 0x1040 0x107F cC 0x1040 0x107F without BSL sectors T B Ox1080 OX10BF B 0x1080 Ox108F j including locked M A 0x10C0 Ox10FF Main Memory only j 4 0x10C0 0x10FF INFO 4 segment M Main Memory Main Memory Enable Enable Start Address Ox1100 Stop Address 0x47FFF BSL Flash Segments FSxx Foxx Start Address 0x1100 Stop Address Ox47FFF BSL Flash Segments FSxx F6xx Main Memory only C Info Memory only Used by Code File including selected BSL fe la C User defined r C User defined E rc i Retain Data in Flash Autoprogram and Erase Write Verification DCO tants in INFO 4 Ox10F8 0x10FF 3 lv MSP430F2xx only 0x E Fast Write Verify Check Sum Recommended C y j Tae dees Standard Write Verify Check Sum Read Verify Start Address even 0x1000 max 256 bytes Stop Address odd 0x1000 None DCO constants verification in location Ox10F8 to Ox10FF p About M
49. fication group setup allows the user to select one of the three write verification methods Fast Verification Standard Verification None Fast Verification Fast verification method is performed using a pseudo signature analysis PSA algorithm Standard verification Standard verification is performed after memory write process is completed Contents of the flash memory are read and compared with the contents of the code file If both data are the same then verification process is finished successfully Typically the standard verification procedure requires the same amount of time as read write procedure Total programming time with standard verification is around two times longer than read write procedure time FET Pro430 MSP430 Flash Programmer PMO14A01 Rev 9 31 6 4 Write Read the BSL Flash sectors in the F5xx F6xx MCUs The MSP430F5xx and MSP430F6xx microcontrollers have the BSL firmware saved in the Flash Memory sectors By default access to these sectors Read Write is blocked however it is possible to modify the BSL firmware if required that allows to download the newer or custom defined BSL firmware These BSL sectors are located in the memory space 0x 1000 to 0x17FF The FlashPro430 software allows to modify these sectors using the same method accessing the BSL memory sectors as all other memory sectors However to avoid unintentional erasing the BSL sectors the most used memory option All memory has blocked access
50. g the SN IEEE file button located in the main dialogue screen Figure 4 1 the desired SN file should be opened Selected file is converted to final format and all listed serial numbers are verified with the data base file if there was note used before If the specified SN have been used before then these numbers are removed from the SN list When the SN file is read and verified then the pending SN list is displayed in the screen Figure 8 4 1 with following information displayed on the top of the list number of the SN found in data base and removed from the pending list number of the Serial Numbers with incorrect size and removed from the pending list number of the accepted SN FET Pro430 MSP430 Flash Programmer PMO14A01 Rev 9 56 Serial numbers list from the file 0 Number of the SN found in the data base removed from the list D Number of the SN numbers with incorrect size current setup 6 char removed from the list 10 Number of the SN attached to the list 123456 242211 240212 24H213 2DD214 2YY215 2ZZ216 2NN217 2MM218 20E219 Figure 9 1 When the Paste to Notepad button is pressed then the pending Serial Number list can be saved in format ready to be used as a valid SN data file if required FET Pro430 MSP430 Flash Programmer PMO014A01 Rev 9 57 9 Check Sum Options Programming software has two groups of check sum CS calculation The first group is used for inter
51. g the software features you have come to expect and rely upon from Elprotronic Incorporated The FET Pro430 can program Texas Instruments MSP430Fxx family of microcontrollers via JTAG interface using the parallel or USB ports The programming speed and the size of the code that can be programmed are dependent only on the interface adapter and the target device To simplify production process the programming software package can assign serial number model type and revision number Each serial number is unique for each programmed device and is assigned automatically Several serial number formats are available There are a number of erase write options also available This allows to erase write all flash memory or just the specified fragment of memory This feature is very useful when only part of programmed data code should be replaced For example this feature can be used to download the serial number calibration data or personality data without losing existing program code FET Pro430 MSP430 Flash Programmer PMO14A01 Rev 9 7 2 Features FET Pro430 programming software is designated to program the Texas Instruments MSP430Fxx microcontroller family via the JTAG interface using MSP430 dll driver and Texas Instrument s Flash Emulation Tool FET adapter Major features of the FET Pro430 programmer are x FET Pro430 programming software is a shell that uses the Texas Instruments MSP430 dll driver to facilitates communication with
52. ialization box Device Serialization box located on the main programming dialogue screen see figures 10 2 and 4 1 contains serial number and model information The first two read only lines contain information taken from the target device The next two lines contain model text and serial number that are to be saved Whenever a communication with the target device is performed the model text and serial number is read and displayed in the Device Serialization group The Next Model Group_Revision and Next SN edit lines can contain any SN and text FET Pro430 MSP430 Flash Programmer PMO14A01 Rev 9 51 When the device is programmed the next model text is taken from the Model Group Revision Text of the Serialization dialogue screen The next SN is generated automatically according to the setup in the Serialization This means that any data entered in the Device Serialization group can be treated as temporary data This data is downloaded to only one target device Current target s label model text and serial number can be read at any time by pressing READ SN button located in the Device Serialization group see figure 8 2 8 2 5 Bar Code Scanner setup Programming software has capability to get a data from the Bar Code Scanner Bar Code Scanner should be connected to PC computer in series with the keyboard using the Y cable or to the USB port Refer to the Bar Code Scanner manual for details Bar Co
53. icrocontroller 7 0x8000 MSP430F2xx and Autoprogram only Selected Main Memory Start Addr IV Check DCO constants 0x0000 or OxFFFF are invalid Microcontroller Main Memory Stop Addr OXFFFF ESOS RAM Size in Bytes 1024 ci Figure 6 1 FET Pro430 MSP430 Flash Programmer PMO14A01 Rev 9 28 6 1 Memory Erase Write Verify Group The Memory Erase Write Verify Address Range group block see Fig 6 1 specifies common addresses range for erase write and verify operations Memory setup has five available options Note Update only When this option is selected the Auto Program 1008 procedure will not erase memory contents Instead 25 CA 80 40 39 E3 F8 02 Contents of the code data taken from the Code File 2200 will be downloaded to the flash memory This option 48 35 59 72 AC B8 is useful when a relatively small amount of data such 4 as calibration data needs to be added to the flash Figure 6 2 memory Flash memory space defined by Code File should be blank Code file should contain ONLY data which will be downloaded to flash memory For example if code file contains only data as shown in figure 6 2 in Texas Instruments format then 8 bytes of data will be written starting at location 0x1008 and 6 bytes of data starting at location 0x2200 Before writing operation all data in the flash memory at the specified location should be blank contain value OxFF The software will verify automatically if this part of
54. ion feature has been disabled Model Group Revision Feature has been disabled Please replace the original device with the new device Please press OK if it is done and then use the standard buttons like AUTOPROGRAM to program the new device Figure 4 5 7 2 Following message will be displayed When the button OK is pressed then programmer is ready to program the destination microcontrollers NEXT FES Figure 4 6 1 NEXT F5 Figure 4 6 2 AUTO PROGRAM 4 6 Next button The Next button is the dynamically programmable device action button which is very useful in production process After opening the READ FLASH program NEXT button is disabled see Fig 4 6 1 When any button from the Device Action group is pressed then button NEXT takes the NEXT F5 name and feature of that button For example if Auto Program button Figure 4 6 3 has been used then it s name will be displayed on top of the NEXT button see Fig 4 6 2 From now the button NEXT will perform the same function as the Auto Program button The NEXT button has a shortcut to function key F5 Button NEXT will retain its functionality until some other device key is clicked For example if key READ FLASH is clicked then from this moment button NEXT will take a name and feature FET Pro430 MSP430 Flash Programmer PMO14A01 Rev 9 23 of the READ FLASH button see Fig 4 6 3 Th
55. is combined as a string starting from prefix modified part and ending with suffix For example if the following serial number should be created AB2007X 0001 BMR AB2007X 0002 BMR AB2007X 0003 BMR can the SN be specified as follows SN_PREFIX AB2007X SN_SUFFIX BMR and list of following serial numbers 0001 0002 0003 FET Pro430 MSP430 Flash Programmer PMO14A01 Rev 9 54 Prefix and or suffix numbers can be modified in the list if required eg SN_PREFIX AB2007X SN_SUFFIX BMR 0001 0002 0003 SN_PREFIX AB2007V 0001 0002 0003 that defined following serial numbers AB2007X 0001 BMR AB2007X 0002 BMR AB2007X 0003 BMR AB2007V 0001 BMR AB2007V 0002 BMR AB2007V 0003 BMR Example of the Serial Number list 5 lines only in this example i 3 Serial Number List SN format Ascii IEEE_SN_LIST SN_SIZE 12 WX5E2007001P WX5E2007002E WX5E2007003P WX5E2007004E WX5E2007005P U U r FET Pro430 MSP430 Flash Programmer PM014A01 Rev 9 55 The same Serial Number list with specified prefix suffix i gt Serial Number List SN format Ascii IEEE SN LIST SN_SIZE 12 SN_PREFIX WX5E2007 any Ascii character SN_SUFFIX P 001 002 003 004 005 f When the SN data file is prepared then at the first the data base file should be opened see Figure 8 2 When the desired Serial Number Format is selected then usin
56. n it is recommended to select the New Setup from pull down menu and set the default option of all parameters and names used in the programmer As the next the desired processor code file password file if required and all desired option see all available options described in this manual should be selected When it is done it should be verified if programmers works as expected When all works then the current setup can be saved as the project file Select the Save Project as from File pull down menu Following dialogue will be displayed Figure 10 2 1 that allows to select desired project option Following options can be selected Project Security Options y xj M Project protection Any PC not protected C Any PC Password protected Password Repeat password Case sensitive password Selected PC Hardware Fingerprint number PC Hardware Fingerprint Format XXXX XXXX where X hex Locking options J Locked Project T Locked Read options F Untock with password Password Repeat password Case sensitive password cme Figure 11 2 1 FET Pro430 MSP430 Flash Programmer PMO14A01 Rev 9 69 Project protection Any PC not protected When this option is selected then project is not protected and can be opened on any PC without restrictions Any PC Password protected When this option is selected then project can be opened when the password is correct The desired passwo
57. nal programming verification and the second group can be used for firmware verification in application software The CS used for internal verification is calculating CS only for specified words in the code file regardless of the flash memory size location etc This CS is useful only inside the programmer because programmer has all information about programmed and empty bytes location This method is also useful if only part of the code is programmed in the flash append option All not programmed words in the programming process are ignored even if these words are not empty in the flash The check sum used for internal programming verification is displayed in the Check Sum Group Figure 9 1 see the Main Dialog screen Figure 4 1 gt Check Sum Source OxF236EFFC Memory OxF236EFFC A Figure 9 1 In the source line is displayed the arithmetic sum of the code contents with added contents of the serialization model etc if selected Arithmetic sum is calculated as the sum of 16 bits unsigned words result is 32 bits unsigned Only programmed words are taken for calculation All other not used words are ignored All bytes are converted to 16 bits words as follows for simplicity format casting is not present in this example word data address data address 1 lt lt 8 where address is even and incremented by 2 In the memory line is displayed the CS result taken from the flash memory calculated in the same way
58. nd to the Product and any copies of the Product are owned by Elprotronic The Product is protected by copyright laws and international treaty provisions Therefore you must treat the Product like any other copyrighted material 3 Limitation of liability In no event shall Elprotronic be liable to you for any loss of use interruption of business or any direct indirect special incidental or consequential damages of any kind including lost profits regardless of the form of action whether in contract tort including negligence strict product liability or otherwise even if Elprotronic has been advised of the possibility of such damages 4 DISCLAIMER OF WARRANTIES You agree that Elprotronic has made no express warranties to You regarding the software hardware firmware and related documentation The software hardware firmware and related documentation being provided to You AS IS without warranty or support of any kind Elprotronic disclaims all warranties with regard to the software and hardware express or implied including without limitation any implied warranties of fitness for a particular purpose merchantability merchantable quality or noninfringement of third party rights Table of Contents IS THF OAUCTION AAA AAA AA ES Ai 7 2 Keates ii AAA A E AAA AAA EAA A 8 3 Getting Startede ais dos ed oy aed dada ios Ea acia 9 3 1 Software Installation ost sara nunnur 9 3 22 Driver Installation s seinne AS A LOR AR Ed Ab a
59. nts of the target s memory are scanned for existing serial number If the serial number is found the message in figure 8 1 1 will appear and allow you to decide if you wish to keep the old serial number new serial number or serial number modified manually Serial Number Editor 5 x Serialization VERIFY with Data Base Target sSN 123456 New SN Cc 242211 EditedSN C 2a2211 OK Format Ascii Custom Model Group Revision or R 0003 04 17 Target s Model Group Rev etc o R 0003 04 17 Figure 8 1 1 FET Pro430 MSP430 Flash Programmer PMO14A01 Rev 9 39 8 2 Serialization Dialogue Screen Serialization dialogue box shown in figure 8 2 allows configuration for serialization process to be set Serialization can be enabled or disabled by selecting the check mark in the ENABLE Serialization box When serialization is disabled all edit lines and check boxes are disabled When serialization is enabled all fields must be set LT x Serialization Setup JV ENABLE Serialization I Remove code contents in the location where the serialization and model are defined Serial Numbers File Path and Name C Elprotronic Project Cpp Net USB MSP430Prqidata_mem sn Browse BarCode Scanner T ENABLE Terminator Character CR y Start AUTOPROGRAM Following Barcode scan Serial Number Format r Memory Location Display Format In Memory Format re SN Start 4 in M gt E Ox
60. ot match the one specified by the user Note No warning message will appear when Any microcontroller type is selected Open CodeFile gt fte SN File I M Microcontroller Type Group MSP430F 1 xx af MSP430F 169 v Figure 4 1 1 FET Pro430 MSP430 Flash Programmer PMO14A01 Rev 9 12 4 2 Code File Management FET Pro430 flash programmer provides a few options to manage code files These options allow the user to open a code file combine several code files into a single file and save the programming data into a code file Following code formats are supplied Texas Instruments txt TPs Code Composer Essentials out Intel hex Motorola s19 s28 s37 IAR UBROF 9 d43 and IAR debug Intel or Motorola a43 formats When the TP s CCE file is used then the path for the TP s hex430 exe file should be specified See Preferences dialog for details open as Look in lo TmpCode gt gt BE E Blink 2011 d43 Eval_Blink txt test 32k2 Ext EE Blink 2011 txt El memview txt test 55k txt E BSLPassword txt R Target_m hex test 120k Ext E Code txt El Target_m txt test 120k main Ext El code_mem txt E test 2k txt test 120k t txt El EB1 txt El test 4k txt test 512bytes txt ERTE 73 ALLE BLE BLE File name test 2k txt Files of type Motorola 19 s28 s37 Intel hex IAR ubrof 9 d43 debug Intel Motorola a43 TI s CCE
61. r C Program Files Elprotronic FET Pro430 Flash ProgrammenFET Pro430 exe sf E ElproTronic MFG prg 04 cfg Following configuration setup can be created using Shortcut options that allows to create a lot of icons located on the desktop each icon with required independent configuration setup To do that move the cursor to inactive desktop area click right mouse button and select New see Figure 11 3 3 at Type the name of a program folder document or Internet resource and Windows will open it for you Open 15P430 Prg exe sf E ElproTronic MFG prg 04 cFg y Cancel Browse Figure 11 2 FET Pro430 MSP430 Flash Programmer PMO14A01 Rev 9 74 Using Browse in the Create Shortcut dialogue box select the following executable file C Program Files Elprotronic FET Pro430 Flash ProgrammenFET Pro430 exe see Figure 11 3 4 and at the and add the required command keys see Figure 11 35 eg C Program Files Elprotronic FET Pro430 Flash ProgrammenFET Pro430 exe lock sf E ElproTronic MFG prg 04 cfg Arrange Icons By gt Refresh Paste Paste Shortcut Undo Copy Ctrl Z O Foder Shortcut Properties t B Briefcase 14 Microsoft Word Document 237 Microsoft PowerPoint Presentation Figure 11 3 3 FET Pro430 MSP430 Flash Programmer PMO14A01 Rev 9 75 Create Shortcut E x This wizard helps you to create shortcuts to local or programs files Folders computers or Internet a
62. r CRC CCITT CS_init_crcl6_tab CRC_def_POLY for CRC16 defined polynomial where void CS_init_crcl16_tab unsigned short poly int i j unsigned short crc Cc FET Pro430 MSP430 Flash Programmer PM014A01 Rev 9 63 for i 0 i lt 256 i cre 0 unsigned short i lt lt 8 Q II for j 0 j lt 8 j if crc c amp 0x8000 ere cre lt lt 1 poly else cre CEG lt lt des c c lt lt 1 erc_tab32 i unsigned long OxFFFF crc CRC32 Poly 0x04C11DB7 8b 32b Named as IEEE 802 3 and CRC32 defined polynomial 8b 32b Check Sum is calculated as CRC32 from each bytes from Start to the End Addresses as follows CS CS_initial_value for addr StartAddress addr lt EndAddress addr CS CS_CRC32_8to32 long dataladdr CS CS OxFFFFFFFF amp CS if cs_inverted CS OxFFFFFFFF CS where unsigned long CS_CRC32_8to32 long data unsigned long crc return crc gt gt 8 OxOOFFFFFF crc_tab32 0xFF amp cre data The CRC table is generated first as follows CS_init_crc32 tab 0x04C11DB7 for IEEE 802 3 a polynomial of FET Pro430 MSP430 Flash Programmer PMO14A01 Rev 9 64 x32 x26 x23 x22 x16 x12 x11 x10 x8 x7 x5 x4 x2 x 1l and CS_init_crc32_tab CRC_def_POLY for CRC32 defined polynomial where void CS_init_crc32_tab unsigned long poly_in int n k
63. r USB is installed FET Pro430 MSP430 Flash Programmer PMO14A01 Rev 9 10 4 Programming Dialogue Screen 7 FET Pro430 FET MSP430 Flash Programmer Elprotronic Inc File View Setup Serialization Tools About Help Open Code File gt ftest 32k2 txt path C Elprotronic Projecti MSP APPLST M Blow Security Fuse SN File r Microcontroller Type Group MSP430F 1x y MSP430F 169 bd Target MSP430F169 BSL ver 1 61 r Status Total Balance 0 r Selected Device Information RAM 2048 bytes FLASH 60 kB Report Verifying Security Fuse Reading Target Label Erasing memory Port LPT 1 JTAG 4 wires gt Power Device from Adapter 3 2185 POWER ON OFF RESET Device Woltage O Check Sum Source 0x2030E7B4 Memory 0x2030E7B4 Til r Device Serialization for 78014X02 1ev2 20080030 Read SN Next Model Group Revision for 7A4014x02 18v2 Next SN 120080031 Format yyyy1234 Erase Write memory option All Memory I Enable BLOW FUSE O r Device Action Reload Code File Y 4 Verify Security Fuse v ERASE FLASH v BLANK CHECK v WRITE FLASH v WRITE SN Model v VERIFY FLASH READ COPY Pa AUTO PROGRAM NEXT F5 Figure 4 1 Programming dialogue box screen The programming dialogue box see Fig 4 1 contains a pull down menu interface selection
64. rd should be entered in two edit lines Password is case sensitive and takes up to 16 characters space including Selected PC Hardware Fingerprint When this option is selected then project can be opened only on one desired PC where the PC s hardware fingerprint number taken from the destination PC is the same as the number used when the project has been created This option is useful in production because project can be opened automatically without password on the desired PC The same project file cannot work on other computers When the project is created for particular PC then the PC hardware fingerprint number should be taken from the desired PC and entered in the edit line in dialogue screen figure 11 2 1 This number has hardcoded format and contains eight hex characters with dash between 4 and 5 character eg 6FA4 E397 Notice that the project created with the desired PC s hardware fingerprint number will not work on the PC where the project has been created because hardware fingerprint numbers on the destination PC and the PC used for creating a projet are not the same It is possible to create the project with the PC s hardware fingerprint number taken from his own PC create a project and check if work as expected When all is OK then project should be saved again with the desired PC s hardware fingerprint number PC s Hardware fingerprint number used with the project can be rea
65. riginal location to location where the Ts MSP430 dll file is saved 7 6 Preferences Dialogue Box In the Preference Dialogue screen is possible to specify an external tools location and define a preferable audio tones during programming In the first edit line it can be specified the pdf Reader file name By default it is used the Acrobat Reader AcroRd32 exe file However it is possible to change the pdf Reader if required in the PDF Reader edit line Using the Browse button please select location of the pdf Reader executable file In the second edit line it should be specified location of the Texas Instruments hex conversion utility file hex430 exe This tool is used to convert the out file generated by the Code Composer Essentials debugger to the Intel hex file when the Open Code option I used and selected the TP s CCE out file The hex430 exe file is supplied with the TPs Code Composer Essentials debugger and by default is located in directory FET Pro430 MSP430 Flash Programmer PMO14A01 Rev 9 36 Preferences x PDF Reader AcroRd32 exe Browse MTI HEX Conversion Utility hex430 exe Default location in CCE Program Files Texas Instruments CC Essentials v3 1 tools compiler M5P430 bin hex430 exe C Program Files Texas Instruments CC Essentials v3 1 tools compiler MSP430 binihex Browse r Options IV Report History Display Enable L Audio i Speaker J Enable Beep when OK
66. rmat gt lt Ascii format gt 30 34 30 3531 31 30 31 32 33 0405110123 Size 10 bytes Display Format YYDDD 1234 size in FLASH 9 bytes SN 042140123 will be saved as YYDDD 04214 gt 0x30 0x34 0x32 0x31 0x34 bytes or L VO TPT g 1234 0123 gt 0x30 0x31 0x32 0x33 bytes or MON o 3 In flash memory this number can be seen as lt Hex format gt lt Ascii format gt 30 34 32 31 34 30 31 32 33 042140123 Size 9 bytes Display Format 123456768 size in FLASH 8 bytes SN 12345678 will be saved as 12345678 gt 0x31 0x32 0x33 0x34 0x35 0x36 0x37 0x38 bytes In flash memory this number can be seen as lt Hex format gt lt Ascii format gt 31 32 33 34 35 3637 38 12345678 Size 8 bytes Display Format 1234 size in FLASH 4 bytes SN 1234 will be saved as 1234 gt 0x31 0x32 0x33 0x34 bytes In flash memory this number can be seen as lt Hex format gt lt Ascii format gt 31 32 33 34 1234 Size 4 bytes Display Format Custom size in FLASH defined size in bytes Entered manually or read via Bar Code Scanner ascii sring will be saved in flash memory as is E g entered hexadecimal number FET Pro430 MSP430 Flash Programmer PMO14A01 Rev 9 49 02WX2458234 will be seen as 30 32 57 58 323453323334 gt 02WX248234 Display Format Custom or from the file size in FLASH defined size in by
67. ro430 MSP430 Flash Programmer PMO14A01 Rev 9 5 Sena ZO ot ata de el als cue 39 8 1 ITUNE eS eK EOS 39 8 2 Serialization Dialogue Screen 0 0 0 2c eee eee eee eee 40 8 2 1 Serial number File era thay estates Cae oa weet ii Bee 41 8 2 2 Serial number formats Vitrales da 41 8 2 2 1 HEX MSW first and HEX LSW first format 42 8 2 2 2 BCD format dt A da naw s 3 45 2 2 5 ASCH fonat e so eet eta coke da a 48 8 2 3 Model Group REVISION dla 51 8 2 4 Device Serialization box oooooooooororornooomo 31 8 2 5 Bar Code Scanner setup einer dh 52 8 3 Serialization Report Dialogue Screen o oooooooocoorcoonoonoooo 53 8 4 SN d t file sorio eoir ea a det OE trar da is EEA 54 DACHECK Sum OPA A AAA lt 8 58 9 1 Check Sum types so See eeu sate cape Bees 61 10 BSL Password and Access it A ik cde wee aba RES a Es ote RE ee 66 Tl Load Save Setup Sis A Be ete AA Wie eile eh tate a ote 68 ILI AE moerore renane dea Adee ae A elaine bald ale glee 68 TEZ Load Save Project att od UA bet a eA dd la 68 11 3 Commands combined with the executable file 12 FET Pro430 MSP430 Flash Programmer PMO14A01 Rev 9 6 1 Introduction FET Pro430 programming software is a software package designed to operate with existing programming adapters provided by Texas Instruments and other vendors FET Pro430 requires device drivers and libraries DLL provided by adapter manufacturers while supplyin
68. s are created automatically via software by incrementing the highest SN taken from the serial number files If from any reason the highest serial number is wrong it can be removed from the database by pressing the Delete SN button Note that the delete operation is not reversible x Serialization File Name je Elprotronic Project Cpp Net USB MSP430Prg data_mem sn The Highest Serial Number Line 92 0092 F1 060800093 AUG 17 2006 22 21 Delete SN El Line esd 0139 FO 20070009 y MAR 13 2007 17 40 Delete SN Y Line Format Serial Number Date Time Legend p Report 0120 FO 20070002 MAR 13 2007 17 29 SN Formate 0121 FO 20070002 MAR 13 2007 17 29 FO YYYY1234 5 0122 FO 20070002 MAR 13 2007 17 29 F1 YYMM1234 5 133 P NewSN 0123 FO 20070003 MAR 13 2007 17 29 0124 FO 20070004 MAR 13 2007 17 29 ADE eal DET Unmodiied SN 0125 FO 20070005 MAR 13 2007 17 32 YYDDD1234 5 ee 0126 FO 20070006 MAR 13 2007 17 32 12345678 0127 FO 20070007 l MAR 13 2007 17 33 1234 5 0128 FO 20070008 MAR 13 2007 17 34 0 M ManualyentsedSN 0155 Fo 20070009 MAR 132007 17 34 Custom 0130 FO 20070003 MAR 13 2007 17 35 Peal 0131 FO 20070009 MAR 13 2007 17 38 ee 0132 FO 20070009 MAR 13 2007 17 37 0133 FO 20070009 MAR 13 2007 17 37 NotePad 0134 FO 20070009 MAR 13 2007 17 39 0135 FO 20070009 i MAR 13 2007 17 39 0136 FO 20070003 MAR 13 2007 17 39 0137 FO 20070009 MAR 13 2007 17 39 0138 FO 20070009
69. se 9 3 3 Hardware Installation ta oa al A a oo 10 3 4 Starting up FET Pro430 Flash Programmer o oo ooo ooccoomoom 10 4 Programming Dialogue Screen ati A AA EA ee A AAA OD 11 4 1 Microcontroller Type 3 422 6 23 5265s sib tee sees a 12 4 2 Code File Management escoria ado 13 4 3 Blow Security Fuse and Open Password File 15 44 Power Device from Adapter 0 0c eee eee eee eee 17 4 5 DEVICE Acton DO SA A EES REE E 17 4 5 1 Auto Program button vota had oben eda 18 43 2 Verify Security FUSE tices rasa cae ee seule eS 19 4 5 3 Erase Flash button esos des a YRS 19 4 5 4 Blank Check button SA A AA AA 20 4 5 5 Write Flash button ces ii as 20 4 010 Verify Flash Dutton rennes de oa a ds 21 4 5 7 Read Copy Flash button yor dida dd its 21 AG NEXUS a recat ER EA AR AS A AA 23 X Data viewers A AS SS SS See e ES e 25 6 Memory Option Dialogue Screen 2 A AA ee os 28 6 1 Memory Erase Write Verify Group 0 0 eee eee eee 29 0 2 Read Group 23 fs eg ds oe oe ame eek eee ean Stab ee hc cae rete 31 6 3 Verification ID e N ln E EEES 31 6 4 Write Read the BSL Flash sectors in the F5xx F6xx MCUs 32 7 Target s Connection RES ECO PONS A A A AAA A 64 s 34 7 1 Communication with Target Device 0 0 0 cece eee 34 T2 A IS alt MN O ALM 35 1 3 Final Target Device acto bende hbk Seaag hod eee eS 35 7 4 Connect A des 35 7 5 Used Adaptado aiii 36 FET P
70. see Figure 4 3 1 Blow Security E W Enable BLOW FUSE Figure 4 3 1 Because blowing of the Security Fuse is not reversible the following warning message is displayed when check mark is selected to be enabled Warning Blow the Security Fuse Procedure is NOT reversible When Fuse is blown then microcontroller is not accessible via the JTAG interface Would you like to enable the option of blowing the Security Fuse Yes No Figure 4 3 2 Note Ifthe option of blowing the Security Fuse is enabled then if AUTO PROGRAM device action is selected the fuse will be blown without warning When BLOW FUSE button is pressed then two following warnings xi fuse will be blown A Blow the Security Fuse Procedure is NOT reversible are displayed before When Fuse is blown then microcontroller is not accessible via the JTAG interface Do you still wish to blow the Security Fuse lt a Figure 4 3 3 FET Pro430 MSP430 Flash Programmer PMO14A01 Rev 9 16 A xl A Are You sure e Figure 4 3 4 When the button YES is pressed twice the procedure of blowing the security fuse will be initiated When Security Fuse is blown the JTAG interface becomes inoperable 4 4 Power Device from Adapter Power Device from Adapter aov Device Voltage POWER ON OFF O RESET Figure 4 4 1 The programming adapter is powered from the USB Port interface By clicking POWER O
71. sword Data BSL Enhanced Security BSL version 2 0 and higher only V Enable Do not erase flash memory if an incorrect BSL password has been used Erase the flash memory if an incorrect BSL password has been used Disable BSL access Note The BSL Enhanced Security setup is disabled if the flash location OxFFDE OxFFDF MSP430 or OxFFBE OxFFBF MSP430 is used M BSL Password IV Enable Address Oo 1 Pos g 5 66 7 SY A 3B E b SE F ro Remmi E mE R E m le le erro OU ra a ra rs FO er es as FS e rs E TE TF Note Only unused in the code file the flash location can be edited The BSL password itself consist 32 bytes on location FFEO to FFFF After mass erase all unspecified password data will be FF It is strongly recommended to initialize unused data to increase code security Create Password File OK Cancel Figure 10 1 FET Pro430 MSP430 Flash Programmer PMO14A01 Rev 9 x 66 he BSL Password and Access dialogue figure 10 1 allows to edit the undefined data located in the flash memory in location OxFFEO to OxFFFF In the BSL Password group all unused data can be specified An access to particular flash location is disabled grey field on the screen if specified data is defined in the code file All unused in the code file locations between OxFFEO and 0xFFFF are enabled white and can be edited Note The code contents always has a higher priority then an edited BSL
72. ta saved in the INFO memory at addresses 0x10F8 to Ox10FF However when the info segment is erased then the DCO calibration data can be erased also When the DCO Calibration Data box is selected in the Retain Data in Flash group Autoprogram button is pressed and the MSP430F2xx microcontroller is selected then contents of the info memory at location 0x 10F8 to 0x 1OFF is read whole action is performed erase blank check program and contents of the original DCO data info at location 0x10F8 to 0x10FF are restored User defined option in the Retain Data in Flash group allows to specify other region to be restored after erase program and verification This option can be used with any MSP430 FET Pro430 MSP430 Flash Programmer PMO14A01 Rev 9 30 6 2 microcontroller type Location of the retain data block is not limited and can be used any part of flash info or main memory Maximum size of the retain data block is limited to 256 bytes only Read Group The Read Address Range group block see Fig 6 1 specifies the address range used in reading process Memory read setup has four available options 1 2 3 4 All Memory Main memory only Info memory only User Defined The meaning of each option is the same as for the erase write verify procedure The Info Memory only option works the same way as Main memory only option described above except that only information memory is modified 6 3 Verification Group Veri
73. tes Taken from the file or entered manually Ascii string will be saved in the flash memory When the Ascii format is selected then the Ascii string is saved in memory as is All Ascii characters can be used For example the entered following string 02WX245234 will be saved in memory as 30 32 57 58 323453323334 gt 02WX248234 When the HEX format is selected then the string is converted to HEX format only hex characters are accepted 0 1 2 3 4 5 6 7 8 9 A B C D E F All two character pairs are converted to hex format and saved in memory For example the entered following string 02A3B109E12F will be saved in memory as HEX MSW first gt 02 A3 B1 09 El 2F or HEX LSW first gt 2F El 09 B1 A302 Location in the target device s flash memory where described above bytes are saved is specify in the Memory Location SN Start Address in Memory field of the serialization dialogue screen see figure 8 2 1 Specified address must be even and should be specified in the empty memory space not used by program code or data block When software detects that any serial number character is using memory location used by code file then the following error message will be displayed Serial Number or Model Text is overlaping the active code space Please check the serialization setup Would you like to continue writing process anyway Yes No Figure 8 2 1 1 FET Pro430 MSP430 Flash Programmer PMO14A01 Rev
74. the target device and TI s programming adapters parallel port Flash Emulation Tool FET or TI USB FET Communication speed is determined by the MSP430 dll driver and used FET x Supports all MSP430Fxx microcontrollers from TI dd Blow the JTAG security fuse es Full memory or sector memory erase Write Check Sum verification l No code size limitations ii Target device can be powered from the programming adapter or from external source ig Easy to use Windows based software Programmer accept TI txt Motorola s19 and Intel hex data files for programming dd Combine code files 3 Lock setup capability useful in production i Software package can assign and automatically increment serial number model type and revision Serial Number with or without an automatically inserted current date can be stored in the FLASH memory in HEX BCD or ASCII format Log file capability allows to review information about the flashed target devices FET Pro430 MSP430 Flash Programmer PM014A01 Rev 9 8 3 Getting Started FET Pro430 programmer package contains y One READ ME FIRST document 2 One FET_Pro430 Flash Programmer CD ROM Software Manual 3 1 Software Installation The FET Pro430 Programming Software runs on PC under Windows TM ME WinNT 2000 or XP Follow instructions below to install the software Insert the FET Pro430 Programming Software CD into your CD ROM drive Ze FET Pro430 Programmer Setup wizar
75. to the BSL sectors Access Memory Options E xj M Memory Erase Write Verify Address Range ead Address Range C Update only Information Memory Segments 3 All Memory Information Memory Segments without BSL sectors M D 0x1800 0x187F hding selected BsL D 0x1800 0x187F C All Memory 7 C 0x1880 Ox18FF 7 C 0x1880 Ox18FF without BSL sectors T B 0x1900 0x197F M B 0x1900 Ox197F p including lacked 7 A 0x1980 Ox19FF Main Memory only A 0x1980 0x19FF IEO A segment Main Memory gt M Main Memory J Enable Enable C Mai i fox1100 fox1100 Main Memory only Start Address 00 Cra Manoel Start Address Ox1100 Stop Address 0x47FFF Stop Address 0x47FFF sed by Code File Es Flash Segments F5xx Foxx gt BSL flash Segments F5xx Foxx duding selected BSL SL 0 0x1000 0x11FF ASL O 0x1000 0x11FF SL 1 0x1200 0x13FF she ASL 1 0x1200 0x13FF ser defined SL 2 0x1400 0x15FF 5L 2 0x1400 0x15FF BSL 3 0x1600 0x17FF BSL 3 0x1600 0x17FF Retain Data in Flash Autoprogram and Erase _ Write Verification TE ts in INFO 4 1 0x10F8 UX10FF EOS Fast Write Verify Check Sum Recommended C gt tice diles Start address even f Standard Write verify Check Sum Read Verify max 256 bytes Stop Address odd 0x1000 C None DCO constants verification in location 0x10F8 to 0x10FF
76. umber has 9 or 10 First five characters contain date year day of year from 1 to 366 and remaining 4 or 5 characters contain a number eg 041230123 5 123456768 SN Format F2 8 digits serial number without date stamp 6 1234 5 SN Format F3 4 or 5 digits serial number without date stamp 7 Custom SN Format F6 4 to 16 Ascii characters or hexadecimal numbers entered manually or from the Bar Code Reader 8 From the file SN Format F7 4 to 16 Ascii characters or hexadecimal numbers taken from the user created file Serials numbers format 1 to 6 can be stored in memory in HEX BCD or Ascii format These formats accept only numeric characters from 0 to 9 All numbers are displayed in the decimal format regardless of the format HEX BCD Ascii used in the target memory Custom and from the file serial number can be stored in Ascii or HEX format 8 2 2 1 HEX MSW first and HEX LSW first format When hex format is selected then all SN display formats described above can be stored as a one or two integer 16 bits 2 bytes numbers First four display characters will be saved as one hex integer number and remaining five characters will be saved as a second hex integer number When format HEX MSW first is selected then the first hex integer number is saved as a first word and the second number as a next word in the Flash memory location When format HEX LSW first is selected then the first hex integer number is sav
77. urity Fuse This button allows the security fuse to be verified This is useful if you try to check if the security fuse is blown This procedure is used for test purposes only 4 5 3 Erase Flash button This button enables the flash memory segments or mass all memory to be erased If any option other then Erase All Memory is selected in the Memory Options Setup see chapter 6 1 Memory Erase Write Verify Group for details then the following question message box will be displayed FET Pro430 MSP430 Flash Programmer PMO14A01 Rev 9 19 Memory erase Please press YES gt to erase all memory contents MO gt Eo erase user defined memory space CANCEL gt to abort this task Yes Ho Cancel Figure 4 5 3 1 4 5 4 Blank Check button When Blank Check button is clicked the program checks if flash memory of the target microcontroller is blank all bytes contain the value OxFF This test checks if either all memory is clean or just the specified memory segment The first test checks all memory contents If it fails then just the specified memory segment is checked see setup in Memory Erase Write Group The following conditions can appear at the completion of this operation all memory is blank all memory is not blank but selected part of it is x memory is not blank 4 5 5 Write Flash button When write flash button is clicked then contents from the code file will be written to the FET
Download Pdf Manuals
Related Search
Related Contents
DeLOCK RS-232 3m user`s manual and specification technical Clique aqui e baixe o manual do usuário ダウンロードする 金属探知機 マトリクス 取扱説明書 Bosch Power Tools 1529B Drill User Manual the pennsylvania state university schreyer honors college 東芝マシンルームレスエレベーター取扱説明書 Copyright © All rights reserved.
Failed to retrieve file