Home
FlashPro430 User's Manual
Contents
1. AUTOPROGRAM MESSAGEBOX YESNO Press YES when the test finished successfully Press NO when the test failed IF BUTTONNO GOTO START LOADCFGFILE C Elprotronic Project Cpp Net USB MSP430Prg finalcode cfg AUTOPROGRAM GOTO START gt finish END Script below allows to start programmer download configuration file open the code file and program target device When finished then report failed or pass is saved into the file File contents can be serviced by the external program The GUI popup messages are disabled Script file demo program FlashPro430 USB MSP430 Flash Programmer 10 04 Rev 25 97 Program MCU and exit Save report in the file r GUIMSGBOX GUIMS IFGUIMSGBOXPRESS CANCEL GBOX ENABLE DISABLE Select Disable or Enable remove or add comment press CANCEL if GUI box is generated but disabled to be displayed ifGuiMsgBoxPress cancel This is OK also Commands are not case sensitive LOADCFGFILE test script cfg recommended full path and name IF FAILED GOTO fileerror LOADCODEFILE test lk txt recommended full path and name IF FAILED GOTO fileerror AUTOPROGRAM IF DONE CALL testOK IF FAI I LED CALL testFailed extra message taken from report window added to file Can be saved on the same file or other fi
2. IV Apply DCO calibration if the DCO constants are invalid MSP430F2618 RAM Size in Bytes 8192 Warning When communication via BSL is used and password is invalid then access to MSP430 is only possible when the whole Flash memory is erased The and Retain data DCO constants included can be lost regardless of the above selection OK Cancel Figure 6 1 FlashPro430 USB MSP430 Flash Programmer PMO10A04 Rev 25 47 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 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 1 1 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 1 1 in Texas Instruments format then 8 bytes of data will be written starting at location 1008 and 6 bytes of
3. 39 4 6 5 Write Flash button 40 4 6 6 Verify Flash button see per RR 40 4 6 7 R ad Copy Flash button 41 GOL Next button So Sus QR ee s eat coh eis Uu RU 43 De A DATE VIC WETS ves bt T wy pb Sape ev y Rb ey vhs edt 44 6 Memory Option Dialogue Screen 47 6 1 Memory Erase Write Verify Group 48 6 2 Retan Data dm Fl sh iess oo uo 4 8 esa POP ESOS dar rc t Re Vac 50 6 3 DCO constants verification 50 64 Read Group iuis RARE ha RA RA OS 51 6 5 CAT OUP oc feck eg tec te 51 FlashPro430 USB MSP430 Flash Programmer PMO10A04 Rev 25 7 Adapter Options Lea oua med Edd eee MAES Pee Rand qd 53 7 1 SBW BSL Communication Speed Dialogue 53 7 1 1 BSL Communication 53 7 1 2 JTAG Communication Speed 54 7 1 3 Spy Bi Wire Communication Speed 54 Dialogue BOX Luce ance br vac bere Su EURO p E MO 55 7 2 1 Reset pulse 56 7 2 2 Final Target Device 56 7 3 Preferen
4. MSP430F 1122 max 500 ohms ERE max 500 ohms up to 400 kb s No extra capacitors diodes etc Figure 15 3 FlashPro430 USB MSP430 Flash Programmer PMO10A04 Rev 25 114 MSP430F xx JTAG SBW BSL connector Vcc AVcc DVcc 4 VCC SENSE RST NMI SBWTDIO SBWTCK TEST SBWVPP TEST SBWTCK Vss AVss DVss can be ignored if blow the JTAG security fuse is not required Connection between TEST SBWVpp and target s SBWTCK 330 pF is the FAST Spy Bi Wire is used 2 2nF is the SLOW Spy Bi Wire is used Spy By Wire connection Figure 15 4 MSP430F xx JTAG SBW BSL connector Vcc AVcc DVcc VCC SENSE RST NMI SBWTDIO C1 2 2nF SBWTCK g TEST SBWVPP or mora TEST SBWTCK Vss AVss DVss can be gnored if blow the JTAG security fuse is not required Connection between TEST SBWVpp and target s SBWTCK Note If resistor is used between RESET circuit and RST NMI SBWTDIO then FAST or SLOW Spy Bi Wire can be used Spy By Wire connection Figure 15 5 FlashPro430 USB MSP430 Flash Programmer 10 04 Rev 25 115 JTAG SBW BSL connector VCC SENSE g TEST SBWVPP MSP430F2031 P1 2 TEST SBWTCK m 1 RST SBWTDIO Connection between TEST SBWVpp and target s SBWTCK can be ignored if blow the JTAG security fuse is not required Spy By Wire connection Figure 15 6 JTAG SBW BSL connector P1 7 TD0 TDI 138 SBWTDOI P1 6 T01 2 TDI 4 VCC SENSE 1
5. Verify Security Fuse ERasEFLAsH v __BLANKCHECK _ WRITE FLASH V WRITE SN Model __VERIFYFLASH DCO Calibration Erase Write memory option All Memory Script File none 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 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 FlashPro430 USB MSP430 Flash Programmer PMO010A04 Rev 25 22 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 yellow Test in progress For power on off DC voltage is correct green access enabled red sign access denied For power on off DC voltage is too low below 2 6V mi device action has been finished successfully x device action has been finished but result failed applies to blank check only Memory is not clean but the specified memory segment is 4 1 Interface Type The communication interface type JTAG Spy Bi Wire SBW BSL or Auto can be selected in the Interface group When the programming adapter has implemented all types of
6. Selector More than has been detected Please select the serial number of the desired to be designated to the current programming software dialog screen List 20060889 FlashPro 4x MSP430 Standard C 20070146 FlashPro 4x MSP430 Standard C Legend FlashPro 1x gt LISB MSP430 FPA 1 x FlashPro 2x gt USB MSP430 FPA 2 0 GangPro 3x gt USB MSP430 FPA 3 0 FlashPro 4x gt USB FPA 4 x GangPro 5x gt USB FPA 5 x Other Figure 3 4 1 When more then one X Pro430 adapter is connected to PC then following X Pro430 selector dialogue screen will be displayed on the PC screen see Figure 3 4 1 Using available buttons the one desired Flash Programming Adapter should be selected Make a sure that selected X Pro430 programming adapter is not used by other opened application Selected X Pro430 s serial number will be displayed on the left bottom side of the programming dialogue screen The FlashPro430 programming software supports all X Pro430 programming adapters FlashPro430 programming software can be used to access a single target device regardless type of the used FPA Using the FlashPro430 FPA models USB MSP430 FPA 1 x USB MSP430 FPA 2 0 or USB FPA 4 x the target device can be connected to via JTAG SBW or BSL interface while using the GangPro430 FPA model USB MSP430 FPA 3 0 or USB FPA 5 x the target device can be accessible via JTAG SBW interface o
7. SN_PREFIX AB2007X SN_SUFFIX BMR 0001 0002 0003 SN_PREFIX AB2007V 0001 0002 0003 FlashPro430 USB MSP430 Flash Programmer 10 04 Rev 25 76 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 E Serial Number List SN format Ascii IEEE SN LIST SIZE 12 WX5E2007001P WX5E2007002P WX5E2007003P WX5E2007004P WX5E2007005E U r The same Serial Number list with specified prefix suffix Serial Number List SN format Ascii IEEE SN LIST SIZE 12 SN_PREFIX WX5E2007 any Ascii character SN_SUFFIX P 001 002 003 004 005 FlashPro430 USB MSP430 Flash Programmer 10 04 Rev 25 77 When the SN data file is prepared then at the first the data base file should opened see Figure 8 2 When the desired Serial Number Format is selected then using 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 1
8. Spy Bi Wire Blow Fuse voltage note 4 9 GND Ground 10 NC Not used 11 RST Microcontroller Reset Input pin 12 BLTX Out Boot Strap Loader Tx Output from the target note 1 13 GND Ground connected to pins number through 11 in compliance with the standard JTAG SBW specification provided by Texas Instruments The definition of all the pins is given in the tables 15 1 FlashPro430 USB MSP430 Flash Programmer 10 04 Rev 25 112 NOTE Pins numbers 12 13 and 14 of the JTAG connector has modified connection compared to the standard TI JTAG FET adapter Typically those pins are not used in TI JTAG FET but has been used in the FlashPro430 Programming adapter to pass the Tx and Rx signals of the BSL communication port When this modification is done then one modified 14 pins JTAG connector can be used for JTAG and BSL communication between target device and programming adapter Note 1 BLTX Output Transmit data output pin from the bootstrap loader Port pin 1 1 for microcontrollers MSP430F 1xx Port pin 1 0 for microcontrollers MSP430F4xx Note 2 BLRx Input Receive data input pin to the bootstrap loader Port pin 2 2 for microcontrollers MSP430F xx Port pin 1 1 for microcontrollers MSP430F4xx Note 3 TCK Input for BSL used only for microcontrollers with package over 28 pins Note 4 TEST Input BSL used only for microcontrollers with package up to 28 pins Figurel5 2 show interconnection between
9. FlashPro430 USB MSP430 Flash Programmer 10 04 Rev 25 118 ndix A Specification Specification FPA adapters USB MSP430 FPA 1 0 1 1 1 20r 2 0 USB FPA 4 x Full Speed USB 1 1 12Mbits s Adpater site USB type B Computer site USB type A 14 pins header connector standard JT AG Spy Bi Wire pinhead with PC Communication Interface USB connector Target connector DC Power from USB Interface Target Device DC supply external from programming adapter Communication speed via JT AG Interface Flash programming Flash RAM uploading Ram downloading Communication speed via BSL Interface Flash programming Flash RAM uploading Size Verification Compliance Flash Programming specification JTAG Block Words Write 64 bytes 1 MCLK clock frequency From FPA to 5 430 via TDI pin 2 Flash Timing Gen Frequency f FTG 3 Cumulative Programming Time t CPT MSP430F1xx F4xx MSP430F2xx MSP430X Single Word Write 1 Flash Timing Gen Frequency f FTG added BSL connection to unused pins 5V 20 70mA target s current 0 100mA 2 2 V to 3 6 V Fixed 3 3 V 100 mA max USB MSP430 FPA 1 0 1 1 1 2 Programmable 2 2 to 3 6 V step 0 2 V 100 mA max other FPAs up to 29 kbytes s up to 80 kbytes s up to 130 kbytes s up to 20 kbytes s up to 19 kbytes s 76 43 20mm 3 0 1 68 x 0 8 inch CE European CISPR 22 and
10. and check sum calculated from the target microcontroller flash memory data is displayed in the Memory line of this group If the JTAG SBW Interface is selected then verification is performed also using a pseudo signature analysis PSA algorithm When check sums and PSA match then OK sign is displayed on the right side of memory check sum result and the second phase of verification begins In the second phase all contents of the memory are verified 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 6 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 6 7 1 This window can also be selected from Flash Memory Data from the View menu Flash memory data viewer shown in figure 4 6 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 de
11. Interface MSP430Fxx microcontrollers can be program via the JTAG or Spy Bi Wire Interface as long as the Security Fuse is not blown When the Security Fuse is blown then the MSP430Fxx microcontrollers still can be accessible but only via the BSL Interface Each programmer package Mu Figure 1 1 consist of a microcontroller X Pro430 gt ai FlashProd30 sca based adapter Windows based GangPro430 version 15 software and cable to connect the DL adapter with the computer s USB port The internal adapter software allows to Copyright 2003 2005 Elprotronic Inc communicate with the programmed device with the high speed The programming speed using the JTAG interface is around 29 kbytes s The Fast BSL Interface allows to communicate with the programmed device at speed of up to 350 kbits s Figure 1 1 which is over 35 times faster than with standard BSL communication speed 9 6 kb s Due to this high speed communication programming time is very short and programmer can be used to program flash devices in the production process For example a microcontroller with 60 kB Flash such as MSP430F149 can be programmed in 3 5 seconds via the Interface or in 6 seconds via the BSL Interface This time includes initialization erasing memory blank checking programming and fast verification To facilitate high speed communication via the BSL Interface a new Fast Bootstrap Loader Fast BSL is temporarily downloaded to the RA
12. Save as type Texas Instruments format txt Cancel Texas Instruments format txt Motorola format s13 Intel format hex Figure 4 3 4 FlashPro430 USB MSP430 Flash Programmer 10 04 Rev 25 29 4 4 Blow Security Fuse and Open Password File The microcontroller s memory is protected against unauthorized access When the microcontroller is accessed via the JTAG SBW 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 SBW interface becomes unusable When JTAG SBW 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 see Figure 4 4 1 Blow Security P W Enable BLOW FUSE Figure 4 4 1 Because blowing of the Security Fuse is not reversible the following warning message is displayed when check mark is selected to be enabled 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 4 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
13. The 5 430 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 J x Note The desired Code File and the Microcontroller type should be selected before modification of the BSL Enhanced Security and Password Data r BSL Enhanced Security BSL version 2 0 and higher only Enable Do not erase flash memory if an incorrect BSL password has been used C 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 OxFFBE OxFFBF MSP430X
14. equivalent to pressed button BLOW FUSE on the main dialogue screen Note If the BLOWFUSE command is used then the blow security fuse will be processed even if the Blow Security Fuse enable option is disabled That allows to use command AUTOPROGRAM with disabled blow security fuse option and on the end call the function BLOWFUSE if required without modifying the configuration setup TRACEOFF trace OFF TRACEON trace ON and saved in the Trace Scr txt file in current working directory Option useful for debugging Trace file contains sequence of all executed commands from script file in the run time On the left side of all lines the current line numbers correspondent to the line number in the script file are printed Line numbers are counted without empty lines and without lines contains comments only END end of script program Programming sequence conditions can be taken from user defined procedures attached as an independent DLL and called in the script as a function FCONTROL type argument call the external function from FxControl DLL Function should be created using Visual and attached to FlashPro430 software When the DLL is created then the full path and name of the used DLL should be specified in the script file In the script file the name of the desired DLL can be specified on line few times This means that more then one DLL can be used in the programming sequence but only one DLL at the time When the new
15. is passing only port name to msp430 dll and is not used for opening the destination port So any port number or name in IDE software can be used even if selected port does not exist in PC The msp430 dll is making a decision which port should be activated if required When MSP430 FPA dll is used then always communication via USB is established regardless port selection LPT COM or USB So since the port FlashPro430 USB MSP430 Flash Programmer 10 04 Rev 25 121 selection in IDE software is not used for physical port selection then it is used for JTAG Spy Bi Wire communication speed as follows FlashPro430 Adapters FPA 1 x FPA 2 0 and FPA 4 x LPT 1 COM 1 USB 1 JTAG communication speed 4 Mb s Fast Spy Bi Wire communication speed LPT 2 COM 2 USB 2 JTAG communication speed 1 Mb s Fast Spy Bi Wire communication speed LPT 3 COM 3 USB 3 JTAG communication speed 400 kb s Slow Spy Bi Wire communication speed GangPro430 Adapters FPA 3 0 and FPA 5 x LPT 1 LPT 2 COM 1 COM 2 USB 1 JTAG communication speed 1 Mb s Fast Spy Bi Wire communication speed LPT 3 COM 3 USB 2 JTAG communication speed 400 kb s Slow Spy Bi Wire communication speed Important When FAST Spy Bi Wire communication speed is used then capacitor connected in the RESET SBW DATA line cannot be higher then 500 pF Otherwise communication will not be reliable or will not be established at all If this capacitor is highe
16. is used M BSL Password IV Enable Address E E 2p gs E A E DEEE reo D sz or sc rs zz 3c rS FA ero Fa Fa Fo FA Fs cs rS FE FF FE FF 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 Figure 10 1 FlashPro430 USB MSP430 Flash Programmer 10 04 Rev 25 87 The 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 OxFFFF are enabled white and can be edited Note The code contents always has a higher priority then an edited BSL 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 password file then can be used in the future t
17. 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 FlashPro430 USB MSP430 Flash Programmer 10 04 Rev 25 49 6 2 Note 6 3 Retain Data in Flash The MSP430F2xx series has the DCO constants saved in the INFO A memory at addresses 0x 10F8 to Ox 10FF However when the info segment is erased then the DCO constants will be erased also When the DCO Calibration Data box is selected in the Retain Data in Flash group then contents of the info memory at location Ox 10F8 to Ox 10FF is read before erase process and contents of the original DCO constants info at location Ox10F8 to Ox10FF are restored after erasing process The DCO constants are restored when the ERASE or AUTOPRO
18. 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 2 bytes FlashPro430 USB MSP430 Flash Programmer 10 04 Rev 25 68 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 2 CES 1234 0123 gt 0x30 0x31 0x32 0x33 bytes Or 0 IN 2 3 When flash memory bytes are viewed then this number can be seen as lt Hex format gt lt Ascii format 32 30 30 33 3031 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 x OL SX 1234 0123 gt 0x30 0x31 0x32 0x33 bytes Or 0 i e In flash memory this number can be seen as lt Hex format gt Ascii format 30 33 30 33 3031 32 33 03030123 Size 8 bytes Display Format YYMMDD 1234 s
19. 17 37 NotePad 0134 FO 20070009 MAR 13 2007 17 39 0135 FO 20070009 MAR 13 2007 17 39 0136 FO 20070009 MAR 13 2007 17 39 0137 FO 20070009 MAR 13 2007 17 39 0138 FO 20070009 MAR 13 2007 17 39 50139 FD 20070009 MAR 13 2007 17 40 Figure 8 3 1 Serialization Report Dialogue screen FlashPro430 USB MSP430 Flash Programmer 10 04 Rev 25 74 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 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 LIST Data file contains Serial number list 5 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 5 HEX MSB optional Select the HEX MSB first format regardless setup in the serialization dialogue screen 5 HE
20. 3 300 v Loader Enable Info Segment Erase write No Erase Yes 5 Enter Spi Bi Wire JTAG Supported gt YES 6 Enter Target Driver DLL Path using browse button select the msp430 dll from default location C Program Files Elprotronic MSP430 MSP430DLL 7 Enter Use Spy Bi Wire gt for 4 wires JTAG communication gt Yes for 2 wires Sby Bi Wire communication Below you will find shot screens of the required setups for all 5 options described above Rowley CrossStudio IDE is ready to works with Elprotronic USB FPA adapter FlashPro430 USB MSP430 Flash Programmer 10 04 Rev 25 129 Kk 4 amp amp TI MSP FET430PIF TI MSP FET43DUIF JTAG TI MSP FET43QUIF SBW TI e2430 pin Window SR E Target Properties Connection Implement Software Breakpoints No 180 USBDevice ss Yes 20080925 F Release JTAG Yes Spy Bi WireJTAG Supported Yes Target Driver DLL Path C Program Files Elprotronic MSP430 MSP430DLL MSP430 FPA dll Use Spy Bi Wwire No mV 3 300 v Loader Enable Info Segment Erase write No Erase All Yes KAEI J amp Rowley MSP430 USB CrossConnect 3S TI MSP FET430PIF i TI MSP FET43DUIF JTAG TI MSP FET43DUIF SBW TI ez430 MSP430 Core Simulator 5 utag AMb s Properties Window pi pi E Search Properties Target Properties v Connection Implement Software Breakpoints No Is USB Device Yes Port Name 2 R
21. 4 x 4 GangPro430 FPA model PN USB MSP430 FPA 3 x 5 GangPro430 FPA RoHS model PN USB FPA 5 x models can be used with the FlashPro430 programming software that allows to program only one target device at the time with some different performance see table below USB MSP430 F PA 1 x USB MSP430 FPA 2 0 USB MSP430 F PA 3 0 and USB FPA 4 x USB FPA 5 x GangPro430 FPA 1 Vcc from FPA 3 2 V 2 2 to 3 6V step 0 2V 2 2 to 3 6V step 0 2V 2 External 1 8 to 3 6V 1 8 to 3 6V 1 8 to 3 6V 3 JTAG interface YES YES YES speed 4 Mb s YES YES NO speed 1 Mb s YES YES YES speed 400 kb s YES YES YES 4 Spy Bi Wire interface YES YES YES 5 BSL Interface YES YES NO 6 MSP430 dll for debugging YES YES YES Note In the old adapters USB MSP430 FPA 1 0 1 1 and 1 2 the blow security fuse is not supported when the Spy Bi Wire is used See chapter 13 for details All other performance not listed in the table above are the same when used with the Flash Pro430 programming software Note that the GangPro430 FPA USB MSP430 FPA 3 0 or USB FPA 5 x can also be used with the GangPro430 software to access few target device from one FPA adapter FlashPro430 USB MSP430 Flash Programmer PMO10A04 Rev 25 10 2 Features FlashPro430 programmer is dedicated to program the Texas Instruments MSP430Fxx microcontroller family via JTAG Spy Bi Wire or BSL interface When the JTAG or Spy Bi Wire Interface is used then the Flash
22. 5 Completing the Found New D Hardware Wizard The wizard has finished installing the software for 5 Elprotronic Click Finish to close the wizard Back zaricel Figure 3 1 5 FlashPro430 USB MSP430 Flash Programmer PMO10A04 Rev 25 17 If from any reason the wizard cannot find the USB drivers location then repeat steps 2 3 4 using manual option and browse drivers from location software directory C Program Files Elprotronic XPro USB Drivers W2000 ME XP Windows 2000 98 SE 2 The New hardware has been found should be displayed Follow the wizard instruction to install the drivers 3 Press Next when the Device Wizard Driver screen appear 4 Select the following option on the wizard screen select for a suitable driver for my device recommended and press Next 5 Select the third option Specify a location for a location of the Driver Files 6 From the browser select the D drivers W2000 ME XP for Win 2000 or D drivers W98 for Win 98SE directory where D CD ROM drive location or in the application software directory C Program Files Elprotronic XPro USB DriversW98 and press Next 7 Driver installation process will start Driverinstallation procedures should be done twice Software will install two USB drivers the Boot driver and the Application driver Reboot computer on the end 3 2 Hardware Setup FlashPro430 software supports two ad
23. 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 FlashPro430 USB MSP430 Flash Programmer 10 04 Rev 25 82 CS initial value for addr StartAddress addr lt EndAddress addr CS CS unsigned int data addr 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 data addr CS OxFFFFFFFF amp CS if inverted CS OxFFFFFFFF CS Arithmetic Sum 16b 16b 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 Ari
24. AOpUOll dn ecc ke OG CREE EE REL 93 12 3 Script commands es ERE eee SER a IEEE A AS 93 13 Project dnd Configuration Load Save 100 IST Load Save Setup oe gow eedem OE e pol 100 1327 F Save Project 24510 o oes ee reat ehe ed ne 100 13 3 Commands combined with the executable file 104 14 Adapter description od sud eye p e y e e o ob e e ew eee opes 108 ID Lar Gel CONMECHON vA SEVA LOS 111 FlashPro430 USB MSP430 Flash Programmer PMO10A04 Rev 25 Appendix A Specification EP PEN RN PS 119 Appendix MSP430 dll for IDE debugging software 121 Setup with IAR EW430 Embedded Workbench 123 Setup with TI Code Composer Essentials 126 Setup with Rowley CrossStudio for MSP430 128 Appendix Self Test Program i gic ne Ris ox laws Wad Set ERE Pa m Kad Ra 133 FlashPro430 USB MSP430 Flash Programmer PMO10A04 Rev 25 1 Introduction FlashPro430 model USB MSP430 FPA programmer is dedicated to program the Texas Instruments MSP430Fxx family microcontrollers Using FlashPro430 programmer the target device can be programmed via the JTAG Interface 4 wires SBW Spy Bi Wire 2 wires or via the BSL Boot Strap Loader
25. B FlashPro430 USB MSP430 Flash Programmer PM010A04 Rev 25 19 2 Plug in socket connector from the USB MSP430 Flash Programming Adapter to header connector on your device board Make sure that pin 1 on your device board s header is connected to pin 1 of the socket connector Pin 1 is marked as a red cable on the ribbon cable 3 3 Starting up FlashPro430 Flash Programmer To start the FlashPro430 Flash Programmer click on the Elprotronic FlashPro430 icon Elprotronic FlashPro430 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 USB driver is installed 3 4 X Pro430 Selector The X Pro430 FlashPro430 Single ChainPro430 Chain or GangPro430 Gang Flash Programming Adapter FPA has Multi USB feature Up to 8 Flash Programming Adapters can be connected to one PC Each adapter can be controlled by one opened software application Up to eight application software can be opened at the same time Each application software can have independent setup from the other application software setup code file controlled microcontroller type etc FlashPro430 USB MSP430 Flash Programmer PMO10A04 Rev 25 20
26. IFGUIMSGBOXPRESS apply button OK YES when the message box created by GUI is generated but disabled to be displayed IFGUIMSGBOXPRESS CANCEL apply button CANCEL NO when the message box created by GUI is generated but disabled to be displayed MESSAGEBOX type FCTEXT pop up message box with buttons message taken from the FCONTROL function User s DLL MESSAGEBOX type pop up message box with buttons message line 1 Text displayed in message box message line 2 Each line contents must be located between characters max up to 50 lines Number of content lines up to 50 lines Message box type list OK One button OK OKCANCEL Two buttons CANCEL YESNO Two buttons YES NO YESNOCANCEL Three buttons YES NO CANCEL GOTO label CALL label CALL procedure RETURN return from CALL IF condition GOTO label IF condition CALL label condition list BUTTONOK if button OK pressed in the message box BUTTONYES if button YES pressed in the message box BUTTONNO if button NO pressed in the message box BUTTONCANCEL if button CANCEL pressed in the message box DONE if selected process e g AUTOPROGRAM Read File etc finished successfully FAILED if selected process e g AUTOPROGRAM Read File etc failed CONTROL number if status from the FCONTROL function NUMBER FCONTROL type argument call the external function from FxControl DLL PAUSE number pause in milise
27. JTAG speed 4Mb s or fast Spy Bi Wire m medium JTAG speed 1Mb s or fast Spy Bi Wire 6 slow JTAG speed 400kb s or slow Spy Bi Wire Select desired USB FPA serial number with required communication speed and all setup is done IAR IDE software is ready to works with Elprotronic USB FPA adapter FlashPro430 USB MSP430 Flash Programmer PMO10A04 Rev 25 125 Setup with TI Code Composer Essentials FPA programming adapter can be used with T s Code Composer Essentials v3 1 Core Edition When Gang adapter is used then the only one target connected to slot 1 can be used for debugging CCE software is using msp430 dll for communication with FET adapter and does not have an adapter selection So the original TP s msp430 dll should be replaced with dll provided by Elprotronic The msp430 dll in CCE software is located in directory C Program Files Texas Instruments CC Essentials v3 INDebugServerMrivers l Rename original msp430 dll TI to eg msp430 TI dll to be able to restore communication with TP s USB FET or PP FET Copy and paste MSP430 FPA dll file from Elprotronic directory C Program Files Elprotronic MSP430 MSP430DLL to TT CCE directory C Program Files Texas Instruments CC Essentials v3 1 DebugServer drivers Rename the MSP430 FPA dll to msp430 dll 3 Run Code Composer Essential and select from pull down menu Project gt Properties Properties for Demo F1xx loj x type fiter text TI
28. One READ ME FIRST document One X Pro430 Flash Programmer CD ROM Software Manual One FlashPro430 ChainPro430 or GangPro430 USB MSP430 FPA Flash Programming Adapter One 6 feets length USB A to USB B cable extender Software Installation The X Pro430 USB MSP430 Flash Programming Software runs on PC under Windows ME WinNT 2000 or XP Follow instructions below to install the software Insert X Pro430 the USB MSP430 Flash Programming Software CD into your CD ROM drive The X Pro430 Setup wizard appears automatically Click Install X Pro430 Programmer to begin the installation process If the Setup wizard does not start automatically click the Start button and choose the Run dialogue box Type D SETUP EXE where D represents the drive letter of your CD ROM drive Then click the OK button 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 3 1 1 Driver Installation Software installation program is placing the USB driver files in the windows directories Windows inf and Windows system32 drivers that simplified driver installation Plug in USB MSP430 FPA to the PC USB Port using provided cable extender USB A to USB B Windows XP VISTA The New hardware has been found USB FPA BOOT should be displayed FlashPro430 USB MSP430 Flash Programmer 10 04 Rev 25 14 F
29. 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 IOl x Serialization VERIFY with Data Base Target sSN 123456 New SN C 2A2211 EdtedSN 2a2211 OK Format Ascii Custom Model Group Revision R 0003 04 17 Target s Model Group Rev etc R 0003 04 17 Figure 8 1 1 FlashPro430 USB MSP430 Flash Programmer 10 04 Rev 25 60 8 2 Serialization Dialogue Screen Serialization x Serialization Setup ENABLE Serialization 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 ENABLE Terminator Character CR start AUTOPROGRAM Following Barcode scan Serial Number Format Memory Location Display Format In Memory Format C 1234 5 HEX MSE First SN Start Address in Memory 1234 5 YYMMDD 1234 C MSW First YYDDD 1234 5 j must be even address 12345678 C 1234 5 C Custom char Used size 4 b ytes C fromFie 4 256 eur Serial Number 5 Iz visi siii date excluded starting from B on the SN location Serial Number Increm
30. be displayed indicating that DC voltage is OK and target device is fully functional under this DC voltage If DC level is below 2 7V but higher then 1V then access denied sign box will be displayed red sign with white line If DC level is below 1V then blank sign box will be displayed sure that the current consumption of the target device does not exceed 100mA IF it does then do not power the device through the adapter Instead use the power supply provided with the device or an external power supply Would you like to power the device From the programming adapter Yes No Figure 4 5 2 FlashPro430 USB MSP430 Flash Programmer 10 04 Rev 25 35 Note Programming adapter prevents any program from running on the target device when programming adapter is connected to target device via BSL connector When the target device is powered from its own power supply or battery then the check box Enable should not be selected 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 6 Device Action box Device Action box contains 9 buttons see Figure 4 6 1 and 4 6 2 and 9 status boxes Each button allows a specific action to be executed Software procedures related to each action allow you to fully execute the desired task wit
31. communication interface then all buttons in the interface group are active otherwise only one selecting button is active JTAG Spy Bi Wire or BSL Proper communication interface should be selected otherwise communication with the target device can fail Interface JTAG 4 wires C Spy BiMire 2 wires C BSL Figure 4 1 It is recommended to prepare in the target device board one 14 pin JTAG connector with JTAG SBW and BSL connections see chapter 11 for details When the JTAG SBW and BSL communication interfaces are connected between the target device and programming adapter then selection of any interface type can activate communication between the programming adapter and a target device It is recommended to use by default communication through the JTAG Interface because this communication is around two times faster than the communication through the BSL Interface Also blow the security fuse procedure is accessible only from the JTAG SBW communication port When the security fuse is blown then JTAG SBW interfaces are unusable and only the BSL FlashPro430 USB MSP430 Flash Programmer 10 04 Rev 25 23 communication port can be used When option Auto is selected then communication always starting using the JTAG interface If blow of the security fuse has been detected then communication is continuing using the BSL interfaces Next communication is starting using the JTAG interface as the first again Note Au
32. 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 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 memory is erased before programming contents from the code file are downloaded to the target microcontroller s flash memory When microcontroller contains INFO A segment that can be locked eg in the MSP430F2xx series contains DCO constants at locations Ox10F8 to Ox 10FF then the INFO A can be erased or left unmodified The including FlashPro430 USB MSP430 Flash Programmer 10 04 Rev 25 48 INFO A in MSP430F2xx should be selected on unselected respectively When the INFO A is not erased then none of the data will be saved in the INFO A
33. ee Ske 9 ZT AATE AE EE on E 11 2 1 Customized features I5 2 1 1 Encrypted Project option 13 2 1 2 SSCHpUHle c usa ela no es pues SA RA CERRAR NR 13 PAN PT EL 13 2 14 Self Test Program ob oy ea wea bee M DEC Xen 13 So GOING Started reisini ti nei exa Sadek Ew Seah SAGE Radek ACER DASA MSO 14 3 1 SoftWare Installation 22 2455 yee eh bee ea Sete 14 3 1 1 Driver Installation 14 3 2 Hardware cad eh eaa 18 3 3 Starting up FlashPro430 Flash Programmer 20 BA GXCPIGASO0 Selector oi Rex roa Ga eee Gad See RUE 20 4 Programming Dialogue Screen 60645845 65 FRSA RAE EUR 22 4 1 Interface Type ioe Ee ened 23 42 Microcontroller Type 5 2 ossi RR a y RES 24 4 4 Blow Security Fuse and Open Password File 30 4 5 Power Device from Adapter 35 46 Device Action bOX RAE EAR RR RAE YR AGE S 36 4 6 1 Auto Program button 38 4 6 2 Verify Security Fuse Password button 39 4 6 3 Erase Flash button 39 4 6 4 Blank Check button
34. function is executed When finished then the MCU firmware started make sure that the first configuration allows to start the code when the Autoprogram is finished Final code is downloaded when the test has been finished successfully Before running the script file the configuration files named test cfg and final cfg required in the project should be created using the GUI software first To do that connect target devices to programming adapter select desired configuration and save the configuration file as test cfg and create final configuration file in similar way FlashPro430 USB MSP430 Flash Programmer 10 04 Rev 25 92 12 2 Script file option Programming sequence can be customized when using the rf with the executable file described in the Project and Configuration Load Save chapter When the executable file USB MSP430 Prg exe is called with a script path as an argument e g USB MSP430 Prg exe rf C Program Files Elprotronic USB FlashPro430 script txt or when the icon with the USB MSP430 Prg exe and script file path is executed then programmer starts automatically programming sequences according to procedure specified in the script file Access to other buttons are blocked When script file sequence is finished then program is terminated There is not option to modify the running sequence when script sequence is used This option is useful in production because nobody can modify sequence that has been prepared for the
35. generated data used as a code data Whole MAIN memory content is verified check sum and also read whole data and verified byte by byte One sector location to OXFDFF is erased and blank checked Also contents of the two closer sectors are verified if there are not erased Small block of data are saved and verified in the mentioned sector Word write read to TACCRO 0x172 register Byte Word manipulation are used in the part of the RAM 2 BSL interface is used Due to unknown access password the whole Flash memory MAIN and INFO are erased In the F2xx microcontrollers the DCO calibration data will be erased There is no way to save the DCO data if the BSL password is unknown The DCO data can be calibrated using the FlashPro430 GUI package software when the JTAG or Spy Bi Wire access is available when the JTAG fuse is not blown See the FlashPro430 manual for details MAIN memory is tested in the same way as it is used with the JTAG Spy Bi Wire interface Word write read to TACCRO 0x172 register Access to RAM if size of the RAM if higher then 256 bytes Access to RAM space 0x200 to Ox2FF is blocked due to stack and firmware located in this RAM location Note The first test Vcc value when the power is OFF can be failed if the external power is connected or if the blocking capacitor on your target device connected to the Vcc line if high The Vcc should be below 0 4V when the power is OFF tested 2 seco
36. 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 3 FlashPro430 USB MSP430 Flash Programmer PMO10A04 Rev 25 59 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 Serial Number can be created automatically by incrementing the Serial Number or can be taken from the file created by user Used serial numbers are 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 contents of the target s memory
37. microcontroller Excess data will be ignored Figure 4 3 2 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 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 the user to Combine Files Add Code File Start Address in Flash sach 16k 1 txt sach 16k 2 txt File OK sach 16k 3 txt File OK ReadMe txt Address 0x1200 0x2366 0x1200 dd File Contents Clear All Exit Figure 4 3 3 FlashPro430 USB MSP430 Flash Programmer PMO10A04 Rev 25 28 specify the code file to be appended to the newly created memory block using the window in Figure 4 3 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
38. modified JTAG connector and MSP430F149 microcontroller Two lines BLRx and BLTx have been connected to not used pins 12 and 14 of the standard JT AG connector This modification allows use of the only one modified JTAG connector to connect the JTAG and BSL communication ports to programming adapter Figure15 3 show interconnection between modified connector and MSP430F1122 microcontroller Figurel5 4 and 15 5 show interconnection between JTAG SBW connector and the MSP430Fxx microcontroller using Spy Bi Wire interface combined with RESET circuit Figure15 6 show interconnection between JTAG SBW connector and the MSP430F2031 microcontroller using the Spy Bi Wire interface for simplicity RESET circuit is not present Figurel5 7 to 153 10 shows interconnection between JTAG SBW BSL connector and the MSP430F22x4 microcontroller using the BSL only Spy Bi Wire and BSL and JTAG and BSL interfaces for simplicity RESET circuits are not present Refer to the Texas Instruments data sheet for detailed information related to pin numbering of a particular microcontroller Important The old adapters USB MSP430 FPA 1 0 1 1 and 1 2 do not support in fully the Spy Bi Wire interface The TEST pin from the FPA see figure 15 4 15 5 should not be connected and in this case the Spy Bi Wire becomes fully functional but without blow security fuse feature FlashPro430 USB MSP430 Flash Programmer 10 04 Rev 25 113 JTAG Due t
39. oe Repeat password eese e e Case sensitive password Figure 13 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 buttons and items on the dialogue screen are not blocked 13 3 Commands combined with the executable 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 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 sf Setup file name Open Setup file cf Code file name Open Code file pf Password file name Open Password file nf SN file name Open Serial number list file FlashPro430 USB MSP430 Flash Programmer 10 04 Rev 25 104 rf Script file name Run programming sequence from the Script 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 Also when the pf option is used then password file name saved in the setup file configuration file is ignored and password file name specified with key cf is used When the prj option is used then the sf cf pf rf options are ignored Using Windows START button left bottom s
40. or reporting failed Autoprogram process The FlashPro430 can recalibrate the DCO constants if the DCO constants are invalid The Apply DCO calibration should be selected in this case The DCO calibration and DCO constant location are fixed regardless setup in the DCO calibration dialogue screen DCO constants location Ox10F8 to Ox1OFF DCO frequencies 16 12 8 and 1 MHz FlashPro430 USB MSP430 Flash Programmer 10 04 Rev 25 50 4 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 l 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 nfo Memory only option works the same way as Main memory only option described above except that only information memory is modified 6 5 Verification Group Verification group setup allows the user to select one of the three write verification methods Fast Verification Standard Verification None Fast Verification Fast verification method can only be used if the JTAG SBW Interface or the Fast BSL is used communication speed of 350 kb s If fast verification is selected and BSL is used communication speed of 9 6 kb s then standard verification procedure is used During the fast verification each byte is verified after being written and
41. passwords The first password or default is used when the flash memory is blank ie all bytes contain value OxFF Consequently the password contains 32 bytes of OxFF The second password is provided by using the Open Password File button or Open Password File from the FILE menu This command opens the code file and retrieves 32 bytes of data that contain the password Using this password allows the code in the flash memory to be modified The third password comes from the code file itself Whenever Open Code File command is selected data from the code file at the memory location OxFFEO 0xFFFF is extracted for this Device passwords x rDefault Password empty flash memory Addr 00 01 02 03 04 05 06 07 08 09 OA OB OC OD OE OF xFFE0 FF FF FF FF FF FF FF FF FF FF FF FF FF FF PF gt Password taken from the Password File Addr 00 01 02 03 04 05 06 07 08 09 OA OB OC OD OE OF Password File is not present gt Password extracted from the Code File Addr 00 01 02 03 04 05 06 07 08 09 OA OB OC OD OE OF xFFE0 00 FF 8C FA 46 FA 72 FA 88 FA 3C F9 4E F9 B6 FA OxFFFO 00 FA 30 FA 18 F8 B FA F9 C4 F9 18 FS 1A FO Figure 4 4 5 purpose The password obtained this way enables verification of memory contents FlashPro430 USB MSP430 Flash Programmer PMO10A04 Rev 25 32 The use of a password file i
42. s Slow Spy Bi Wire communication speed When communication Spy Bi Wire is not used then also can be selected one from LPT ports as follows FlashPro430 and GangPro430 Adapters TI MSP430 LPT 1 JTAG communication speed 4 Mb s TI MSP430 LPT 2 JTAG communication speed 1 Mb s TI MSP430 LPT 3 JTAG communication speed 400 kb s TI CCE software is ready to works with Elprotronic USB FPA adapter FlashPro430 USB MSP430 Flash Programmer PMO10A04 Rev 25 127 Setup with Rowley CrossStudio for MSP430 FPA programming adapter can be used with Rowley s CrossStudio IDE Following setup in the CrossStudio Version 2 should be done before using the FPA adapter for debugging 1 Open the CrossStudio IDE and add the new targets to the list In the Targets properties dialog screen put the cursor to the empty line below the last included adapter in the list Clict right button and select New Target Interface and MSP430 DLL Interface See Figure below Targets S XN IIS e Rowley MSP430 USB CrossConnect SS TI TI MSP FET43DLIF JTAG TI MSP FET 43DLIIF SBW TI e2430 MSP430 Core Simulator Elprotronic LISB FPA JTAG 4Mb s Elprotronic USB FPA JTAG 1Mb s Elprotronic 5 JTAG 4Q0kb s Elprotronic LISB FPA SBW F ast Elprotronic USB FPA SBW Slow MSP430 Core Simulator MSP430 Flash Emulation Tool Properties Wind Restore Default Targets MSP430 L
43. 0 j 8 j if crc c amp 0x8000 ere cre lt lt 1 poly else cre ere c c lt lt 1 erc_tab32 i unsigned long OxFFFF amp 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 data addr CS OxFFFFFFFF 5 CS if inverted CS OxFFFFFFFF CS where unsigned long CS CRC32 8to32 long data unsigned long crc return gt gt 8 amp 0OxOOFFFFFF crc tab32 0xFF amp crc data 1 FlashPro430 USB MSP430 Flash Programmer 10 04 Rev 25 85 The CRC table is generated first as follows CS init crc32 tab 0x04C11DB7 for IEEE 802 3 a polynomial of x32 x26 x23 4 x224 x164 x124 x11 x1l0 x8 x74 x54 x44 x24 x 1 and CS init crc32 tab CRC def POLY for CRC32 defined polynomial where void CS init crc32 tab unsigned long poly in int k unsigned long c poly poly 01 for 0 n lt 32 poly lt lt 1 poly 1L amp poly in poly in gt gt 1 nsigned long n amp 1 poly c gt gt 1 c 1 crc tab32 n c FlashPro430 USB MSP430 Flash Programmer PMO10A04 Rev 25 10 BSL Password and Access
44. 1Mb s or 400kb s can be used to establish communication between and target device see Figure 7 1 JTAG communication speed selector 7 1 3 Spy Bi Wire Communication Speed Default Spy Bi Wire communication speed between programming adapter and target device is set as a Fast with following specifications Minimum clock pulse width 0 25us Minimum delay between data and clock 0 25us This delay allows to use the maximum capacitor in the SBWTDIO line and ground used in the reset circuit together with the TDIO data line see Figure 12 4 and 12 5 up to 330 pF When this capacitor has higher value up to 2 2 nF or the JTAG SBW cables are long then the Slow Spy Bi Wire communication should be selected The Slow Spy Bi Wire communication has a following specifications Minimum clock pulse width 1 0 us Minimum delay between data and clock 1 5 us FlashPro430 USB MSP430 Flash Programmer PMO10A04 Rev 25 54 7 2 Reset Dialogue Box The Target s Reset Dialogue screen enables the user to select the Reset pulse duration and reset line state at the end of programming process Target s Reset Options E xi gt Reset mode selection JTAG and BSL communication OK 10 RESET pulse Recommended 1 100 ms RESET pulse Custom RESET pulse 200 ms RESET pulse Reset pulse 1 ms 1 1000 RESET PURS Idle time i ms 1 2000 C Custom RESET pulse Cancel JTAG commun
45. 4 bytes Display Format Custom or from the file size in FLASH defined size in bytes 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 is All Ascii characters can be used For example the entered following string 02W X248234 will be saved in memory as 30 32 57 58 32 34 53 32 33 34 gt 02W X248234 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 F 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 MSB first gt 02 A3 B1 09 El 2F or HEX LSB 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 any
46. 5 8 P1 4 TCK 35 8 TEST SBWVPP P1 1 BSL TX P2 2 BSL RX MSP4350F22x4 MSP430F22x4 BSL only Figure 15 7 FlashPro430 USB MSP430 Flash Programmer PMO10A04 Rev 25 116 TEST SBWTCK D vcc D VSS RST SBWTDIO P2 2 BSL RX P1 7 TDO TDI P1 6 TD P1 5 TMS P1 4 TCK P1 1 BSL TX MSP430F22x4 JTAG SBW BSL connector MSP430F22x4 BSL only startup via SBW Figure 15 8 TEST SBWTCK D VCC D VSS SBWTDIO P2 2 BSL RX P1 7 TD0 TDI P1 6 TDI P1 5 TMS PLA TCK P1 1 BSL TX MSP430F22x4 SBWTDOI SBWTCK JTAG SBW BSL connector TDI 3 TMS TCK 7 GND 9 e o 12 vec oL VCC SENSE PES 8 TEST SBWVPP go 12 TX 14 RX o BSL connection Optional BSL connection Optional Connection between TEST SBWVpp and target s SBWTCK can be ignored if blow the JTAG security fuse is not required MSP430F22x4 SBW BSL connection Figure 15 9 FlashPro430 USB MSP430 Flash Programmer PM010A04 Rev 25 117 JTAG SBW BSL connector SBWTDOI TEST SBWTCK P1 7 TD0 TDI o4 VCC SENSE oh 8 TEST SBWVPP RST SBWTDIO P2 2 BSL RX BSL connection Optional BSL connection Optional MSP430F 22x4 MSP430F22x4 JTAG BSL connection Figure 15 10 In a typical design all lines are connected directly between BSL connector and the dedicated microc
47. 5 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 Serial numbers list from the file x 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 001 123456 002 242211 003 2 212 004 2 213 005 2 214 006 2YY215 007 222216 008 2NN217 009 2 218 010 20 219 Paste to Notepad 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 FlashPro430 USB MSP430 Flash Programmer 10 04 Rev 25 78 9 Check Sum Options Programming software has two groups of check sum CS calculation The first group is used for internal 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 Thi
48. 64 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 15 14 13 1211109 8 76543210 lt 2000 gt lt month gt lt day gt SN 0405110123 will be saved as YYMMDD 040511 gt 0x08AB hex 1234 0123 gt 0x007B hex In flash memory this number can be seen as O8AB 007B gt HEX MSW first 007 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 0x086F hex 1234 0123 gt 0x007B hex In flash memory this number can be seen as 086F 007B gt HEX MSW first 007B 086 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 FlashPro430 USB MSP430 Flash Programmer 10 04 Rev 25 65 Display Format 123456768 size in FLASH 4 bytes SN 12345678 will be saved as 12345678 Decy gt Ox00BC614E hex In flash memory this number can be seen as 614E gt HEX MSW first 614E OOBC gt HEX MSW first or lt Hex format b
49. AG 400 kb s Response gt hex Ox0001 decimal 1 i Wire f Report message a Spy Bi Wire fast Target Device is Closed SBW Spy Bi Wire slow BSL 350 kb s D BSL 90 kb s TEST FINISHED BSL 9 6 kb s ERRORS Full test Friday August 08 2008 17 46 29 BSL 350 kb s Connect target device select desired options and press the TEST button Note Only the Main memory is erased when the JTAG SBW interface is selected Ignore the warning that a Full memory blank check Failed TEST Paste to Notepad EXIT Figure B 1 Reset Pulse width When it is done then press the button TEST When test is finished then check if FlashPro430 USB MSP430 Flash Programmer 10 04 Rev 25 133 there is no any errors Detailed test report is displayed The test report can be paste to Notepad and saved if required Following conditions are used during the test 1 JTAG and Spy Bi Wire interface is used Erased and programmed MAIN memory only The info memory 1000 to Ox 10FF is not erased and not modified The DCO calibration data in the F2xx are not modified During the test it can be displayed warning that All memory blank check failed that of course is normal But selected memory blank check must be OK the full MAIN memory in this case All bytes of the main memory are erased blank checked and programmed with the randomly
50. CC if OFF now Connect the test board When ready press the button on OK to test the board CANCEL to exit from program IF BUTTONCANCEL GOTO finish LOADCFGFILE C Elprotronic Project Cpp Net USB MSP430Prg test A cfg MESSAGEBOX OK Press OK to download the test program AUTOPROGRAM FCONTROL 1 0 type 1 argument 0 but can be any IF CONTROL 0 GOTO START when false 0 return to start IF BUTTONNO GOTO START LOADCFGFILE C Elprotronic Project Cpp Net USB MSP430Prg finalcode cfg AUTOPROGRAM GOTO START gt finish END FlashPro430 USB MSP430 Flash Programmer 10 04 Rev 25 99 13 Project and Configuration Load Save Programming software can save configuration settings in the configuration files or save the whole project configuration with used 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 13 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 s
51. 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 FlashPro430 USB MSP430 Flash Programmer PMO10A04 Rev 25 100 PC when the project is encrypted with the destination PC hardware fingerprint number useful in 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 options that allows to read the code contents are blocked When the new project is create then 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 13 2 1 that allows to select des
52. Debug Settings et Y Info Builders Main S Setup 5 Debugger Target By Source Common Build r Target configuration options Documentation C Use the target configuration from global preferences C C File Types Indexer Compose target configuration using device board and connection Properties Project References Devicelboard 5 P430F2274 Refactoring History TI Build Settings Connection 5 430 USB1 Properties TI Debug Settings TI MSP430 LPT1 TI MSP430 LPT2 Export TI MSP430 LPT3 TI MSP43 0 USB1 Select a TI MSP430 USB2 Target configun TI MSP430 USB3 Restore Defaults Apply FlashPro430 USB MSP430 Flash Programmer 10 04 Rev 25 126 4 Select TI Debug Settings and in Connection option select desired port that will select desired communication speed between USB FPA and target devices as follows FlashPro430 Adapters FPA 1 x FPA 2 0 and FPA 4 x TI MSP430 USB 1 JTAG communication speed 4 Mb s Fast Spy Bi Wire communication speed TI MSP430 USB 2 JTAG communication speed 1 Mb s Fast Spy Bi Wire communication speed TI MSP430 USB 3 JTAG communication speed 400 kb s Slow Spy Bi Wire communication speed GangPro430 Adapters FPA 3 0 and FPA 5 x TI MSP430 USB 1 JTAG communication speed 1 Mb s Fast Spy Bi Wire communication speed TI MSP430 USB 2 JTAG communication speed 400 kb
53. EN 55022 Part 15 Subpart B Class B Unintentional Radiators for Uses in Home Commercial and Industrial Areas 2 Cumulative Programming Time t CPT 32 words MSP430F1xx F4xx MSP430F2xx MSP430X 4 Mb s 1 Mb s 400 kb s 6 MHz 1 2 MHz 750 kHz 428 6 kHz 400 kHz 375 kHz 1 72 ms 2 14 ms 2 48 ms 1 50 ms 1 87 ms 2 16 ms 428 6 kHz 428 6 kHz 428 6 kHz 2 62 ms 2 62 ms 2 62 ms 2 40 ms 2 40 ms 2 40 ms FlashPro430 USB MSP430 Flash Programmer 10 04 Rev 25 119 Flash Erasing specification any speed Flash Timing Gen Frequency f FTG 428 6 kHz Mass or Main Memory Erase Time MSP430F1xx F4xx 248 ms MSP430F2xx MSP430X 24 8 ms Table B 1 Performance Programming reading times for a target microcontroller with 32 kB of Flash Memory E Mode JTAG JTAG BSL BSL Speed 4Mb s 1Mb s 300kb s 350kb s 9 6 kb s 1 Flash Programming Time 1 25 1 85 3 65 2 85 50 5 2 Flash Reading Time 1 25 1 65 3 15 3 05 605 3 Flash Erasing Time 0 15 015 0 15 09s 0 95 4 Flash Blank Checking Time 0 25 0 45 0 95 12s 60s 5 Standard Verification Time 1 25 1 65 3 25 3 05 60 5 Auto Program with Fast Verification 1s 2 65 5 7 s 4 15 E 7 Auto Prg with Standard Verification 2 6s 3 7544 7 8s 595 1105 8 Blow the Security Fuse Time 02s 02s 02s Note add 0 2 second if blow the Security Fuse is enabled Auto Program performs Ta
54. FO Microcontrollers with the same group ID has a similar features with a different size of RAM and FLASH Contents of the ROM at location OxOFFO containing ID number Figure 4 2 1 can be read using JTAG SBW or BSL communication Particular type of the microcontroller in the same group ID can be detected when communication via JTAG SBW is available but this feature is not available via BSL interface communication For programming flash feature knowledge of the type of the microcontrollers is not required al long as size of FLASH is available FlashPro430 USB MSP430 Flash Programmer 10 04 Rev 25 24 In the example the four groups of microcontrollers are shown below Tables contains following information in F112 ID in HEX format taken from the ROM at location OxOFFO F11x 1 information displayed in the microcontroller type window in programmer dialogue box list of available microcontrollers in particular group with RAM and Flash size specification F112 F11x 1 RAM size bytes ROM size kbytes MSP430F110 MSP430F1101 MSP430F1101A MSP430F1111A MSP430F112 MSP430F1121 MSP430F1121A 1132 F11x2 RAM size bytes ROM size kbytes MSP430F1122 256 4k MSP430F1132 256 8k F123 F122 F123 RAM size bytes ROM size kbytes MSP430F122 256 4k MSP430F123 256 8k F149 F13x F14x RAM size bytes ROM size kbytes MSP430F133 MSP430F135 MSP430F147 MSP430F1471 MSP430F148 MSP430F1481 M
55. Flash Programmers with the JTAG SBW and the BSL Interfaces use the STANDARD 14 TI JTAG connector s pinout to facilitate the JTAG SBW communication Some of the unused pins on this connector are utilized to facilitate Bootstrap Loader BSL communication Texas Instruments created the standard for the MSP430 JTAG SBW interface connector and for the Bootstrap Loader BSL connector The JTAG SBW and the BSL connectors share several common signals such as RST GND Vcc Vcc Out TEST and TCK The BSL connector uses signals BSL Tx and BSL Rx that are not found in the JTAG SBW connector We can notice that the TI JTAG SBW connector has specified a maximum of 11 pins and the remaining 3 pins not used These three pins can be used for the two BSL signals namely BSL Tx and BSL Rx By e TDI BSL Ext TDI TMS TDI TDI Vpp TMS TCK GND RST GND TX Rx shield TEST TCK GND Mes Ext nc RST nc nc BSL Tx gU oe BSL Rx BSL Rx GND TEST TEST a LILDILILILDLDL Figure 15 1 JTAG BSL header connector solder side utilizing these unused pins enables us to facilitate both the JTAG SBW and the BSL communication interfaces on a SINGLE 14 pin JTAG SBW connector FlashPro430 USB MSP430 Flash Programmer 10 04 Rev 25 111 This modification DOES NOT affect the JTAG SBW adapter as the pins assigned to the BSL Tx and BSL Rx signals
56. FlashPro430 USB MSP430 Flash Programmer User s Manual Software version 4 5 PM010A04 Rev 25 July 29 2009 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 disclaim
57. FlashPro430 USB MSP430 Flash Programmer 10 04 Rev 25 95 DLL file is open then the old DLL file is closed at the same time One function is used in the user defined DLL int32 F Control int32 type int32 argument char message Parameters type and argument are specified in the script file and are transferred from the programming software to DLL Status from F Control and message are transferred from DLL to programming software Programming software package contains the source code of the user defined DLL Package has been prepared using MS Visual C net package Source code is located in directory C Program Files Elprotronic FxControl DLL User defined function should be inserted in empty place inside the FxControl cpp file and recompiled Recompiled file FxControl dll ready to be used will be located in directory C Program Files Elprotronic FxControl DLL release DLL file can be renamed to any file name and name and specified in the script file via command OPENDLLFILE filename Below is an easy script file contents that allows to create following sequence 1 Vcc supplied to target device is turn OFF and first message box with buttons OK CANCEL is displayed Programmer is waiting until button OK or CANCEL is pressed 2 When confirmed then first configuration file test A cfg is downloaded to programmer Configuration file test A cfg should be prepared first using programming software with desired configuration selected
58. Fuse Password button This button allows the security fuse or the password to be verified This is useful if you try to find the correct password from a few available password files or to check if the security fuse is blown This procedure is used for test purposes only 4 6 3 Erase Flash button This button enables the flash memory segments or mass all memory to be erased If any option other then Erase 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 x Would you like to erase all memory contents tp Please press YES gt to erase all memory contents NO gt to erase user defined memory space CANCEL gt to abort this task Yes No Cancel Figure 4 6 3 1 4 6 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 memory is not blank FlashPro430 USB MSP430 Flash Progra
59. GRAM button is pressed User defined option in the Retain Data in Flash group allows to specify other region to be restored after erasing the flash This option can be used with any MSP430 microcontroller type Location of the retain data block is not limited and can be used at any part of flash info or main memory Maximum size of the retain data block is limited to 256 bytes only When the Retain data are selected DCO constants or used defined then the full blank check will always failed that of course is obvious The selected block blank check related to the code location must pass otherwise program will be terminated DCO constants verification In the MSP43 F2xx family the DCO is calibrated in factory and calibrated data for DCO frequencies 1 8 12 and 16 MHz are saved in the INFO A segment at location Ox 10F8 to Ox10FF If from any reason the DCO constants are erased but these data are used in the application software to tune the DCO to desired frequency then application can not work at all due to unpredicted DCO frequency The FlashPro430 allows to verify if the DCO constants are valid this means if data are not 0x00 or OxFF If these data ale not blank and contains any data then it can be assumed that the INFO A segment contains correct DCO constants When the Check DCO constants in the DCO constants verification group is selected then software at the end of Autoprogram process is verified the DCO constants and create a warning
60. ISB CrossConnect BE 4 Export Target Definitions To XML Target Propertie Cannan knn Sear m Import Target Definitions From XML 2 Rename the selected item to eg Elprotronic USB FPA JTAG 4Mb s 3 Select desired properties for USB FPA see picture below setup for JTAG 4 Mb s 4 Enter Port Name 1 JTAG speed 4Mb s or fast Spy Bi Wire 2 JTAG speed 1Mb s or fast Spy Bi Wire 3 JTAG speed 400kb s or slow Spy Bi Wire FlashPro430 USB MSP430 Flash Programmer PMO10A04 Rev 25 128 or if you would like to select particular adapter with FPA s serial number then enter in the Port Name the FPA SN with suffix 40 m s fast JTAG speed 4Mb s or fast Spy Bi Wire m medium JTAG speed 1Mb s or fast Spy Bi Wire 45 slow JTAG speed 400kb s or slow Spy Bi Wire eg 20080925f for FPA adapter with SN 20080925 4Mb s or fast Spy Bi Wire Targets te x CE E e Rowley MSP430 USB CrossConnect 4 amp TI MSP FET430PIF TI MSP FET430UIF JTAG TI MSP FET43QUIF SBW TI e2430 MSP430 Core Simulator Properties Window 53 x 5 Search Properties ias Target Properties Setting Connection Implement Software Breakpoints No e Is USB Device Yes Port Name 1 Release JTAG Yes Spy Bi WireAJ TAG Supported Yes Target Driver DLL Path C Program Files Elprotronic MSP430 MSP430DLL MSP430 FPA dll Use Spy Bi Wire No mV
61. KE 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 many computers 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 a network YOU MAY NOT A 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 B redistribute in whole or in part any part of the software component of this Product use this software with a programming adapter hardware that is not a product of Elprotronic Inc 2 Copyright rights title and copyrights in and to the Product and any copies of the Product are owned by Elprotronic The P
62. M of each programmed device Due to the small size of Fast BSL almost all TI microcontrollers from MSP430Fxx family can utilize high speed communication Microcontrollers with small RAM 128 bytes only 3 family members can be programmed with the standard communication speed 9 6 kb s communication speed 15 selected automatically Programming time for these types of microcontrollers is not very long since the size of the programming FLASH is very small up to 2 kB FlashPro430 USB MSP430 Flash Programmer PMO10A04 Rev 25 To simplify production process the programming software package can assign serials number model type and revision 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 Currently Dec 2006 four types of the USB Flash Programming Adapters are supported by the FlashPro430 software from Elprotronic 1 FlashPro430 FPA obsolete model PN USB MSP430 FPA 1 x 2 FlashPro430 FPA obsolete model PN USB MSP430 FPA 2 x 3 FlashPro430 FPA RoHS model PN USB FPA
63. MHz 12MHz and 16 MHz When the DCO calibrated data are used in the application software then the DCO frequency tolerance is better then 1 from the nominal frequency FlashPro430 software allows to calibrate up to eight DCO frequencies in the MSP430F1 xx F2xx or F4xx to any value in the DCO range and saved calibrated DCO constants in the default INFO Memory locations 10 0 to or user ME gt a defined memor y location oco calibration Fixx F2xx and F4xx when the Defined DCO Defined DCO data address base For DCO 8 0x10F0 data address is selected Important All DCO data even not enabled MUST be located only in Flash sector space The DCO Frequency Calibration dialogue screen DCO External Resistor Rosc for Fixx and F2xx only Figure 11 1 can be Enable Info Memory Address DCO cal frequency selected from pull down 1 0x10FE 0 200 MHz enforced to 1 0 MHz for F2xx menu Setup gt DCO calibration When the selected DCO calibration data is Iv 4 Ox10F8 2 000 MHz enforced 16 0 MHz For F2xx enabled then in the edited Iv 5 Ox10F6 field should be specified the 6 0x10F4 DCO frequency in MHz in the range 0 10 MHz up to 16 MHz When the F1xx or 7 00 F4xx MCU is used then the Note When the DCO of the F4xx is calibrated then the FLL DIV 8 is used maximum frequency can not be higher then 8 MHz See data sheet
64. Pro430 USB MSP430 Flash Programmer PMO10A04 Rev 25 42 4 7 Next button The Next button is the dynamically programmable device action button which is very useful in production process After opening the program NEXT button is disabled see Fig 4 7 1 When any button HEAT FS from the Device Action group is pressed then button NEXT takes the em name and feature of that button For example if Auto Program button eua has been used then it s name will be displayed on top of the NEXT AUTO PROGRAM button see Fig 4 7 2 From now the button NEXT will perform the NEXT F5 same function as the Auto Program button The NEXT button has a shortcut to function key F5 Button NEXT will retain its functionality Figure 4 7 2 until some other device key is clicked For example if key READ FLASH is clicked then from this moment button NEXT will takea READ FLASH name and feature of the READ FLASH button see Fig 4 7 3 The NEXT read flash procedure will be called if button NEXT or function key F5 is pressed Figure 4 7 3 FlashPro430 USB MSP430 Flash Programmer 10 04 Rev 25 43 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 fil
65. Pro430 programmer is using the standard JTAG SBW communication port available on all MSP430 microcontroller Detailed information describing features of the JTAG communication port can be found in the Texas Instruments documentation SLAA149 Programming a Flash Based MSP430 Using the JTAG Interface To facilitate high speed communication via the Spy Bi Wire interface an application software for the programming adapter has been optimized for the maximum speed Also a few new procedures have been implemented decreasing the flash programming time Key features of the FlashPro430 programmer using JTAG SBW communication port are as follows support all MSP430 flash based devices programming speed approximately 29 5 via JTAG interface mass erase erase main memory only or segment erase fast verify and blank check check sum calculation supports programming of the JT AG access security fuse permanently disables device memory access via JTAG SBW When the BSL Interface is used then the FlashPro430 programmer is using the standard BSL communication port available on all MSP430 microcontrollers Detailed information describing features of the standard BSL can be found in the Texas Instruments TI documentation SLAA089A Features of the MSP430 Bootstrap Loader To facilitate high speed communication a new Fast Bootstrap Loader Fast BSL proprietary of Elprotronic Inc is temporary downloaded
66. Release JTAG Yes Spy Biwire JTAG Supported Yes Target Driver DLL Path C Program Files Elprotronic MSP430 MSP430DLL MSP430 FPA dll Use Spy Bi Wire Yes mV 3 300 v Loader H Enable Info Segment4 Erase write Erase All Yes FlashPro430 USB MSP430 Flash Programmer 10 04 Rev 25 131 Targets TI MSP FET430PIF TI MSP FET430UIF JTAG TI MSP FET430UIF SB TI ez430 9 MSP430 Core Simulator gt Elprotronic LISB FPA JTAG 4Mb s Elprotronic USB FPA JTAG 1Mb s Elprotronic LISB FPA JTAG 400kb s c Elprotronic USB FPA SBw Fast Properties Window ps 5i Search Properties Target Properties Setting v Connection Implement Software Breakpoints No Is USB Device Yes Port Name 3 Release JTAG Yes Spy Bi7WireAI TAG Supported Yes Target Driver DLL Path C Program Files Elprotronic MSP430 MSP430DLL MSP430 FPA dll Use Spy Bi Wire Yes mV 3 300 v Loader Enable Info Segment4 Erase write No Erase All Yes FlashPro430 USB MSP430 Flash Programmer 10 04 Rev 25 132 Appendix C Self Test Program The software package contains the FlashPro430 Self Test program that allows to test functionality of the flash programming adapter users target device and connections between these units Software package use the Multi FPA API DLLs In the test results printout are listed the DLL functions with syntax that has been used This printout i
67. SP430F149 MSP430F1491 FlashPro430 USB MSP430 Flash Programmer 10 04 Rev 25 25 When Any microcontroller type is selected then only name of the microcontroller s group like F13x F14x 15 displayed in the Target microcontroller type Because type of microcontroller can not be fully detected especially via BSL Interface then the max FLASH from the particular group is assigned 60kB for the group F13x F 14x see table above If the correct size of the FLASH is required then the desired microcontroller type should be selected When communication with the target device is established and when the selected and the target microcontrollers are from the same group then a size of the target device are taken from the selected microcontroller type data table In this case the full name of the microcontroller s is displayed in the Target microcontroller type field like MSP430F149 instead the group name F13x F14x only Otherwise the microcontroller with the maximum size of FLASH from the detected group is selected shown in bold in the tables above and group name is displayed like F13x F 14x FlashPro430 USB MSP430 Flash Programmer PMO10A04 Rev 25 26 4 3 Code File Management FlashPro430 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 suppli
68. Serial number 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 MSB first MSW first LSW LSB first formats 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 MSB first is selected then the first hex integer number is saved as a first byte and the second number as a next byte etc in the Flash memory location When format HEX MSW first is selected then the first hex
69. X LSB optional Select the HEX LSB first format regardless setup in the serialization dialogue screen When the format is specified as the hex format SN_HEX_MSB or SN_HEX_LSB then string can contains gaps between numbers or Ox on the front All gaps will be removed Up to 256 characters gaps excluded can be specified for one number All characters must be located in one line for the same SN Example The hex number A434BC5696AD10ACFO can be specified as A434BC5696AD10AC or 0xA434BC5696AD10AC or A434 BC56 96AD 10AC FlashPro430 USB MSP430 Flash Programmer PMO10A04 Rev 25 75 or A4 34 BC 56 96 AD 10 AC FO SN_ASCII optional Select an ASCII format regardless setup in the serialization dialogue screen SN_PREFIX string optional SN_SUFFIX string optional Serial number can contains up to 32 characters If part of characters are the same in specified serial number list then the repeatable part can be specified in the SN PREFIX or SN SUFFIX and only modified part of serial numbers can be listed Serial number 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 PREFIX AB2007X SUFFIX BMR and list of following serial numbers 0001 0002 0003 Prefix and or suffix numbers can be modified in the list if required eg
70. after the target device programmed This allows to verify functionality of the programmed device if required In order to do this check the Hardware Reset RST line and start the application program or Soft Reset JTAG only and start the application program or ON OFF Vcc and start the application program FlashPro430 USB MSP430 Flash Programmer 10 04 Rev 25 56 option in the Reset Options window shown in Figure 7 2 Application run time can be unlimited or limited up to 120 seconds Limited time is specified in the Application Program RUN time box When entered 0 in the Program RUN time box then time is unlimited When the program run time is limited then also it is possible to turn on a programmable generator with duty cycle 50 at frequency 250 Hz on the BSL TX pin or with programmable frequency on the JTAG TDI pin Output period on the TDI pin can be programmed from 0 1667 to 42 6 us when the period increment is set to 0 1667us or from 0 5 us to 128 us when the period increment is set to 0 5 us see Figure 7 2 The programmable generator can be used as a reference clock for target device test eg DCO calibration etc The reference clock from the TDI pin can be provided to tested circuit via resistor 4 7 k or higher to avoid overload the TDI line during communication via JTAG interface 7 3 Preferences Dialogue Box I x M PDF Reader AcroRd32 exe Browse TI HEX Conversion Ut
71. apter types FlashPro430 USB MSP430 FPA versions 1 0 1 1 1 2 and 2 0 USB FPA 4 0 4 1 4 2 and 4 3 and GangPro430 USB MSP430 FPA 3 0 and USB FPA 5 0 see figure 3 2 1 When the GangPro430 adapter is detected by the FlashPro430 software then the only lines used by the first target device are activated in the FPA adapter Lines TDI TDO 2 to TDI TDO 6 becomes tri stated The FlashPro430 adapters supports all interfaces 1 4Mb s 1Mb s and 400 kb s 2 Spy Bi Wire fast and slow Note The FPA 1 0 1 1 and 1 2 supports the Spy Bi Wire without fuse blown only 3 Fast BSL 350 kb s and 90 kb s and BSL 9 6 kb s FlashPro430 USB MSP430 Flash Programmer 10 04 Rev 25 18 while GangPro430 adapters supports only and BSL intefaces when the FlashPro430 software is used 1 JTAG 1Mb s and 400 kb s 2 Spy Bi Wire fast and slow Figure 3 2 1 show available connection with target device using FlashPro430 or GangPro430 adapters FlashPro430 14 wires ribbon cable FlashPro430 software Supported adapters FlashPro430 USB FPA L x 2 0 4 x and GangPro430 e USB FPA 3 0 5 JTAG Spy Bi Wire one target device only Target Device GangPro430 Target Device 1 only Check Sun tone OSAD Menoy San M Gang Splitter 14 2 Figure 3 2 1 1 Connect USB MSP430 Flash Programming Adapter to PC USB Port using provided cable extender USB A to USB
72. are unused by the JTAG SBW Interface This can save one connector and can simplify communication with the target device The pinout for the standard JTAG SBW connector with added BSL Tx and BSL Rx signals is shown in figure 15 1 BSL Tx and BSL Rx signals are connected to the pins 12 and 14 respectively In addition a ground line is connected to pin 13 The JTAG SBW signal lines are Table 15 1 JTAG BSL Interface connector Pin Name Description 1 Red TDO TDI SBWTDIO Data output input Spy Bi Wire data 2 VCC In Sense Vcc supplied to the target 3 3V max 100 mA and the target s Vcc voltage sense This pis should be connected to Vcc of the microcontroller if microcontroller is supplied from the Flash Programming Adapter If the Target s Device microcontroller is energized from his own battery or external power supply then the pin 2 or 4 Vcc sense should be connected to the Vcc of the microcontroller Note that in the old verison of the USB MSP430 FPA rev 1 0 the pin 4 is not connected Vcc sense is available on the pin number 2 only 3 TDI Vpp Data Input Blow Fuse voltage Vpp 6 5V 4 Sense Target s Device Vcc Sense used in the USB MSP430 FPA rev 1 1 and up not used in the USB MSP430 FPA 1 0 5 TMS In TMS Input 6 NC Not used 7 TCK In SBWTCK Boot Strap Loader JTAG TCK Input pin Spy Bi Wire note 3 8 TEST Vpp SBW Vpp Boot Strap Loader JTAG TEST Input pin Blow Fuse voltage Vpp 46 5V
73. asy to use Windows based software Programmer accept TI txt Motorola s19 and Intel hex data files for programming i Combine code files capability x Lock setup capability useful in production 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 allowing to review information about the flashed target devices DLL software package can control programmer from other programs 5 Programmer has been fully tested to comply with the FCC and CE requirements x Our programmers are inexpensive for users interested in basic features we provide limited or lite software version i Using USB 1 1 12Mbits s Port to communicate with the Programming Adapter Communication with the target device via JTAG SBW BSL Interface using TI standard 14 pins header connector FlashPro430 USB MSP430 Flash Programmer 10 04 Rev 25 12 2 1 Customized features FlashPro430 programmer can be controlled from external software or programming sequences can be customized These features are very useful in production environment Standard programming software FlashPro430 has a lot of options described above but of course it can not cover all customer s requirements 2 1 1 Encrypted Project option Contents of the project that include code cont
74. at the end of the process the check sum is read from the flash memory and compared to calculated check sum taken from the code file If JTAG SBW Interface is used then verification is performed also using a pseudo signature analysis PSA algorithm Note Fast verification is permanently enabled and can not be switched off if the JTAG SBW Interface or Fast BSL is used 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 FlashPro430 USB MSP430 Flash Programmer 10 04 Rev 25 51 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 Note If BSL Interface is selected and communication speed is set to 9 6kb s then standard verification method is the only method available to verify contents of written memory Otherwise fast verification is used first and if fast verification is successful then standard verification procedure is initiated FlashPro430 USB MSP430 Flash Programmer PMO10A04 Rev 25 52 7 Adapter Options 7 1 JTAG SBW BSL Communication Speed Dialogue Box The JTAG Spy Bi Wire BSL Communication Speed Dialogue screen enables the user to select the comm
75. ata and Flash Memory Data can be compared and differences Comparation Code and Flash Memory Data x ddr 00 01 02 03 04 05 06 07 08 09 OA OC OD OE OF Ascii 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 qu gus us uen sex BO ss vix ecu ni neus wrap arie 4 actor Dioses xC4BD s 55 BH fui n e mee He u Be Xu REEE X SOUS que Ment xGEC chen dub du Gk Hum dus DxCBCOS eres les uer us PEPPER Moe DxiBo0 X EN BR AMN A 10 NM M NE MMC NM ROS xU NUS M ONU ROO sx ms Ew nb RE Ew D Decne gm xe ROT ee em dom D DxD4D sum sum Sum Suh o Sub cum sun sum sewn dunes ous sss ous we ue cv eA Xm dme A dup wm dum gud xDZED su nex mam BREE AUS REX NX LAGE SUN XU Sum seers ORD ROE qu
76. ated 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 13 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 read by selecting the PC Hardware fingerprint number option from pull down menu About Help gt PC Hardware fingerprint number FlashPro430 USB MSP430 Flash Programmer 10 04 Rev 25 102 Following message box is displayed when the option above is selected figure 13 2 2 x This PC Hardware Fingerprint Number FCDE CES3 Figure 13 2 2 Locking option Locked Project 1 When not selected then project is not locked contents can be modified and all buttons are accessible 2 When selected then project is locked Almost all buttons are disabled gra
77. 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 Heading Code Code size 0926090 248215 bytes C51 x31752BDU C51 0131752600 JTAG communication initialization Verfmng Security Fuse OF Reading Target Label done Erasing done JTAG communication initializatian LK 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 x Checksum type Initial value Arithmetic sum 8b 16b Arithmetic sum 8b 32b Arithmetic sum 16b 16b Arithmetic sum 16b 32b 16 Poly 0x11021 8b 16b poly b CS Result Overwrite cd Figure 9 4 FlashPro430 USB MSP430 Flash Programmer PMO10A04 Rev 25 81 Initial value for CS calculation can be selected as zero all OXFFs or as the Start Address from pull down menu Figure 9 5 Checksum type CRC32 Poly OxDO4C11DB7 Initial value 000000000 Result OxFFEFFFFF 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
78. cedure The information group contains the start and stop address of the user specified main memory segment that can be erased written and verified independently Memory Options r Memory Erase Write Verify Address Range Read Address Range Update only Information Memory Segments All Memory M Information Memory Segments D 0x1000 0x103F D 0x1000 0x103F 7 0 1040 0x107F cC 0x1040 Ox107F densius B 0 1080 0x10BF P ll B 0 1080 OxtOBF 7 A 0 10 0 Ox10FF A 0x10CO Ox10FF Main Memory Info Memory only gt Main Memory v Enable v Enable Used by Code File Start Address 0 1100 Start Address 01100 User defined Stop Address User defined Stop Address _ r Retain Data Flash Autoprogram and Erase write Verification DCO constants in IMFO A Ox10F8 x10FF z s MSP430F2xx only Fast Write Verify Check Sum Recommended 1 Wc Start Address ox1000 Standard Write Verify Check Sum Read Verify max 256 bytes Stop Address 0 1000 C None M DCO constants verification in location Ox10F8 to Ox10FF About Microcontroller 7 MSP430F2xx and Autoprogram only Main Memory Start Addr 0 3100 Selected 7 E IV Check DCO constants 0 0000 or OxFFFF are invalid Mi caben Main Memory Stop Addr Ox1FFFF All Memory C Main Memory only
79. ces Dialogue BOX 57 OC SOGNO a RUE 60 8 1 Introduction 340346034 RIEGO EE AE e E de 60 8 2 Serialization Dialogue Screen 61 82 1 senal number File ss esu tr oso cerdo aes RS 62 8 2 2 Serial number formats 62 8 2 2 1 HEX MSB first MSW first LSW LSB first formats 63 92 22 BCD format toco ete ees A 66 82 2 3 Re eek oe eee eet oe RE 69 8 2 3 Model Group 72 8 2 4 Device Serialization DOX 32 8 2 5 Bar Code Scanner setup 73 8 3 Serialization Report Dialogue Screen 74 8 4 fet wees aren iat eaten ten ot Salads or No 75 D Check Sum Options 6532 eed doth ek Put xad Dados eg eee a 79 9 1 Check Sul pes values e muro e Og RU Ra 82 10 BSL Password and Access tud A ARA BARRA RA A A EC 87 LS WIC OCONDIAUOU co Sacco 30 itr NC dk REE T de 89 12 Script File defined programming sequence 91 SonptBultOl sce es xd Gein aud we heave we ded Dore de 91 122 SSGrIpt HIC
80. conds 1 to 100000 range 1ms to 100 s FlashPro430 USB MSP430 Flash Programmer 10 04 Rev 25 94 OPENDLLFILE filename FxControl DLL file Full path and DLL File name LOADCFGFILE filename Configuration file Full path and File name LOADCODEFILE filename Code file Full path and File name LOADPASSWFILE filename Password file Full path and File name LOADSNFILE filename File with Serial Number list Full path and File name VCCOFF Turn OFF Vcc from programming adapter to target device VCCON Turn ON Vcc from programming adapter to target device Note Vcc from FPA must be enabled first using configuration file RESET equivalent to pressed button RESET on the main dialogue screen AUTOPROGRAM equivalent to pressed button AUTOPROGRAM on the main dialogue screen VERIFYFUSE equivalent to pressed button VERIFY SEC FUSE on the main dialogue screen VERIFYPASSWORD equivalent to pressed button VERIFY PASSWORD on the main dialogue screen ERASEFLASH equivalent to pressed button ERASE FLASH on the main dialogue screen BLANKCHECK equivalent to pressed button BLANK CHECK on the main dialogue screen WRITEFLASH equivalent to pressed button WRITE FLASH on the main dialogue screen VERIFYFLASH equivalent to pressed button VERIFY FLASH on the main dialogue screen READFLASH equivalent to pressed button READ COPY on the main dialogue screen READSN equivalent to pressed button READ SN on the main dialogue screen BLOWFUSE
81. d 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 Code 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 FlashPro430 USB MSP430 Flash Programmer PMO10A04 Rev 25 73 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 o
82. desired code file etc Programmer s configuration should be saved using Save setup us option 3 When test code is downloaded and processor started if enabled in test A cfg file then message box is displayed and software is waiting until button YES NO is press Meantime manual target s device test can be done If test is positive then button OK should be pressed Or button NO if test failed 4 When button OK has been pressed then programmer downloads finalcode cfg configuration file to programmer Current configuration can activate serialization if required reload final FlashPro430 USB MSP430 Flash Programmer 10 04 Rev 25 96 code to be downloaded etc When the new configuration is reloaded then final code is downloaded to target device serialization is created etc 5 On the end programmer returns to beginning and waiting for the next target device to be connected 7 f Script file demo program without DLL file gt START VCCOFF MESSAGEBOX OKCANCEL VCC if OFF now Connect the test board When ready press the button to test the board CANCEL to exit from program IF BUTTONCANCEL GOTO finish LOADCFGFILE C Elprotronic Project Cpp Net USB MSP430Prg test A cfg MESSAGEBOX OK Press OK to download the test program
83. displayed Figure 3 1 3 Found New Hardware Wizard Please wait while the wizard installs the software USB FP4 BOOT Hardware Installation A The software you are installing for this hardware USB FPA BOOT has not passed Windows testing to verify its compatibility with Windows XP why this testing is important Continuing your installation of this software may impair or destabilize the correct operation of your system either immediately or in the future Microsoft strongly recommends that you stop this installation now and contact the hardware vendor for software that has passed Windows Logo testing Continue Anyway STOP Installation Figure 3 1 3 4 Ignore this message and press button Continue Anyway The first USB FPA BOOT driver should be installed and following message displayed Figure 3 1 4 FlashPro430 USB MSP430 Flash Programmer 10 04 Rev 25 16 Found New Hardware Wizard pt Completing the Found New Hardware Wizard The wizard has finished installing the software for e USB FPA BOOT Click Finish to close the wizard lt Back Caricel Figure 3 1 4 5 Press Finish button After a few seconds the second new hardware will be found the USB FPA Elprotronic Repeat the procedures 1 2 3 4 5 as above and on the end the second driver for the USB FPA Elprotronic will be installed see Figure 3 1 5 Found New Hardware Wizard
84. e used Before use the new MSP430 dll with IDE debugging software you have check if IDE software has the MSP430 dll file If not then software you have is using private communication protocol and our programming adapter will not be able to use with that software The Elprotronic s MSP430 dll software package contains one dll file MSP430 FPA dll DLL interface between IDE software and Elprotronic s adapter and this Read me File Protocol in MSP430 FPA dll is compatible with TT s standard used with original T s msp430 dll To satisfy communication between IDE software and USB MSP430 FPA adapter installation of the MSP430 FPA dll is required When original MSP430 dll file in IDE software is replaced with MSP430 FPA dll file renamed to original name MSP430 dlI then full communication with IDE software and adapter 15 established To avoid file names conflict the original MSP430 dll file should be renamed e g to MSP430 TI dll The original adapter e g TT s FET will not have communication with IDE software until original MSP430 dll file is restored FlashPro430 GangPro430 adapters have ability to modify JTAG and Spy Bi Wire communication speed In TT s adapter communication speed is fixed and msp430 dll protocol does not have any instructions that can modify communication speed An extra option has been prepared in MSP430 FPA dll that can set communication speed by selecting port LPT or USB in IDE software Port number or name in IDE software
85. e 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 if data does not exist in the code file When code size exceeds Flash 00 01 02 03 04 05 06 07 08 09 OA OB OC OD OE OF Ascii 4 4 D P DR 4GXG U d U IIo 4 ore GP 80 99 50 da Bodo a Figure 5 1 FlashPro430 USB MSP430 Flash Programmer PMO10A04 Rev 25 44 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 of 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 d
86. ect password for the first try Please select the password that should be used first C Default from the password file if present or from the code file C First Password from the Password file C First Password from the Code file First Password empty password all OxFF If the first password failed to unlock the device then default passwords will be used to unlock device Do not show this message as long as the setup is same x Figure 4 4 7 If the first password failed to unlock the device then the default passwords will be used to unlock the device If that happened then of course some application cannot use the MSP if the application is using the DCO calibration content saved in the Info A segment The DCO calibration data should be restored first If the DCO calibration data are erased then the FlashPro430 software can recalibrate the DCO constants using access via JTAG Spy Bi Wire or Fast BSL No extra hardware is required The DCO are calibrated with tolerance 1 for desired frequency and the DCO constants are saved in the flash memory See chapter 6 for details how to make the setup for the DCO recalibration The BSL firmware version 2 0 and higher allows to disable the feature that the memory is erased when the password is incorrect and retry the BSL password again If this option is used then the Info A segment will not be erased and the DCO constants would be saved See the BSL Password and Acc
87. ed Texas Instruments txt TT s Code Composer Essentials out Intel hex Motorola s19 s28 s37 UBROF 9 d43 IAR debug Intel or Motorola a43 formats When the TI s CCE file is used then the path for the TI s hex430 exe file should be specified See Preferences dialog for details open Look in TmpCode 937 m Ej Blink 2011 d43 Eval Blink Ext test 32k2 txt E Blink 2011 txt MemView txt FE test 5Sk txt E BSLPassword txt Target m hex B test 120k txt E Code Ext E Target m Ext B test 120k main txt E code_mem txt 2 test 2k txt 2 test 120k t txt E EB1 txt test 4k txt E test 512bytes txt i File name test2k tut Files of type tut 519 528 lt 37 hex d43 a43 c Y Cancel debug Intel Motorola 243 CCE Figure 4 3 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 3 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 3 2 will be displayed FlashPro430 USB MSP430 Flash Programmer PMO10A04 Rev 25 27 Code size exceeds FLASH memory available on the microcontroller Check the code file or change the
88. ed the TT s CCE out file The hex430 exe file is supplied with the T s Code Composer Essentials debugger and by default is located in directory C Program Files Texas Instruments VCC 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 CCE out option is used and the hex430 exe file cannot be found then following message is displayed Figure 7 4 Error hex430 exe file not found Zr x ws 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 HEX Conversion Utility group enter the location of the hex430 exe utility File By default the hex430 exe is located in the Code Composer Essentials directory Figure 7 4 FlashPro430 USB MSP430 Flash Programmer 10 04 Rev 25 58 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 to 8 characters approximately 20 last communication messages When disabled then the only
89. efresh Paste Paste Shortcut Undo Copy Foe Shortcut Properties a e Briefcase 01 Microsoft Word Document gu Microsoft PowerPoint Presentation Figure 13 3 3 Using Browse in the Create Shortcut dialogue box select the following executable file Create Shortcut _ 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 JSB FlashPro4301USB MSP430 Prg exe Browse Click Next to continue Back Cancel Figure 13 3 4 FlashPro430 USB MSP430 Flash Programmer PMO10A04 Rev 25 106 C Program Files Elprotronic USB FlashPro430NUSB MSP430 Prg exe see Figure 13 4 and at the and add the required command keys see Figure 13 5 eg C Program Files Elprotronic USB FlashPro430 USB MSP430 Prg exe lock sf E ElproTronic MFG prg 04 cfg Create Shortcut 3 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 Pro exe lock sf E MFG pra 04 cfc Browse Click Next to continue Back Cancel Figure 13 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 Fla
90. elease JT G Yes Spy Biwire JTAG Supported Yes Target Driver DLL Path C Program Files Elprotronic MSP430 MSP430DLL MSP430 FPA dll Use Spy Bi Wire No Vee mV 3 300 Loader Enable Info Segment amp Erase Write No Erase All Yes FlashPro430 USB MSP430 Flash Programmer PMO10A04 Rev 25 130 Targets tv amp Rowley MSP430 USB CrossConnect a TI MSP FET 430PIF TI MSP FET430UIF JTAG TI MSP FET43DUIF SBW TI ez430 9 MSP430 Core Simulator Elprotronic USB FPA JTAG 4Mb s Elprotronic JTAG TMb s nic US 00kb amp onic USB FPA kb s Properties Window gn Target Properties Setting Connection Implement Software Breakpoints No Is 5 Device Yes Port Name 3 Release JTAG Yes Spy BiWireAI TAG Supported Yes Target Driver DLL Path C Program Files Elprotronic MSP430 MSP430DLL MSP430 FPA dll Use Spy Bi Wire No mV 3 300 y Loader Enable Info Segment Erase write No Erase All Yes Targets e Rowley MSP430 LISB CrossConnect S TI MSP FET430PIF TI JTAG TI SBW TI e2430 MSP430 Core Simulator Ge Elprotronic USB FPA JTAG 4Mb s le Elprotronic 5 JTAG 1Mb s us Properties Window gis 4 i Search Properties Target Properties Setting Connection Implement Software Breakpoints No Is USB Device Yes Port Name 2
91. elect Run Using Browse find and select executable file see Figure 13 3 1 C Program Files Elprotronic USB FlashPro430 USB MSP430 Prg exe 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 Figure13 3 1 and at the end enter the required key with name of the setup file eg C Program Files Elprotronic USB FlashPro430 USB MSP430 Prg exe sf E ElproTronic MFG prg 04 cfg 8 4x 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 Cancel Browse Figure 13 3 2 FlashPro430 USB MSP430 Flash Programmer PMO10A04 Rev 25 105 To fully lock the configuration setup the extra key lock can be added in the command line eg C Program Files Elprotronic USB FlashPro430NUSB MSP430 Prg exe lock sf E ElproTronic MFG prg 04 cfg or C Program Files Elprotronic USB FlashPro430NUSB MSP430 Prg 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 13 3 3 Arrange Icons By gt R
92. ent 1 Model Group Revision v EMABLE Text size in Bytes 32 2 32 even number Start Address in Memory 0 1010 must even address Asci 01 0003 07 123 0 bytes Cancel Figure 8 2 FlashPro430 USB MSP430 Flash Programmer PMO10A04 Rev 25 61 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 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 2 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 un
93. ents downloaded to target device can be encrypted and blocked against unauthorised access 2 1 2 Script file To extend programming features programming software supports user defined programming sequences saved in the script file That easy method can be created by any user without knowing programming languages and techniques Programming sequence up to 1000 lines can be created lines contains sequence of the pressed buttons with extra few condition options This programming method is described in chapter 10 on this manual Script file option is not available in lite software version 2 1 3 DLLs When the customized programming sequence is not covering customer s requirements then an attached to software package DLLs can be used DLLs allows to fully control programming adapter from external software written in MS Visual C MS Visual Basic LABView DOS other programming packages like Borland C etc See Fast MSP430 Flash Programmer Remote Control Programming User s Guide for details 2 1 4 Self Test Program Software package contains the Self Test program that allows to check the adapter target device and connection functionality The Self Test program uses the API DLL for communication between Self Test Program and hardware See Appendix B in this manual for details FlashPro430 USB MSP430 Flash Programmer 10 04 Rev 25 13 3 Getting Started The X Pro430 programmer package contains l 2 3 3 1
94. ess chapter 9 for details In the F5xx MCU the new BSL firmware is implemented with shorter password 16 bytes only and with fixed option that allows to try the password only once If password is wrong then the FlashPro430 USB MSP430 Flash Programmer 10 04 Rev 25 34 whole flash memory is erased including protected Info segments It should be noticed that in the F5xx all calibration data are not located in the regular flash location info or main memory segments and all calibration data will not be erased 4 5 Power Device from Adapter The programming adapter is powered from the Power Device from Adapter 32v 100 Enable Voltage POWER ON OFF O in figure 4 5 2 will be displayed If you confirm this selection by clicking YES then POWER ON OFF RESET 313 button is enabled By clicking POWER ON OFF button Figure 4 5 1 you can turn the power on or off on the target device USB Port interface Target device will be powered from the adapter if check box Enable in the Power Device from Adapter group figure 4 5 1 is selected When the Enable checkbox is selected a warning message shown Current DC voltage on the target device is permanently monitored and displayed in the Device Voltage field in the Power Device from Adapter group even if the target device is powered from the external DC sources If DC voltage is higher then 2 7 V then yellow box will
95. ettings 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 13 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 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 FlashPro430 software cannot be used with the FET Pro430 or GangPro430 and vice verse Each project file should be create in the same type of software Project file is
96. even if the data are specified in the code file When any data should be downloaded to INFO A segment then the including INFO A in MSP430F2xx should be selected The DCO constants in the Retain Data in Flash group should be selected if the DCO constants should be restored after erasing the INFO A segment 3 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 file will be ignored if 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 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
97. f the created serial numbers format date and time of programming is displayed on the white report box see Figure 8 3 1 Serial numbers 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 Elprotronic Project Cpp Net USB MSP430Prg data_mem sn The Highest Serial Number Line 32 0092 F1 060800093 AUG 17 2006 22 21 Delete SN Line Tes 0133 20070008 MAR 13 2007 17 40 Delete SN Line Format Serial Number Date Time Legend Report 0120 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 NewSN 0123 FO 20070003 MAR 13 2007 17 29 0124 FO 20070004 MAR 13 2007 17 29 6 UnmodfedSN 0125 20070005 MAR 13 2007 17 32 YYDDD1234 5 mmo 0126 FO 20070006 MAR 13 2007 17 32 12345678 0127 FO 20070007 MAR 13 2007 17 33 1234 5 0128 FO 20070008 MAR 13 2007 17 34 0 Manualy entered SN 325 Fo 20070009 MAR 132007 17 34 Custom 0130 FO 20070003 MAR 13 2007 17 35 mmu 0131 FO 20070009 MAR 13 2007 17 36 d 0132 FO 20070009 MAR 13 2007 17 37 0133 FO 20070009 MAR 13 2007
98. hen flash memory needs to be erased Auto Program executes the following procedures reload code file when Reload Code File is selected useful for debugging when the code file is frequently modified initialization read labelling information Serial Number Model Group Revision optional calculate defined Check Sum or CRC if selected erase flash memory confirm if memory has been erase flash programming and verification labelling information generation flash memory check sum verification retrieve labelling information calibrating DCO frequency if enabled blowing the security fuse if enabled In the report window you can see a typical report message during the Auto Program procedure see Fig 4 6 3 Status window see fig 4 6 4 has a counter that is useful in production process The total number of programmed microcontrollers can be 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 When the serialization from file option is used then in the bottom line is displayed the number of the serial numbers left in the list Note Balance counter works only with Auto Program procedure FlashPro430 USB MSP430 Flash Programmer 10 04 Rev 25 38 4 6 2 Verify Security
99. hout the need to follow a specific sequence of actions Every action starts by powering up the target device if Power Device from the Adapter is enabled When the DC voltage level becomes higher then 2 7V the communication with the target device is initiated via JTAG SBW or BSL Interface When the JTAG SBW Interface is selected then the security fuse Device Action 14 gt Device Action Reload Code File Reload Code File auroPROG vi Verify Security Fuse Verify Password ERasEFLAsH __ERASEFLASH v __BLANK CHECK wRiTEFLASH whRITEFLASH wRITESN Model wRITESN Modd _ 5 __ VERIFY FLASH pcocaltration _ 0 __ DEO Calibration Figure 4 6 1 Figure 4 6 2 JTAG SBW Interface BSL Interface selected selected FlashPro430 USB MSP430 Flash Programmer 10 04 Rev 25 36 is verified if access to the microcontroller is available When the BSL Interface is selected then the password is verified to unlock access to the microcontroller and the Fast BSL is downloaded to the target device Once the specified action is completed successfully the green check mark will appear Also the device will return to the state it was in before the action was executed Progress of all actions is displayed in the report window If the particular action ha
100. ialization Adapter Rev 2 200300021 READ 5M Model Group Revision Adapter Hev 2 SM 200300022 Format yup 12345 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 Figure 8 2 FlashPro430 USB MSP430 Flash Programmer 10 04 Rev 25 72 The Next Model Group Revision and Next SN edit lines can contain any SN and text 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 connecte
101. ication 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 Check Sum Options Check Sum Processing Setup x Initial value OxFFFFFFFF Y POLY CS Result Inverted Data IN word size 8 bits CS result size 32 bits Overwrite code contents if present where the CS result is saved C5 Addresses definition m CS Result in Flash Enable Start Address Stop Address Save Enable CS Address Iv cst oxscoo IV 1 cs 2 ox10000 0x45BFF M cs 2 ox1804 cs 3 0x1000 0 1000 5 4 0 1000 4 0 1000 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 FlashPro430 USB MSP430 Flash Programmer PM010A04 Rev 25 80 Start Address should be even and the Stop Address should be odd CS result 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
102. ication only Toggle Vcc OFF time 50 50 5000 Target Device action C Keep RESET line active on low level default Hardware Reset RST line and start the application program Soft Reset JTAG only and start the application program OFF ON and start the application program Vcc OFF time ms 50 5000 r Application Program RUN time 5 5 0 120 Enter 0 second For unlimited time For JTAG TDI only v Enable Generator on the JTAG TDI pin eg for the DCO calibration etc Period 0 50000 us 20 0 5 us Frequency 2000 0 kHz 1 256 Enable 250 Hz CLK on the BSL TX pin duration max 120 s Refresh Tri stated LISB FPA 4 0 and up only gt lines 5 TCK TDI state when Finished Figure 7 2 FlashPro430 USB MSP430 Flash Programmer PM010A04 Rev 25 55 7 2 1 Reset pulse duration The reset pulse allows the adapter to initiate communication with a microcontroller using the JTAG or BSL Interface In most cases the pulse width of 10ms is sufficient to initiate communication process However this may be affected by additional load on the reset line Therefore four additional settings 100 200 500 ms and custom are available When the RESET IC circuit is used then the custom defined reset pulse duration can be used Two parameters of the custom definde reset pulse are defined initialization reset
103. ility hex430 exe Default location in CCE Program Files Texas Instruments CC Essentials v3 1 tools compiler MSP430 bin hex430 exe C Program Files Texas Instruments CC Essentials 3 1 tools compiler MSP430 binjhex Browse Options v Report History Display Enable Audio Speaker Enable Beep when OK Enable Sound Enable Done OK sound C AWINDOWS Media Windows XP Balloon way Browse Warning sound C AWINDOWS Medial Windows XP Exclamation waw Play Browse Error sound CAWINDOWSIMedialWindows Battery Low wav Play Browse Cancel OK Figure 7 3 FlashPro430 USB MSP430 Flash Programmer 10 04 Rev 25 57 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 select
104. integer number is saved as a first word and the second number as a next word in the Flash memory location FlashPro430 USB MSP430 Flash Programmer 10 04 Rev 25 63 When format HEX LS W LSB first is selected then the first hex integer number is saved as a second word and the second number as a first word in the Flash memory location Display Format 1234 5 size in FLASH 4 bytes SN 200300123 will be saved as YYYY 2003 Decy gt 0x07D3 hex 12345 00123 gt 0x007B hex 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 Ox012F hex 12345 00123 gt 0x007B hex In flash memory this number can be seen as 012F 007B gt HEX MSW first 007B 012 gt HEX LSW first or lt Hex format bytes gt Size 4 bytes 2F 01 7B 00 gt HEX MSW first 7B 00 2F OI gt HEX LSW first FlashPro430 USB MSP430 Flash Programmer 10 04 Rev 25
105. ique 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 FlashPro430 USB MSP430 Flash Programmer 10 04 Rev 25 62 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 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 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
106. ired project option Project Security Options 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 where X hex Locking options Locked Project Locked Read options Untock with password Password Repeat password Case sensitive password ce Figure 13 2 1 FlashPro430 USB MSP430 Flash Programmer 10 04 Rev 25 101 Following options can be selected 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 password 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 cre
107. ize in FLASH 10 bytes SN 0405110123 will be saved as YYMMDD 040511 gt 0x30 0x34 0x30 0x35 0x31 0x31 bytes or AOR 750 T 1234 0123 gt 0x30 0x31 0x32 0x33 bytes FlashPro430 USB MSP430 Flash Programmer 10 04 Rev 25 69 Or 0 SL In flash memory this number can be seen as lt Hex format gt Ascii format 30 34 30 35 31 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 Qr ceo c 1234 0123 gt 0x30 0x31 0x32 0x33 bytes or 0 T In flash memory this number can be seen as lt Hex format gt lt Ascii format 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 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 FlashPro430 USB MSP430 Flash Programmer 10 04 Rev 25 70 lt Hex format gt Ascii format 31 32 33 34 1234 Size
108. le APPEND REPORT tmp file txt recommended full path and name 1 line max 50 lines optional 1 line max 50 lines optional optional recommended full path and name GOTO finish testOK MESSAGE 1 Test OK 2 nd line GOTO saveMsg gt testFailed MESSAGE Test Failed 2 nd line ete gt saveMsg SAVEMSG tmp file txt RETURN gt fileerror MESSAGE Config or Code file op Program terminated SAVEMSG tmp file txt end exit n rror 1 line max 50 lines recommended full path and name FlashPro430 USB MSP430 Flash Programmer 10 04 Rev 25 98 gt finish END Below is the next script file examples uses DLL file that allows to control testing process via function written in the DLL Functionality is the same as in the example above but instead manually confirmation of the test result the result is taken automatically from the DLL function Two functions has bee used for this purpouse FCONTROL calls external user defined function in the DLL IF CONTROL 0 GOTO START test status from the rcoNTROL and if result is 0 FALSE then procedure returns to start Required DLL file should be created first Script file demo program with DLL file OPENDLLFILE C Program Files Elprotronic FxControl DLL release FxControl dll gt START VCCOFF MESSAGEBOX OKCANCEL V
109. mer 10 04 Rev 25 108 run on DC voltage as low as 1 8V this low voltage is insufficient to reliably program FLASH memory All data I O pins on the adapter to target connection are protected and have output impedance of 100 ohms to 470 ohms Input impedance of the BLTx In and TDO In is higher then 100 Target board input resistance of the RST BLRX TEST TDI TMS and TCK inputs should be at least 10 Output impedance of the BLTX and TDO output should not exceed 1kQ schematic of the JTAG SBW BSL connections in the FlashPro430 is shown on Figure 12 2 USB MSP430 FPA 2 0 and 12 3 USB FPA 4 x ELPROTRONIC INC apr FUSE BURN SWITCHES 2 2 3 6V 42 45 D BSL OUT C gt BSL IN lt BSL EN TEST TMS TOI 1 Py Tol 2 1 SBW vcc sw 220 lt I TOO OUT lt I TCK 1 VOLTAGE FROM up REGULATOR USB MSP430 FPA 2 0 Figure 14 2 FlashPro430 USB MSP430 Flash Programmer 10 04 Rev 25 109 ELPROTRONIC INC vec VCC IN VCC OUT 2 2 3 6V 6 5 FUSE BURN SWITCHES BSL OUT TDO OUT C TMS TDI EN lt I TCK Vout OFF VCC SW 21 VOLTAGE FROM uP 2 6v REGULATOR 2 8V 5 0V 3 2V 3 4 USB FPA 4 0 USB FPA 4 1 JTAG SBW BSL connection Figure 14 3 FlashPro430 USB MSP430 Flash Programmer PMO10A04 Rev 25 110 I5 Target connection The Fast USB MSP430
110. mmer 10 04 Rev 25 39 4 6 5 Write Flash button When write flash button is clicked then contents from the code file with defined Check Sum if selected will be written to the flash memory Note See chapter 5 1 Memory Erase Write Group for details on how to specify memory segment for writing When the second time target device is programmed then the following warning message is displayed OOOO 0 9 Please erase flash memory first j It is not recommended to write to the same location of the flash memory more then once without erasing the flash See the MSP430 specification For details Would you like to write to Flash anyway Cancel Figure 4 6 5 1 4 6 6 Verify Flash button The Verify Flash function compares the contents of the flash memory with data from the code Check Sum Source 007752787 Memory 007752787 v Figure 4 6 6 1 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 FlashPro430 USB MSP430 Flash Programmer 10 04 Rev 25 40 If the JTAG SBW Interface is selected or BSL Interface with communication speed of 75 or 300 kb s is selected then the check sum is verified first Check sum calculated from the code file data is displayed in the Source line of the Check Sum group see Fig 4 6 6 1
111. nd to comply with the limits for a Class B digital devices pursuant to Part 15 of the FCC Rules These limits are designed to provide reasonable protection against harmful interference in a residential installation This equipment generates uses and can radiate radio frequency energy and if not installed and used in accordance with the instruction manual may cause harmful interference to radio communications However there is no guarantee that interference will not occur in a particular installation If this equipment does cause harmful interference to radio or television reception which can be determined by turning the equipment off and on the user is encouraged to try to correct the interference by one of more of the following measures Reorient relocate the receiving antenna Increase the separation between the equipment and receiver Connect the equipment into an outlet on a circuit different from that to which the receiver is connected Consult the dealer or an experienced radio TV technician for help x Warning Changes or modifications not expressly approved by Elprotronic Inc could void the user s authority to operate the equipment This Class B digital apparatus meets all requirements of the Canadian Interference Causing Equipment Regulations Cet appereil numerique de la classe B respecte toutes les exigences du Reglement sur le material brouilleur du Canada Table of Contents dlntroduchon ei eee Ce ee
112. nds after switching off the power from FPA otherwise test failed The Self Test programming software package is located in directory C Program Files Elprotronic MSP430 USB FlashPro430NSelf Test and contains following files MSP430FPA dll Multi FPA selection distribution DLL MSP430FPAI dll USB FPA DLL config ini default configuration file for the FPAs FlashPro430SelfTest exe executable file FlashPro430 USB MSP430 Flash Programmer 10 04 Rev 25 134 To run the executable file FlashPro430SelfTest exe itin the other location the files listed above should be copied as is to destination directory FlashPro430 USB MSP430 Flash Programmer 10 04 Rev 25 135
113. nly FlashPro430 USB MSP430 Flash Programmer 10 04 Rev 25 21 4 Programming Dialogue Screen FlashPro430 Fast USB MSP430 Flash Programmer Elprotronic Inc File view Setup Tools Serialization About Help Dpen Code File gt test F5x 256k main path EE lprotronic Project MSP APPLAT path SN Fite Power Device from amp dapter r Blow Security Fuse Open Password File gt r Microcontroller Type r Status Group MSP430F5xx MSP430F5437 v Target MSP430F5437 BSL ver 0 00 Total Balance 0 Lu 32v 100m4 Enable POWER ON OFF RESET Le Device Voltage L r Check Sum r Selected Device Information RAM 16384 bytes FLASH 256 kB Report Verifying Security Fuse Reading Target Label Erasing memory JTAG communication initialization All memory Blank checking Flash programming Writing SN 20090001 Verifying check sum Reading T arget Label D ON E run time 7 4 sec Adapter 430 Standard Interface JTAG 4 Mb s Memory QxF236EFFC v Source F23BEFFC r Device Serialization Rev2 20090001 Read SN Next Model Group Revision Rev 2 Next SN 20080002 Format yyyy1234 101 r Interface JTAG 4 wires C Spy Bi Wire 2 wires C BSL Enable Device Action Reload Code File v AuroPROG
114. o high communication speed i the JTAG lines should be connected directly from the connector to MCU Traces should be as short as possible No extra capacitors diodes etc MSP430F14x BSL If Fast BSL is used then BSL Tx and BSL Rx lines should be connected directly or via resistors not exceeded 500 ohms to JTAG BSL the JTAG BSL connector No extra capacitors diodes suppressors can be connected to the BSL Tx and BSL Rx lines Header Top view max 500 ohms max 500 ohms up to 400 kb s No extra capacitors diodes etc JTAG Due to high No extra capacitors diodes etc communication speed up to 4 Mb s the JTAG lines should be connected directly Ep from the connector to pe Ml MCU Traces should be as short as possible BSL Rx m BSL Fast BSL is used then BSL Tx and Heoder Top view BSL Rx lines should be connected directly or JTAG BSL via resistors not exceeded 500 ohms to the JTAG BSL connector No extra capacitors diodes suppressors can be connected to the BSL Tx and BSL Rx lines TEST P17 1A2 100 22 vec P1 6 Ta1 H3 3p2 5 R0sC P1 5 TA0 TMS H vss P1 4 SMCLK TCK 2 P12 TA1 PL1 TAO 2 2 P1 0 TACLK ADC 3 1 P2 4 TA2 A4 VR E2 2 RX 3 2 TAO A2 P2 3 TA1 A3 VR
115. o 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 FlashPro430 USB MSP430 Flash Programmer 10 04 Rev 25 88 11 DCO calibration If an application software uses the DCO as a main clock in the MPS430Fxx microcontroller then an execution time is related to the DCO frequency When the DCO is not calibrated then the DCO frequency variation from unit to unit can be 30 or more See TT s data sheet for details In the F2xx family the DCO frequencies have been calibrated in production process and calibration data saved in the Info Memory for the DCO frequencies IMHz 8
116. ontoller s pins In some designs protecting components are added such as resistors capacitors diodes or suppressors Care should be taken when such components are added especially on the data Rx and Tx lines When the standard BSL communication speed is used between the target microcontroller and programming adapter 9 6kb s then the protecting circuitry in the data path will not affect the communication between them If a faster communication speed is used with MSP430 Fast BSL programming adapter then the protecting circuitry can create a problem This prevents the use of 350kb s communication speed In extreme cases the user may need to revert to standard BSL speed It is recommended that maximum resistance between Tx Rx microcontroller pins and BSL connector does not exceed 500 Additional capacitors if installed between data path and ground should not exceed SOpF Due to high communication speed up to 4Mbit s between Programming Adapter and the target s device when JTAG Interface is used the target s device JTAG lines should be connected directly to the JTAG BSL connector without extra components to avoid communication problem If from any reason the target device contains extra components like capacitors or suppressors in the JTAG lines then the slower JTAG communication speed can be selected The Flash Pro430 software allows to select 4Mb s 1Mb s and 400 kb s JTAG communication speed between programming adapter and target device
117. ound New Hardware Wizard Welcome to the Found New Hardware Wizard Windows will search for current and updated software by looking on your computer on the hardware installation CD or on the Windows Update Web site with your permission Read our privacy policy Can Windows connect to Windows Update to search for software Yes this time only Yes now and every time connect a device C No not this time Click Next to continue lt Back Cancel Figure 3 1 1 Follow the wizard instruction to install the drivers 1 In the first Wizard dialogue screen see Figure 3 1 1 select the Yes this time only option 2 In the second Wizard dialogue screen see Figure 3 1 2 select the Instal the software automatically Recommend and press NEXT button Found New Hardware Wizard This wizard helps you install software for 5 If your hardware came with an installation CD lt 4 or floppy disk insert it now What do you want the wizard to do Install the software automatically Recommended Install from a list or specific location Advanced Click Next to continue lt Back Next gt Cancel Figure 3 1 2 FlashPro430 USB MSP430 Flash Programmer PMO10A04 25 15 3 Software will search the driver for the USB FPA BOOT It can take minute to find it When the driver is found then the following warning will be
118. previously selected code segments After the addition of each file the window in Figure 4 3 3 will be shown The window shows the status of previous append operations 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 3 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 3 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 the window in Figure 4 3 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 Code File and Save Code File options Se oc Save in MFG gt 2 p f ASO10x02 1v1 txt AS010X02 1v2 txt MspAdapter v10 txt MspAdapter V11 txt MspAdapter V11 old txt MspAdapter V12 txt
119. production purpose 12 3 Script commands LIMITATIONS 1 Up to 1000 script lines commands can be used Empty lines and lines with comments only are ignored and not counted 2 Up to 50 CALL s deep stack is used CALL in CALL in CALL SYNTAX white spaces before instructions labels etc are ignored comment all contents after semicolon are ignored NOTE Comment can not be used in the lines where the file name is specified gt label character gt without spaces must be placed before label name NOTE After label can not be specified any command in the same line Line can contain label only LIST OF INSTRUCTIONS MESSAGE message declaration that can be saved to file if required message line 1 Text message line 2 Each line contents must be located between characters max up to 50 lines Number of content lines up to 50 lines SAVEMSG filename save message created in MESSAGE to specified file FlashPro430 USB MSP430 Flash Programmer 10 04 Rev 25 93 APPENDMSG filename append message created in MESSAGE to specified file SAVEREPORT filename save message from the GUI report window to specified file APPENDREPORT filename append message from the GUI report window to specified file GUIMSGBOX ENABLE display the message boxes warning errors etc created by GUI enabled GUIMSGBOX DISABLE display the message boxes warning errors etc created by GUI disabled
120. pulse time typically very short 1 ms and an idle reset time Idle reset time must be set at least to duration of the reset time generated by the RESET circuit If the RESET line is not connected to the target s microcontroller then hardware reset can be created by toggling the Vcc line In this case the Vee Toggle should be selected This reset option is available only with JTAG interface When the BSL interface is used then the RESET line must be connected to target s device otherwise access to the target device can not be established Note Itis recommended to always connect the target s device RESET pin to the RESET line of the programming adapter even if only the JTAG communication is used The RESET pin is used to reliable verify the JTAG security fuse during the JTAG communication initialization 7 2 2 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
121. r eg 2 2nF as it is recommended by TI for communication with FET adapter then use SLOW Spy Bi Wire selection in USB FPA FlashPro430 USB MSP430 Flash Programmer PMO10A04 Rev 25 122 Setup with IAR EW430 Embedded Workbench FPA programming adapter can be used with IAR Embedded Workbench EW430 IDE software for debugging When Gang adapter is used then only one target connected to slot 1 can be used for debugging The EW430 software has Elprotronic s FPA adapter in the list and FPA can be easily selected in IAR software Before you start the IAR software make sure that provided msp430 fpa dll in IAR software package is the latest one 1 Copy and paste the latest MSP430 FPA dll file from Elprotronic directory C Program Files Elprotronic MSP430 MSP430DLL to IAR directory C Program Files IAR Systems Embedded Workbench 5 3 430 bin 2 Run EW430 software and select from pull down menu Project gt Options gt Debugger gt FET Debugger Options for node Tm x Category Factory Settings General Options C C compiler Assembler Custom Build Setup Extra Options Plugins Build Actions Linker Driver FET Debugger Y m Setup macros FET Debugger Simulator Use macro file n m Device description file Override default TOOLKIT_DIR config MS P430F 2274 dof FlashPro430 USB MSP430 Flash Programmer 10 04 Rev 25 123 3 Options fo
122. r node EB1 END d In FET Debugger dialog screen select Elprotronic USB FPA Category Factory Settings General Options C C compiler Assembler Custom Build Setup Download Breakpoints Build Actions Linker Connection Debugger Elprotronic 5 200809251 E SoftBaugh LPT SoftBaugh USBP Parallel port 1 SoftBaugh USBPPRO Olimex USB Dlimex LPT Target VCC 30 Spy Bi wire C 4MWire JTAG Settling time ms o Simulator Attach to running target Disable memory cache Select desired Target Vcc and Debug Protocol JTAG or Spy Bi Wire FlashPro430 USB MSP430 Flash Programmer PMO10A04 Rev 25 124 Options for node M X Using button select desired Debug Protocol communication speed Category Factory Settings General Options C C compiler Assembler Custom Build Setup Download Breakpoints Build Actions inkar Connection Debugger Elprotronic 5 Y 200809251 a Simulator Parallel pot Debug protocol xi IV Override de Select SpyBiw 20080925m 20080925s C 4WiteJ automatic Suis Attach to rui To identify a connection click a port in the list to see Disable men the Mode LED on the attached USB IF light up Inthe USB selection screen will be displayed USB FPA serial number SN 20080925 on the screen with suffix equo fast
123. rget DC voltage verification Communication initialization Fuse checking or password verification Memory erase all memory or specified sectors memory Blank checking Flash programming and fast verification Serial Number and Model writing if selected Check sum verification Standard verification if selected FlashPro430 USB MSP430 Flash Programmer PMO10A04 Rev 25 120 ndix B MSP430 dll for IDE debugging software The MSP430 FPA dll library allows to use the USB FPA adapter with IDE software for debugging The DLL runs on PC under Windows 98 SE ME WinNT 2000 XP and Vista 32b Enclosed library file allow to communicate with TI CCE IAR EW430 CrossWork NoIDE Quadravox and any other IDE software if they have TIMSP430 dll as an I O driver with FlashPro430 Adapters PN USB MSP430 FPA 1 x USB MSP430 FPA 2 0 and USB FPA 4 x and GangPro430 adapters Adapters PN USB MSP430 FPA 3 0 and USB FPA 5 x When GangPro430 adapter is used then only one target connected to slot 1 can be used for debugging Use the standard 14 wires JTAG ribbon cable connected directly between FPA adapter and target devices without any Gang Splitters Standard IDE debugging software for MSP430 MCU is using MSP430 dll library as an interface between debugging software and FET Flash Emulation Tool adapter When other then TT s FET or TP s FET equivalent is used then proper DLL between debugging adapter and debugging software should b
124. roduct 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 This device complies with Part 15 of the Rules Operation is subject to the following two conditions 1 this device may not cause harmful interference and 2 this device must accept any interference received including interference that may cause undesired operation NOTE This equipment has been tested and fou
125. s all warranties 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 THE ASSOCIATED 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 MA
126. s been finished successfully then message done or OK will appear on the right side of processed procedure Fig 4 6 3 If not a message failed will be displayed and selected action will be terminated Final status is also displayed in the Status window see Fig 4 6 4 as Active blue Pass green or Fail 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 Report Reading Target Label M DO NME mntimes 1 4 sec JTAG communication initialization OF Verifying Security Fuse OF Reading Target Label done Erasing done JTAG communication initialization OF All memory Blank checking OF Flash programming done Writing Serial Number 20041273 done Verifying Flash Reading Target Label done D NE runtimez 1 4 Figure 4 6 3 FlashPro430 USB MSP430 Flash Programmer 10 04 Rev 25 37 4 6 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 memory contents Typically w
127. s for details 2 Ox10FC 0 500 MHz enforced 8 0 MHz For F2xx Ox10FA 1 000 MHz enforced to 12 0 MHz For F2xx 7 0x10F2 Figure 11 1 FlashPro430 USB MSP430 Flash Programmer PMO10A04 Rev 25 89 When the F2xx 15 detected then the DCO calibration data listed for the DCO 1 to 4 are hardcoded as itis calibrated by to frequencies 1 8 12 and 16 MHz If other DCO frequencies are required then the DCO 5 to 8 field can be used The DCO frequency can be calibrated with an internal reference resistor as default or with an external resistor if the box DCO external resistor Rosc is selected The second option is available in the MSP430F1xx family The DCO frequencies are calibrated with tolerance 1 when the Autoprogram or DCO Calibration button is pressed Results is saved in the INFO memory Note The DCO frequency is calibrated for the Vcc used during the calibration procedure The DCO calibration data can be verified using the tool from pull down menu Tools gt DCO Frequency Test see figure 11 2 x inthe dialogue screen is possible to DCO data two bytes in the Info Memory select the desired DCO calibration 0x84 1 Address Ox1OFE 1 MHz for data and check the DCO frequency 0x68 0x86 C 2 Address Ox10FC 8 MHz for F2xx for selected DCO data from Info Ox4F 0x87 C 3 Address Ox10FA 12 MHz for F2xx Ox44 0 87 C 4 Address Ox10F8 16 MH
128. s method is also useful if only part of the code is programmed in the flash append option 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 M Check Sum Source OxF236EFFC Memory OxF236EFFC 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 15 calculated as the sum of 16 bits unsigned words result is 32 bits unsigned Only programmed words are taken for calculation other not used words are ignored 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 FlashPro430 USB MSP430 Flash Programmer 10 04 Rev 25 79 In the memory line is displayed the CS result taken from the flash memory calculated in the same way as the CS taken from the source Only words defined in the source are taken from the flash memory for calculation 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 verif
129. s optional If a password file is not used then the remaining two passwords will be used three passwords can be viewed by selecting View Device Passwords selected from main menu see Fig 4 4 5 The three passwords are checked in sequence from password file from code file and default at the end The first valid password will be accepted If all passwords fail the following error message will appear Unlocking target error x The target microcontroller can mot be unlocked Unauthorized access to micrcantroller FLASH memory is prohibited Check Ehe password File For valid password or erase Flash memory to gain access Figure 4 4 6 When the F2xx or F4xx with BSL firmware version2 0 and higher are used then by default the firmware allows to verify the BSL password only once If the BSL password is wrong then the whole contents of flash memory including protected Info A segment with DCO calibration data could be erased When that kind of microcontroller is selected then the following dialog screen Figure 4 4 7 is displayed that allows to select desired BSL password to be used first FlashPro430 USB MSP430 Flash Programmer PMO10A04 Rev 25 33 Password Selector By default the selected MCU allows to make an only ONE try of the BSL password If password is incorrect then the whole contents of the memory including the Infa amp with DCO constants could be erased It is important to provide the corr
130. s useful to find out source of the problems as well as can be used at the startup when your application software uses one programming adapter only Software can be activated from the Start menu Start gt Programs gt Elprotronic Flash Programmers gt MSP430 FlashPro430 gt FlashPro430 Self Test or by running the program FlashPro430SelfTest exe from the location C Program Files Elprotronic MSP430 USB FlashPro430NSelf Test The Figure B 1 presents the GUI of the FlashPro430 Self Test Connect the Flash Programming Adapter FPA to PC USB port connect your target device to FPA select desired options in following selectors see Figure B 1 Target Device Target s Vcc Interface and 2 Self Test FlashPro430 FET Pro430 Elprotronic Inc Bf x Report FPAs SN 20060889 Scan FPAs Read Word 0x0172 222222 gt gt gt gt OK test 280 SN Any 0x0172 0x5432 S Target Device MSP430F2xx T EST 29 MSP430F2131 F Close Target Device 2222 gt gt gt gt OK test 281 4 3 2V Response gt hex 0x0001 decimal 1 Target s E Report message Reading word from target done Raser Pulso wah Target Device is Closed 10 ms Interface Select one or more UIF USB FRA JTAG 4 Mb s JTAG 1 Mb s F Close Target Device gt gt gt gt OK lt lt lt lt test 282 3rAG JT
131. shPro430 programming software will start with the selected configuration setup and locked if required FlashPro430 USB MSP430 Flash Programmer 10 04 Rev 25 107 14 Adapter description FlashPro430 programming adapter contains an interface for the MSP430F149 microcontroller a 3 3V low voltage drop regulator SPST switch to supply Vcc flat cable with 10 pins socket connector for BSL Interface 14 pins socket connector for JTAG SBW BSL Interface and DB 25 male connector as shown in figure 14 1 DC DC BSL converter interface JTAG interface USB interface JTAG Figure 14 1 FlashPro430 programming adapter is powered from the USB port The adapter s current consumption is below 50 mA Due to the low power requirement of the FlashPro430 and to the ultra low power of the MSP430Fxx programmed microcontroller a stand alone adapter with a target microcontroller does not exceed the available current from the USB port FlashPro430 contains 3 3V voltage regulator with limited output current to100mA dedicated to supply the target device However if additional circuitry is added to the target board the current requirements can exceed In this case the microcontroller should be powered from it s own power supply battery or external power supply The DC voltage required to power the MSP430Fxx microcontroller should be between 2 7V and 3 6V Although the MSP430Fxx microcontroller can FlashPro430 USB MSP430 Flash Program
132. short programming sequence not present directly in the Device Action group buttons Below is an easy script file used for downloading two independent codes to target device first code used for hardware test if possible and when hardware is ok then the second code is downloaded as the final FlashPro430 USB MSP430 Flash Programmer 10 04 Rev 25 91 code to target device The same sequence can be used with other buttons but sequence should be always repeated that of course is not convenient Using the notepad editor create the script file and save it eg as the file fest sf or any other file name See this chapter below for all available instructions that can be used in the script file easy script file LOADCFGFILE C Program Files Elprotronic MSP430 USB FlashPro430 test cfg LOADCODEFILE C Program Files Elprotronic MSP430 USB FlashPro430 test cfg AUTOPROGRAM now the hardware is tested according to downloaded firmware MESSAGEBOX YESNO Press YES when the test finished successfully Press NO when the test failed IF BUTTONNO GOTO finish LOADCFGFILE C Program Files Elprotronic MSP430 USB FlashPro430 final cfg LOADCODEFILE C Program Files Elprotronic MSP430 USB FlashPro430 final cfg AUTOPROGRAM gt finish END When the script file above is used then the first configuration file and the fist code file is downloaded and Autoprogram
133. t 0x01 0x23 bytes When flash memory bytes are viewed then this number can be seen as 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 YYMM 1234 size in FLASH 4 bytes SN 03030123 will be saved as YYMM 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 Oxll 1234 0123 gt 0x01 0x23 In flash memory this number can be seen as FlashPro430 USB MSP430 Flash Programmer 10 04 Rev 25 67 lt Hex format bytes gt 04 05 11 01 23 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 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
134. t file directly but can be reloaded in fully using configuration file From the script file any configuration files can be called at any time that allows to modify programmer configuration This method can simplify programming process using script file and allows to use full options available in the programmer Programming sequence conditions can be taken from user defined procedures attached as an independent DLL if required Programmer has two entry for taking the sequence from the script file 1 By pressing the Script File button in the Main dialog 2 By using the rf with the executable file 12 1 Script button The Script button is the dynamically programmable device action 21 _ PEAD corv button that allows to take a desired action taken from the script file The Script File none Script button has a name Script File none Figure 12 1 if the script file _ is not defined or Script with used file name when the script file is active Fi 12 1 n igure 12 Figure 12 2 When the Script button is pressed and the current script file mee is not active then the Open File dialog is displayed and the desired script E Harte file should be selected When the Script file button is not empty and the new script file if required then the new file can be selected from the pull TNI AUTO PROGRAM down menu File gt Open Script File Figure 12 2 The Script button is very useful for implementing a
135. tails 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 Following message shown on figure 4 6 7 2 is displayed When the button OK is pressed then programmer is ready to program the destination microcontrollers FlashPro430 USB MSP430 Flash Programmer 10 04 Rev 25 41 Flash Memory Data Addr 00 01 02 03 04 05 06 07 08 09 0 OD OE OF Ascii 8 C 00 0 0 wt Pov HG fog eid 5 3 0 2 e He 1 B Ll 77 Convert to TI format Copy Paste to Notepad Exit Figure 4 6 7 1 Copy Flash xi Contents of the Flash Memory has been saved in the file E MSP APPL TmpCodeltest copy txt and opened as a current Code File xl Note The All Memory option in Write Erase Verify Address Range has been selected Serialization 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 6 7 2 Flash
136. thmetic 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 FlashPro430 USB MSP430 Flash Programmer 10 04 Rev 25 83 CS initial value for addr StartAddress addr lt EndAddress addr addr 2 CS CS unsigned long data addr unsigned long data addr 1 CS OxFFFFFFFF amp CS if cs_inverted CS OxFFFFFFFF CS CRCI6 Poly 0x11201 8b 16b Named as CRCCCITT and CRCI6 defined polynomial 8b I6b Check Sum is calculated as CRC16 from each bytes from Startto the End Addresses as follows CS CS initial value for addr StartAddress addr lt EndAddress addr CS CS CRC16 8tol6 long data addr CS CS OxFFFF 5 CS if inverted CS OxFFFF CS where unsigned long CS CRC16 8tol16 long data unsigned long crc unsigned long tmp tmp OxFF amp gt gt 8 data crc cro lt lt 8 crc tab32 tmp return OxFFFF amp crc The CRC table is generated first as follows CS init crcl16 tab 0x1021 for CREC CCITT CS init crcl16 tab CRC_def_POLY for CRC16 defined polynomial where FlashPro430 USB MSP430 Flash Programmer 10 04 Rev 25 84 void CS init crcl6 tab unsigned short poly int i j unsigned short crc for i 0 i lt 256 i cre 0 c unsigned short i lt lt 8 for j
137. to option can use only JTAG or BSL interface 4 2 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 penCodeFie gt fies microcontrollers in MSP430Fxx family currently available DEN h ee Password File When communication between microcontroller and programming Microcontroller Type Broup MSP430F2x Y MSP430F2001 Y 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 MSP430F2001 Lis MSP430F 2002 microcontroller does not match the one specified by the user MSP430F2003 MSP430F2011 MSP430F2012 When communication between microcontroller and programming MSP430F2013 MSP430F2101 adapter is using BSL Interface then Bootstrap Loader BSL version LA ice is di i S MSP430F2121 downloaded from the target device is displayed in the field BSL son B E MSP430F2131 J MSP430F2132 A MSP430F 2232 F MSP430F2234 Texas Instruments has been created number of microcontroller s groups and numbers of the microcontroller s type Microcontrollers with AES Pt 430F2204 the same group has the same ID number saved in the ROM at the HMSP430F2272 A A NP MSP430F2274 location OxOF
138. to the RAM of each programmed device The Fast BSL provides the following functions mass erase erase main memory only or segment erase blank memory check check sum calculation write and verify word 2 bytes into flash memory read word 2 bytes from memory FlashPro430 USB MSP430 Flash Programmer PMO10A04 Rev 25 11 Major features of the Flash Pro430 programmer 5 Support all 5 430 microcontrollers from TI 5 Our programmers are professionally made and are recommended by Texas Instruments as the Third Party Tools source Our programmers are currently the fastest programmers on the market 5 Programmer has a unique feature three interfaces in one package allowing to program the target device via JTAG Spy Bi Wire or BSL Interface 5 To speed up production process optimized programming algorithms are used to significantly reduce programming time Our proprietary Fast BSL algorithms allow to communicate with the target devices over 35 times faster then standard TI BSL 9 6kb s reducing programming time from few minutes to few seconds Programming speed via Interface is around 29 kbytes s Blow JTAG security fuse capability No code size limitations Full memory sector memory erase capability Write Check Sum verification DCO calibration via JTAG Spy Bi Wire and BSL id Target device can be powered from the programming adapter or from external source E
139. unication speed between programming adapter and target microcontroller JTAG Spy Bi Wire BSL Communication Speed BSL communication speed upto 350 kbits s Recommended _ up to 90 kbits s C 9 6 kbits s only r JT G Spy Bi Wire communication speed Spy Bi Wire JTAG Fast upto4 Mbits s Recommended 1 Fast C upto 1 Mbits s Slow upto 400kbits s 7 1 1 BSL Communication Speed After resetting the target microcontroller the standard Bootstrap Loader installed in microcontroller s ROM memory is used for communication between target microcontroller and programming adapter If internal RAM memory size is 256 or more bytes then Fast BSL 15 downloaded and used for future communication The Fast BSL provides two communication speeds 90 kb s and 350 kb s If microcontrollers RAM memory size is below 256 bytes and Fast BSL cannot be downloaded then standard communication speed 9 6kb s will be used This is applies only to three microcontroller types the MSP430Fxx family FlashPro430 USB MSP430 Flash Programmer 10 04 Rev 25 53 7 1 2 JTAG Communication Speed Default JTAG communication speed between programming adapter and target device is 4 Mb s In some condition when the cable between and target device is long or some protection components are installed in the JTAG interface then the fast JTAG communication can not be used In this case lower speed
140. warning FlashPro430 USB MSP430 Flash Programmer 10 04 Rev 25 30 When BLOW FUSE button is pressed then two following warnings are displayed before fuse will be blown Warning Blow the Security Fuse Procedure is NOT reversible When Fuse is blown then microcontroller is not accessible via the JTAG interface Do you still wish to blow the Security Fuse Figure 4 4 3 Waring ed Ay Are You sure w Figure 4 4 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 SBW interface becomes inoperable TI prepared the second access to the MSP430 microcontroller via the BSL interface This access is available any time even if the Security Fuse is blown To access the microcontroller via the BSL interface a valid password must be provided The password consists of 32 bytes of code at location OXFFEO OxFFFF for F1xx F2xx andF4xx and 16 bytes of code at location OxFFFO OxFFFF for the F5xx MCU If the correct password is not provided access to the microcontroller via BSL is limited to two commands erase all memory and verify password All other commands are unavailable When password is not known then the all memory can be erased and a new password all OxFF can unlock access to all BSL commands FlashPro430 USB MSP430 Flash Programmer 10 04 Rev 25 3l The software supports three types of
141. way Yes Mo Figure 8 2 1 1 FlashPro430 USB MSP430 Flash Programmer 10 04 Rev 25 71 8 2 3 Model Group Revision Custom text or data hex saved in target device s flash memory is a string or data up to 32 characters bytes long in Ascii or hex format It can contain any text or data 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 or data must be specified in the field Size in Bytes Size value can be any even number between 2 and 32 The location of the text data 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 will be displayed The text to be saved in the flash memory can be entered in the edit line Bytes can be entered as an Ascii if Ascii option is selected or in hex bytes if the Hex option is selected When the Ascii Hex selector is modified then the contents data is displayed as an Ascii string or as a hex bytes data 8 2 4 Device Serialization box Device Ser
142. yed 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 13 2 3 15 a Project Security Options dialogue screen with selected options Project protected with PC s hardware fringerprint number locked and unlocked with password FlashPro430 USB MSP430 Flash Programmer 10 04 Rev 25 103 Project Security Options E x M Project protection Any not protected C Any PC Password protected Password Repeat password Case sensitive password Selected PC Hardware Fingerprint number PC Hardware Fingerprint FCDE CES3 Format where Locking options Locked Project Locked Read options UnLock with password Password
143. ytes gt Size 4 bytes 61 4E gt HEX MSB first 00 4E 61 gt HEX MSW first 4E 61 BC 00 gt HEX LSW LSB 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 be seen as 3039 integer numbers gt HEX MSW first or HEX LSW first or lt Hex format bytes gt Size 2 bytes 30 39 bytes gt HEX MSB first 39 30 bytes gt HEX MSW first or HEX LSW LSB 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 02 A569C1 gt HEX MSB first or C169 5 02 gt HEX LSW LSB first 8 2 2 2 BCD format FlashPro430 USB MSP430 Flash Programmer PMO10A04 Rev 25 66 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 g
144. z for F2xx DCO registers extracted from DCO OxCB 0x87 C 5 Address 0x10F6 OFF OFF Address 0x10F4 Das are displayed in the OxFF OxFF C 7 Address Ox10F2 DCO registers fields oxFF C 8 Address 0x10F0 Defined data for test only The calibrated DCO Rosc RSEL DCOx MODx FLL DIV frequency can be tested with Vcc Internal 5 7 7 zi from 2 2V to 3 6 V if target device is supplied from programming Memory Current contents of the 3 2V Note 3 15 V Max Freq 7 037 MHz adapter or for any Vcc if target DCO registers device is supplied from an external pcocr oxcs 0x84 m row When the Defined data for test only is selected then user can Meassured Frequency 1004 MHz specify any DCO data manually and check the DCO frequency for a EN desired data Figure 11 2 FlashPro430 USB MSP430 Flash Programmer 10 04 Rev 25 90 12 Script File defined programming sequence Programming sequence can be customized when is using a script file Script file prepared as a text file using any editor like notepad can contains customized programming sequences in any order Generally all buttons available on the main dialogue screen can be used in the script file other options available on others screens like memory options serialization type etc can not be modified from the scrip
145. zen ome ivo ser ase oa DE athe Uus quas trop imum PEG on ae Sn om cha Mdb we ween xDB30 sees L ums tomy ete en tee vem tome tomes DO mtem eme cay ates we uum xu th th we an ae ds aS nat cdscsendsts OSE len len ee irs sas ex eile qu QA QUEM Exit Figure 5 2 FlashPro430 USB MSP430 Flash Programmer PMO10A04 Rev 25 45 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 FlashPro430 USB MSP430 Flash Programmer PMO10A04 Rev 25 46 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 pro
Download Pdf Manuals
Related Search
Related Contents
L`aptitude physique et médicale particulier des spécialités RST Condition Manuel d`utilisation Ranger RX Speed / Speed AS - KELVIN RecordBase Central Station Manual Installation Instructions and User Guide Atlas Sound PA702 User's Manual DEH-80PRS/XNEW5 DEH Control Panel - 24V E2H Lithonia FMSATL 13 14840 BN M4 Installation Copyright © All rights reserved.
Failed to retrieve file