Home
GangPro430 User`s Manual
Contents
1. 48 8 2 1 Serial number File 49 8 2 2 Serial number formats 49 8 2 3 Model Group REVISION ou oh Te SINE 58 8 2 4 Device Serialization BOX 58 8 3 Serialization Report Dialogue Screen 60 8 4 SN data Tile i ab tere es pee IVA 60 10 DCO calibration NN a 67 TIlLoad Say Setup baie ba den paeanere be aoa 69 11 1 User defined programming sequence Scrip 72 I2 Tatget connection qu cuv e ws edits woh ew ek Oe ee ET 78 Appendix A specification exe Res ODE VARRO 87 Appendix B Self Test 89 GangPro430 USB MSP430 Flash Gang Programmer PMO15A01 Rev 8 7 1 Introduction GangPro430 programmer is dedicated to simultaneously program up to six the Texas Instruments MSP430Fxx family microcontrollers Using GangPro430 programmer the target devices can be programmed via JTAG SBW Spy Bi Wire or BSL Boot Strap Loader Interface Each programmer package consist of a microcontroller based adapter Figure 1 1 Windows based software and cable to connect the adapter with the computer s USB port The internal adapter software allows to communicate with
2. 30 4 6 6 Verify Flash button 30 46 7 Read Copy Flash button 31 Z Next button 5 ea ee tte es RUE keen se 33 3 Data Viewers o s arm e RERO A A EA ORI AES PUREBRED ORE 34 6 Memory Option Dialogue Screen 37 6 1 Memory Erase Write Verify Group 37 GangPro430 USB MSP430 Flash Gang Programmer 015 0 1 Rev 8 6 6 2 Read Group osa Sea ey thoes edu on dos s 40 6 3 Verification Group aseo 3 9 Fa ACERO 40 GAAP ODISGIIN cc is ly ae e equ Se a ca su 42 7 1 JTAG SBW BSL Communication Dialogue Box 42 7 1 1 Communication 42 7 1 2 JTAG Communication Speed 43 7 1 3 BSE Communication 43 7 1 4 Spy Bi Wire Communication Speed 43 72 Res t Dialopue 44 7 2 1 Reset pulse 44 7 2 2 Final Target Device 45 7 3 Options Dialogue BOX 46 SEUA V R IE a ON a KE IUE A ERU RR ET oars qu adeste des 47 8 1 Introduction Ix wr Iw eh Reap LERRA ECL 47 8 2 Serialization Dialogue Screen
3. Update only M Information Memory Segments all Memory Information Memory Segments Fixx F4xx F2xx Fixx F4xx F2xx All Memory 7 D undefined 0 1000 3 D undefined Ox1000 3F eli m 7 C undefined 0x1040 7F C Main Memory only C undefined 0 1040 7 microcontrollers 7 B Ox1000 7F 0x1080 BF TF B 0x1000 7F 0 1080 A 0x1080 FF 0x10C0 FF TF A 0x1080 FF 0 10 0 C Mai Main Memory only Main Memory Info Memory only _ Main Memory Used by Code File Enable IV Enable Start Address Oxf S00 Start Address 0x2100 User defined Stop Address OxFFFF C User defined Stop Address OxFFFF Retain Data in Flash DCO calibration data Ox10F8 Ox10FF F2xx only User defined Start Address 0 1000 256 bytes Stop Address 0 107 Write Verification About Microcontroller 0 4000 Fast write Verify Check Sum Recommended Selected Main Memory Start Addr 9 pre Microcontroller None oe Flash Segment Size ca Figure 6 1 Standard Write Verify Check Sum Read Verify Main Memory Stop Addr 0 0200 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 GangPro430 USB MSP430 Flash Gang Programmer PMO15A01 Rev 8 37 Note Update o
4. Line Format Serial Number Date Time Legend Report 0120 FO 20070002 U MAR 13 2007 17 23 SN Forats 0121 FO 20070002 MAR 13 2007 17 29 FO YYYY1234 5 0122 FO 20070002 13 2007 17 29 F1 YYMM1234 5 133 Newsn 0123 FO 20070003 MAR 13 2007 17 29 F5 YYMMDD 123415 0124 FO 20070004 MAR 13 2007 17 29 9 Unmodtied SN 0125 FD 20070005 MAR 13 2007 17 32 5 d 0126 FO 20070006 MAR 13 2007 17 32 2 12345678 0127 FO 20070007 MAR 13 2007 17 33 1234 5 0128 FO 20070008 MAR 13 2007 17 34 8 Manual entered SN 0159 Fa 20070008 MAR 13 2007 17 34 Fei Custom 0130 FO 20070009 MAR 13 2007 17 35 0131 FO 20070009 MAR 13 2007 17 36 0 I Overwntten SN 0132 FO 20070009 MAR 13 2007 17 37 0133 FO 20070003 MAR 13 2007 17 37 NotePad 0134 FO 20070003 MAR 13 2007 17 39 0135 FO 20070003 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 gt 0139 FO 20070009 MAR 13 2007 17 40 Figure 8 3 1 Serialization Report Dialogue screen GangPro430 USB MSP430 Flash Gang Programmer PMO15A01 Rev 8 60 The FlashPro430 software allows to download the serial number from custom defined data file When the data file is used then in the serialization dialogue screen the Serial Number Format gt From File should be selected The SN data file can contains list of serial numbers Format of the serial numb
5. nable Gpen Password File t 3 path G fa2v Enable SN File mmi ON OFF 0 20 im E Device Action Status Target Devices Programming Result Target Enable 1 20 5M Reload Code File MSP430F 148 m Connect NIE fou 50 Erase Blank Check Target MSP430F148 Ue Program Verify DCO Verify Security Fuse ERASE FLASH Balance 38 Fuse Blown O Over All vi Selected Device Information Hana Serskzelion BLANK CHECK RAM 2048 bytes FLASH 48 kB Model Group Hevision WRITE FLASH Report Wing SN 200700024 TargetDevice 1 200700024 200700030 WRITE SN 7 Modal Writing SN p2 200700025 E Whiting SN p3 200700025 Target Device 2 200700025 200700031 VERIFY FLASH wiling SN p 200700020 Target Device 3 200700026 200700032 Whiting SN p amp 200700029 00282216 Fl Tang mc pers Target Device 4 200700027 200700033 lash programming Verifying check sum Target Device 5 200700028 200700034 READ COPY Target Device 6 200700029 200700035 Read SN Next SN Format pyyy12345 Adapter MSP430 GangJTAG BSL Erase W rite memory option All Memory Interface JTAG 1 Mb s NEXT F5 Reading Target Label AUTO PROGRAM Figure 4 1 Programming dialogue box screen GangPro430 USB MSP430 Flash Gang
6. er Ted S TR ARR d ro e 8 DoE CUI OS Bis ea Ge EXC MENU aper dc Res 10 2 1 Customize Tees Ale Not eth A 11 ue ince a ae Sed ex Rae yard oe oan Date ap 11 2 1520 DEES iuo a dey eer a ene di 11 JS Getting acess eR Xo ate den 12 3 1 Software Installation a et Y Y RC AA 12 23 Hardware ae sa ee Nox Mika o 13 3 3 Starting up GangPro430 Flash Programmer 14 24 KPO Selector senson o eee Ge NA PEE 14 4 Programming Dialogue Screen 16 4 1 Microcontroller Type o lg esed sess eel r iai FS 17 4 2 Code Bile Management 19 4 3 Blow Security Fuse and Open Password File 23 44 Power Device from Adapter 24 4 5 Target Device selector and action result 26 4 6 Device 27 4 6 1 Auto Program button 28 462 gt Venfy Security Puse eX E Xu RARI EU S 28 4 6 3 Erase Flash button 29 4 6 4 Blank Check button 29 4 6 5 Write Flash button
7. 015 0 1 Rev 8 55 lt Hex format gt lt Ascii format gt 30 33 30 33 3031 32 33 03030123 Size 8 bytes Display Format YYMMDD 1234 size in FLASH 10 bytes SN 0405110123 will be saved as YYMMDD 040511 gt 0x30 0x34 0x30 0x35 0x31 0x31 bytes or ces AP Ba 1234 0123 gt 0x30 0x31 0x32 0x33 bytes Or MON In flash memory this number be seen as lt Hex format gt lt Ascii format gt 30 34 30 3531 31 30 31 32 33 0405110123 Size 10 bytes Display Format YYDDD 1234 size in FLASH 9 bytes SN 042140123 will be saved as YYDDD 04214 gt 0x30 0x34 0x32 0x31 0x34 bytes or 0 4 22 Ct 4 1234 0123 gt 0x30 0x31 0x32 0x33 bytes Or O AE 2 In flash memory this number be seen as lt Hex format gt lt Ascii format gt 30 34 32 31 34 30 31 32 33 042140123 Size 9 bytes Display Format 123456768 size in FLASH 8 bytes SN 12345678 will be saved as 12345678 gt 0x31 0x32 0x33 0x34 0x35 0x36 0x37 0x38 bytes In flash memory this number can be seen as lt Hex format gt lt Ascii format gt 31 32 33 34 35 3637 38 12345678 Size 8 bytes GangPro430 USB MSP430 Flash Gang Programmer 015 0 1 Rev 8 56 Display Format 1234 size in FLASH 4 bytes SN 1234 will be saved as 1234 gt 0x31 0x32 0x33 0x34 bytes In flash m
8. GangPro430 USB MSP430 Flash Gang Programmer 015 0 1 Rev 8 43 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 Mb Reset mode selection M JTAG and BSL communication OK 10ms RESET pulse Recommended 100 ms RESET pulse Custom RESET pulse 200 ms RESET pulse Reset pulse 1 ms 1 1000 500 ms RESET pulse Idle time ms 1 2000 Cancel Custom RESET pulse M JTAG communication only C Toggle Vcc OFF time 50 50 5000 Final Target Device action 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 Vcc and start the application program Vcc OFF time 5 ms 50 5000 Application Program RUN time 5 s 0 120 Enter 0 second for unlimited time Enable Generator on the JTAG TDI eg for the DCO calibration etc Period 0 5000 us 20 10 0 us Frequency 100 0 kHz JTAG lines TMS TDI state when finished Tri stated USB FPA 4 0 and up only C High C Low Figure 7 2 7 2 1 Reset pulse duration The reset pulse allows the adapter to initiate communication with a microcontroller using the JTAG Inter
9. YYYY 2003 gt 0x20 0x03 bytes 1234 0123 gt 0x01 0x23 bytes When flash memory bytes are viewed then this number can be seen as 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 GangPro430 USB MSP430 Flash Gang Programmer 015 0 1 Rev 8 53 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 Ox11 1234 0123 gt 0x01 0x23 In flash memory this number can be seen as 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 0 01 0x23 hex Display Format 123456
10. The Verify Flash function compares the contents of the flash memory with data from the code file Verify flash function initiated this way will always use the standard memory verification method even if the fast verification method is selected from the memory write verification options see chapter 5 Memory Option Dialogue Screen 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 GangPro430 USB MSP430 Flash Gang Programmer PMO15A01 Rev 8 30 4 6 7 Read Copy Flash button Addr 00 01 02 03 04 05 06 07 08 09 OA OB OC OD OE OF lt Ascii gt OxEA20 OxEA30 4 OxEASO OxEA60 OxEASO DxEA90 OxEAAD OxEABO OxEACO OxEADO xEAED OxEAFO OxEBOO DxEB10 OxEB20 xEB3D OxEB40 OxEBSO OxEB60 OxEB 70 DxEB80 90 xEB D DxEBBD DxEBCD OxEBDO DxEBED OxEBFO Target Device selector ac 2 3 C Convert to TI format Paste to Notepad Figure 4 6 7 1 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 fig
11. as a next byte etc in the Flash memory location When format HEX MSW first is selected then the first hex integer number is saved as a first word and the second number as a next word in the Flash memory location When format HEX 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 GangPro430 USB MSP430 Flash Gang Programmer PM015A01 Rev 8 50 007B 07D3 gt HEX LSW first when integer numbers are viewed or as lt Hex format bytes gt Size 4 bytes D3 07 7B 00 gt HEX MSW first 7B 00 D3 07 gt HEX LSW first when bytes are viewed first byte is the LSW byte from the integer number Displayed consecutive serial number 16 bits integer number can have a value from 0 to 2416 1 equal 65535 and is displayed as the 5 digits serial number Display Format YYMM 1234 5 size in FLASH 4 bytes SN 030300123 will be saved as YYMM 0303 Decy gt 0x012F hex 12345 00123 gt 0x007B hex In flash memory this number can be seen as 012F 007B gt HEX MSW first 007B 012F gt HEX LSW first or lt Hex format bytes gt Size 4 bytes 2F 01 7B 00 gt HEX MS
12. 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 GangPro430 USB MSP430 Flash Gang Programmer PMO15A01 Rev 8 20 specify the code file to be appended to the newly created memory block using the window in Figure 4 2 1 Every appended file will be verified so that the total code size does not exceed the target microcontroller s memory space and that there is no overlap with previously selected code segments After the addition of each file the window in Figure 4 2 3 will be shown The window shows the status of previous append operations Combine Files 1 sach_16k_1 txt Add Code File 1 sach 16k 2 txt 1 sach 16k 3 txt 1 ReadMe txt 0x1200 0x2366 Start Address in Flash 0x1200 Add File Contents Clear All Exit Figure 4 2 3 The Programmer is also able to append files of any type to the new data block In order to do this the user must specify the memory location into which the programmer is to load the file and then press the Add file contents button The window in Figure 4 2 1 will appear prompting the user to spe
13. 6 TEST FINISHED NO ERRORS Tuesday February 19 2008 20 30 32 y Connect target device to FPA 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 2 1 GangPro430 USB MSP430 Flash Gang Programmer PMOISAOI Rev 8 89 22 66 desired options in following selectors see Figure 2 1 Target Device Target s Vcc Interface and Reset Pulse width and active Target numbers When it is done then press the button TEST When test is finished then check if 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 0x1000 to Ox OFF 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 AII 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 generated data used as a code data Whole MAIN memory content is verified check sum and also
14. Browse Figure 11 2 GangPro430 USB MSP430 Flash Gang Programmer PMO15A01 Rev 8 70 Using Browse in the Create Shortcut dialogue box select the following executable file C Program Files Elprotronic USB FlashPro430 USB MSP430 Prg exe Arrange Icons By Refresh Paste Paste Shortcut Undo Copy Ctrl Z Shortcut e Briefcase Wi Microsoft Word Document gn Microsoft PowerPoint Presentation Figure 11 3 see Figure 11 4 and at the and add the required command keys see Figure 11 5 eg C Program Files Elprotronic USB FlashPro430NUSB MSP430 Prg exe lock sf E ElproTronic MFG prg 04 cfg Create Shortcut i 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 FlashPro430 USB MSP430 Prg exe Browse Click Next to continue Back Cancel Figure 11 4 GangPro430 USB MSP430 Flash Gang Programmer PMO15A01 Rev 8 71 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 FlashPro430 programming software will start with the selected configuration setup and locked if required Create Shortcut i This wizard helps you to create shortcuts to local or network programs files Folders
15. Vec Sense Vec Senze TDO TDL 1 BSL Txl Sense Sense TDI Vpp BSL Ex BSI Ix2 TDO TDI Z TMS Test Test Vpp TCK BSL Tx3 TDUO TDI 3 GND GND BSL Tx4 TDO TDI 4 RST EST BSLT5 TDUO TDI 5 TDO TDI B5I Tx Figure 12 1 This modification DOES NOT affect the JTAG adapter communication when the only one target device with the standard JTAG connector is connected In this case our standard FlashPro430 GangPro430 USB MSP430 Flash Gang Programmer PMO15A01 Rev 8 78 software can be used with the GangPro430 programming adapter to facilitate JTAG communication with the target device The FlashPro430 software will set all extra TDO TDI lines in the TS state lines TDO TDI 2 TDO TDI 3 TDO TDI 4 TDO TDI 5 and TDO TDI 6 Figure12 2 show interconnection between modified connector and six target devices Note that TEST line is used only with the small MSP430Fxx microcontrollers packed within 28 and less pins package Table 12 1 Gang Interface connector 1 Red TDO TDI Data output Input 1 VCC In Sense Vcc supplied to the target 2 2 to 3 6V 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 TDI Vpp Data Input B
16. computers or Internet addresses Type the location of the item Prg exe lock sf E MFG pra 04 cfc Browse Click Next to continue lt Back Cancel Figure 11 5 11 1 User defined programming sequence Scrip File Programming sequence can be customized when is using script file rf option described above 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 All other options available on others screens like memory options serialization type etc can not be modified from the script 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 Function should be created using Visual C 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 GangPro430 USB MSP430 Flash Gang Programmer
17. AB2007X HSN SUFFIX BMR 0001 0002 0003 HSN PREFIX AB2007V 0001 0002 0003 that defined following serial numbers 2007 0001 2007 0002 2007 0003 2007 0001 2007 0002 2007 0003 Example of the Serial Number list 5 lines only in this example 3 Serial Number List SN format Ascii IEEE SN LIST SN_SIZE 12 U WX5E2007001E WX5E2007002P WX5E2007003E WX5E2007004P WX5E2007005P U r The same Serial Number list with specified prefix suffix 7 E Serial Number List SN format Ascii r HIEEE SN LIST HSN SIZE 12 SN_PREFIX WX5E2007 Ascii character SN_SUFFIX GangPro430 USB MSP430 Flash Gang Programmer PMO15A01 Rev 8 62 001 002 003 004 005 r When the SN data file is prepared then at the first the data base file should be opened see Figure 8 2 When the desired Serial Number Format is selected then 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 is displayed in the screen Figure 8 4 1 with fo
18. Format C 1234 5 C HEX MSB First SN Start Address in Memory C 1234 5 i 0x1000 YYMMDD 1234 HEX MSW First YYDDD 1234 5 C HEX LSW LSB First must be even address 12345678 12345 Custom char Ascii Used size 4 bytes C from File 4 4 32 Serial Number Warn if Device s Flash Memory date excluded gt 28 decimal is not empty on the SN location starting From Model Group Revision v ENABLE Text size in Bytes 32 2 32 even number Start Address in Memory 0x1010 must be even address Asci 33 R 0004 04 17 2 bytes Figure 8 2 GangPro430 USB MSP430 Flash Gang Programmer PMO15A01 Rev 8 48 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
19. PMO15A01 Rev 8 72 be used in the programming sequence but only one DLL at the time When the new 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 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 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 cha
20. Programmer PMO15A01 Rev 8 16 All device action buttons power ON OFF button and the check sum result box have their own status indicators Each indicator can assume any of the following conditions blank idle status green access enabled device action has been finished successfully device action has been finished but result failed AKKO GON Microcontroller Type The microcontroller type can be selected from the pull down field of the processor type group The pull down field contains a list of all microcontrollers in MSP430Fxx family currently available One thing to note the microcontroller type can be selected automatically if the option Any is selected When communication between microcontroller and programming adapter is initialized the software will detect the target microcontroller s automatically The type of detected microcontroller is displayed in the field Target This allows the software to warn you if the connected microcontroller does not match the one specified by the user Note No warning message will appear when Any microcontroller type is selected Texas Instruments has been created number of microcontroller s groups and numbers of the microcontroller s type Microcontrollers with the same group has the same ID number saved in the ROM at the location OxOFFO Microcontrollers with the same group ID has a similar features with a different size of RAM and FLAS
21. User defined option in the Retain Data in Flash group allows to specify other region to be restored after erase program and verification This option can be used with any MSP430 microcontroller type Location of the retain data block is not limited and can be used any part of flash info or main memory Maximum size of the retain data block is limited to 256 bytes only GangPro430 USB MSP430 Flash Gang Programmer PMO15A01 Rev 8 39 6 2 Read Group The Read Address Range group block see Fig 6 1 specifies the address range used in reading process Memory read setup has four available options 1 2 4 Main memory only Info memory only User Defined The meaning of each option is the same as for the erase write verify procedure The Info Memory only option works the same way as Main memory only option described above except that only information memory is modified 6 3 Verification Group 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 at the end of
22. compared and differences between them can be displayed Contents of the selected file can be viewed by selecting of the Code File Data from the View menu Code data viewer shown in figure 5 1 displays the code address on the left side data in hex format in the central column the same data in Ascii format in the right column Data in hex format is displayed from 00 to FF when contents of data exist in the code file otherwise it is displayed as double dots if data does not exist in the code When code size exceeds Flash EEE i x Addr 00 01 02 03 04 05 06 07 08 09 04 OB OC 0D OE OF 5 Ascii gt GP 88 2564228 Figure 5 1 memory space of the selected microcontroller then warning message Data out of the Flash Memory Space of the selected MSP430 GangPro430 USB MSP430 Flash Gang Programmer 015 01 Rev 8 34 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
23. computer on the end 3 2 Hardware Setup Figure 3 2 1 show connection between PC GangPro430 adapter Gang Splitter and target devices GangPro430 Y 9 gt ok x 5 28g e 2 q Figure 3 2 1 I Connect the GangPro430 adapter USB MSP430 FPA GANG to the PC USB Port using provided cable extender USB A to USB B 2 Plug in socket connector from the GangPro430 Adapter to the header connector of the Gang Splitter and from the Gang Splitter connector 1 to 6 to on your device boards 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 GangPro430 USB MSP430 Flash Gang Programmer PMO15A01 Rev 8 13 3 3 Starting up GangPro430 Flash Programmer To start the GangPro430 Flash Programmer click on the GangPro430 Elprotronic icon l1angPro4 all Elarotronic 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 ChainPro430 and GangPro430 has Multi USB feature Up to 8 Flash Programming Adapters can b
24. disclaims 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 INDIC
25. s Figure 8 1 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 are scanned for existing serial number If the serial number is found the message in figure GangPro430 USB MSP430 Flash Gang Programmer PMO15A01 Rev 8 47 8 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 8 2 Serialization Dialogue Screen Serialization dialogue box shown in figure 8 2 allows configuration for serialization process to be set Serialization can be enabled or disabled by selecting the check mark in the ENABLE Serialization box When serialization is disabled all edit lines and check boxes are disabled When serialization is enabled all fields must be set x Serialization Setup V ENABLE Serialization Serial Numbers File Path and Name Browse C Elprotronic Project Cpp Net GangPro430 data_mem sn Serial Number Format Memory Location gt Display Format In Memory
26. 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 AN Make sure that the current consumption of the target device does not exceed 100m 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 4 2 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 on the left side on the POWER ON OFF button Figure 4 1 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 GangPro430 USB MSP430 Flash Gang Programmer PMO15A01 Rev 8 25 4 5 Target Device selector and action result Target Devices Programming Result Target Enable Ti 21 Connect Erase Blank Check Program Verify TIS TI II Fuse Blown Over All Figure 4 5 1 GangPro430 USB MSP430 Flash Gang Programmer 015 01 Rev 8 4 6 Device Action box Device Action box contains 9 buttons see Figure 4 6 1 Each button allows a specific action to be executed Software proced
27. 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 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 GangPro430 USB MSP430 Flash Gang Programmer PMO15A01 Rev 8 40 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 GangPro430 USB MSP430 Flash Gang Programmer PMO15A01 Rev 8 41 7 Adapter Options 7 1 JTAG SBW BSL Communication Dialogue Box The Communication Interface with the Target Device dialogue screen enables the user to select the communi
28. 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 GangPro430 USB MSP430 Flash Gang Programmer PMO15A01 Rev 8 66 10 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 8MHz 12MHz and 16 MHz When the DCO calibrated data are used in the application software then the DCO frequency variation is below 196 according to TI specification FlashPro430 software allows to calibrate up to eight DCO frequencies in the MSP430F I xx F2xx or F4xx to any value in the DCO range and saved calibrated DCO data in the INFO Memory locations Ox 10FO to Ox 10FF The DCO Frequency Calibration dialogue screen Figure 10 1 can be selected from pull down menu Setup gt DCO calibration When the selected DCO calibration data is enabled then in the edited field should be specified DCO Frequency Calibration 2 X calibration Enable Info Memory Address DCO cal frequency
29. 01 Rev 8 8 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 GangPro430 USB MSP430 Flash Gang Programmer PMO15A01 Rev 8 9 2 Features GangPro430 programmer is dedicated to simultaneously program up to six the Texas Instruments MSP430Fxx family microcontrollers via JTAG SBW or BSL interface 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 JT AG port 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 When the BSL Interface is used then the GangPro430 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 Fa
30. 1 1 1 1 i u01j2euuo2 9y f 06 014 5014 135 100 221 20 ONI 2 0 10 4413 S3HOLIMS NYNG 3504 85 Figure 11 5 GangPro430 USB MSP430 Flash Gang Programmer PMO15A01 Rev 8 ELPROTRONIC INC Gang Splitter JTAG BSL 2 VCC SW 1 JTAG BSL o o E 1 MSP430Fxx Ji emm 859 ang Programmer TT GangPro430 ye Splitter 55 5 Q BSL e PEOHMXO2 E muse ELPROTRONIC INC 2008 Figure 12 7 GangPro430 USB MSP430 Flash Gang Programmer PMO15A01 Rev 8 86 Appendix A specification Specification PC Communication Interface Full Speed USB 1 1 12Mbits s USB connector Adpater site USB type B Computer site USB type A Target connector 14 pins header connector standard JTAG SBW pinhead with added five TDO TDI and six BSL conne
31. 52232 20052238 Target Device 6 20052233 20052233 Next SN Format yyyy1234 Figure 8 4 GangPro430 USB MSP430 Flash Gang Programmer PMO15A01 Rev 8 59 8 3 Serialization Report Dialogue Screen Serialization Report Dialogue Screen reports the results of the serialization procedure The report contains the detailed information of the two highest serial number programmed units quantity of programmed units along with the new created serial numbers unmodified SN reprogrammed units manually created SN and quantity of the overwritten SN Detailed information about all programmed units can be viewed using the Notepad text editor by pressing the NotePad button Short information of the created serial numbers format date and time of programming is displayed on the white report box see Figure 8 3 1 Serial 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 8 4 SN data file Serialization Report X Serialization File Name je Elprotronic Project Cpp Net USB MSP430Prq data_mem sn Linett 32 0092 F1 050800083 AUG 17 2006 22 21 Delete SN 21 Line 139 The Highest Serial Number 0139 FO 20070003 MAR 132007 17 40
32. 768 size in FLASH 4 bytes SN 12345678 will be saved as 12345678 gt 0x12 0x34 0x56 0x78 bytes In flash memory this number can be seen as GangPro430 USB MSP430 Flash Gang Programmer PMO15A01 Rev 8 54 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 8 2 2 3 ASCII format When Ascii format is selected then all SN display formats described above can be stored as a four or eight separate bytes converted to Ascii characters All consecutive serial number characters are converted to Ascii characters Display Format YYYY 1234 size in FLASH 8 bytes SN 20030123 will be saved as YYYY 2003 gt 0x32 0x30 0x30 0x33 bytes or Z O 0 3 1234 0123 gt 0x30 0x31 0x32 0x33 bytes or MON T 2 When flash memory bytes viewed then this number be seen as lt Hex format gt lt Ascii format gt 32 30 30 33 30 31 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 OF 23 1234 0123 gt 0x30 0x31 0x32 0x33 bytes Or 0 1 2 2 flash memory this number be seen as GangPro430 USB MSP430 Flash Gang Programmer
33. ATE REFUSAL MAKE 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 use the software 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 All rights title and copyrights in and to the Product and any copies of the Product are owned by Elprot
34. DCFGFILE 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 STAR LOADCFGFIL AUTOPROGRAM GOTO START C Elprotronic Project Cpp Net USB MSP430Prg finalcode cfg gt finish END GangPro430 USB MSP430 Flash Gang Programmer PMO15A01 Rev 8 77 12 Target connection The GangPro430 Flash Programmers with the JTAG SBW BSL Interface use the STANDARD 14 pin TI JTAG connector s pinout to facilitate the JTAG SBW communication with one target device Unused pins in the standard TP s JTAG SBW connectors has been used to facilitate the GANG JTAG SBW BSL connections allows to connect up to six target devices Texas Instruments created the standard for the MSP430 JTAG SBW interface connector Pin I TDO TDI Pin2 Vcc Pin3 TDI Vpp TDI Pin4 Vcc Ext Pin5 TMS Pin6 Pin7 TCK Pin8 TEST pin9 GND Pin 10 pin 11 RST Pin 12 pin 13 Pin 14 Pins 6 10 12 13 and 14 are unused or spare To facilitate GANG communication these unused pins has been used to connect the TDO TDI or BSL Tx to from others target devices All others lines are connected in parallel to all target devices Combined connector is shown on figure 10 1 BSL JTAG JIAG BSL
35. DCO frequencies for a selected DCO data from an Info Memory More detailed DCO test can be done when the FlashPro430 software is used even with the pco Frequency Test x calibration Info 1 2 3 6 4 5 1 oxore acer 497 aser aver 87 aee Conor rrr ree rr rr ree re caca rrr fer rr rr rer Cae re Fr fre rer Csi rer ree rr reer Free rwr 7 0 10 rr rwr rr rer ru DCO Frequency MHz 3 9960 3 9930 3 9980 3 9930 3 9990 3 9990 4 44411443 Figure 10 2 GnagPro430 programming adapter FlashPro430 software allows to test only one target device at the time GangPro430 USB MSP430 Flash Gang Programmer PMO15A01 Rev 8 68 11 Load Save Setup Programming software can save configuration settings This allows the user to create several configuration file 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 To create a configuration file simply select Save Setup from the File menu Current settings will be saved for future use To restore configuration settings select Lo
36. F122 F123 RAM size bytes ROM size kbytes MSP430F122 256 4k MSP430F123 256 8k F149 F13x F14x Name RAM size bytes ROM size kbytes GangPro430 USB MSP430 Flash Gang Programmer PMO15A01 Rev 8 18 MSP430F133 MSP430F135 MSP430F147 MSP430F 1471 MSP430F148 MSP430F 1481 MSP430F149 MSP430F1491 When Any microcontroller type is selected then only name of the microcontroller s group like F13x F14x is 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 eg 60kB for the group F13x FI4x 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 FI3x 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 4 2 Code File Management GangPro430 flash programmer provides three options to manage code files Thes
37. FlashProgrammer Remote Control Programming User s Guide for details 2 1 3 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 GangPro430 USB MSP430 Flash Gang Programmer PMO15A01 Rev 8 11 3 Getting Started decet ek s 3 1 GangPro430 programmer package contains One READ ME FIRST document One X Pro430 USB MSP430 Flash Programmer CD ROM Software Manual One GangPro430 Flash Programming Adapter One 6 feets length USB A to USB B cable 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 nstall 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 us
38. GangPro430 USB MSP430 Gang Flash Programmer User s Manual Software version 3 9 5 PM015A01 Rev 8 February 21 2008 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
39. H yellow Test in progress For power on off DC voltage is correct red sign access denied For power on off DC voltage is too low below 2 6V applies to blank check only Memory is not clean but the specified memory segment is Microcontroller Type MSP430F Any 7 Selected D RAM Figure 4 1 1 GangPro430 USB MSP430 Flash Gang Programmer PMO15A01 Rev 8 17 Contents of the ROM at location OxOFFO containing ID number 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 In the example the four groups of microcontrollers are shown below Tables contains following information in F112 ID Gn 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 Flix 1 RAM size bytes ROM size kbytes MSP430F110 MSP430F1101 MSP430F1 101A MSP430F1111A MSP430F112 MSP430F1121 MSP430F1121A 1132 11 2 RAM size bytes ROM size kbytes MSP430F1122 256 4k MSP430F 1132 256 8k F123
40. IV 1 Ox10FE 100 MHz enforced to 1 0 MHz for F2xx IV 2 Ox10FC 3 000 MHz enforced to 8 0 MHz for F2xx IV 3 Ox10FA 12 000 MHz enforced to 12 0 MHz For F2xx IV 4 Ox10F8 1600 MHz enforced to 16 0 MHz for F2xx 5 Ox10F6 2 5500 MHz 6 0x10F4 4 000 I 7 0x10F2 400 0 10 0 3000 Note When the DCO in the F4xx is calibrated then the FLL DIV 8 is used OK Figure 10 1 the DCO frequency in MHz in the range 0 10 MHz up to 16 MHz When the 1 or F4xx MCU GangPro430 USB MSP430 Flash Gang Programmer PMO15A01 Rev 8 67 is used then the maximum frequency can not be higher then 8 MHz See data sheets for details When the F2xx is detected then the DCO calibration data listed for the DCO 1 to 4 are hardcoded as it is calibrated by TI 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 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 10 2 In the dialogue screen is possible to select the desired DCO calibration data for all tested target devices and check the
41. MO15A01 Rev 8 87 Programming reading times for a target microcontroller with 32 kB of Flash Memory speed gt 1Mb s 0 4 Mb s 300 kb s 150kb s 9 6kb s 1 Flash Programming Time 30s 345 43s 6 05 755 2 Flash Reading Time 475 6 05 8 65 8 05 1405 s Flash Erasing Time 0 25 0 25 0 25 1 45 1 45 4 Flash Blank Checking Time 05s 075 iis 305 1405 5 Fast Verification Time 0 95 1 25 1 75 2 45 1405 6 Auto Program with Fast Verification 4 35 5 0s 6 9s 8 25 Note add 0 2 second if blow the Security Fuse is enabled Auto Program performs Target DC voltage verification Communication initialization Fuse checking or password verification Memory erase memory or specified sectors memory Blank checking Flash programming and fast verification Serial Number and Model writing if selected Check sum verification GangPro430 USB MSP430 Flash Gang Programmer PMO15A01 Rev 8 88 Appendix B Self Test Program The software package contains the GangPro430 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 is 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 onl
42. MSW first or lt Hex format bytes 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 GangPro430 USB MSP430 Flash Gang Programmer PMO15A01 Rev 8 32 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 LS W 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 5 69 gt HEX MSB first or 69 5 02 gt HEX LSW LSB first 8 2 2 2 BCD format When BCD format is selected then all SN display formats described above can be stored as a two or four separate bytes converted to BCD format where first and last four bits of 8 bit byte contains a value from 0 to 9 All consecutive serial number characters are converted to half byte each Finally two consecutive serial number characters will be converted to a single byte Display Format YYYY 1234 size in FLASH 4 bytes SN 20030123 will be saved as
43. N El 55 ix ER AM SE SE SE SE ll Usenet URETA som 20 aan aan Ack ae 3B us sem sse cue cn rara aras OsESBOs 25 fm gu seo DE an sm sour URESBD aos ag a UUGS Su sullo auos dw ER AR sum sm G 9 aa OxE3F0 12 I sensoren OxE3FO 42 Target Device selector HO 2 3 C 5 6 C Exit 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 GangPro430 USB MSP430 Flash Gang Programmer PMO15A01 Rev 8 35 GangPro430 USB MSP430 Flash Gang Programmer PMO15A01 Rev 8 36 6 Memory Option Dialogue Screen The Memory Options Dialogue Screen Fig 6 1 has three settings groups and one information group Two of the settings groups allow the flash memory addresses range for erase write and read operation to be specified The third settings group write verification allows the user to select the verification method for Auto Program procedure The information group contains the start and stop address of the user specified main memory segment that can be erased written and verified independently Memory Options Memory Erase Write Verify Address Range Read Address Range
44. Net USB MSP430Prg finalcode cfg AUTOPROGRAM GOTO START gt finish END When the executable file USB MSP430 Prg exe is called with a script path as an argument e g GangPro430 exe rf C Program Files Elprotronic USB GangPro430 script txt or when the icon with the GangPro430 exe and script file path is executed then programmer starts automatically programming sequences according to procedure specified in the script file 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 FCONTROL and if result is 0 FALSE then procedure returns to start Required DLL file should be created first i Script file demo program with DLL file OPENDLLFILE C Program Files Elprotronic FxControl DLL release FxControl dll gt START VCCOFF MESSAGEBOX OKCANCEL VCC if OFF now Connect the test board When ready press the button GangPro430 USB MSP430 Flash Gang Programmer PMO1SAO1 Rev 8 76 to test the board CANCEL to exit from program IF BUTTONCANCEL GOTO finish LOA
45. PMO15A01 Rev 8 82 Table 12 3 shows the BSL interface connector descriptions Figure12 4 shows interconnection between modified JTAG BSL connector and six target devices with the Boot Strap Loader BSL communication Note that TEST line is used only with the small MSP430Fxx microcontrollers packed within 28 and less pins package Table 12 3 Gang BSL Interface connector BSL Tx 1 Data output from target device 1 VCC In Sense Vcc supplied to the target 2 2 to 3 6V 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 Data output from target device 2 TEST Input pin Used only with the MSP430Fxx with the small package 28 pins and below Ground Data output from target device 3 Microcontroller Reset Input pin a output from target device 4 Da Da BSL Tx 6 a output from target device 6 Data output from target device 5 Figurel2 5 shows detailed schematic of the 14 pins JTAG BSL Input Output connection inside the GangPro430 Flash Programming Adapter Figure12 6 shows detailed schematic of the Gang Splitter sold separately Figure12 7 shows picture of the Gang Splitter GangPro430 USB MSP430 Flash Gang P
46. W first 7B 00 2F 01 gt HEX LSW first Display Format YYMMDD 1234 size in FLASH 4 bytes The format date is compressed to be able to fit data in only in two bytes as follows Bit 15141312111098 76543210 lt year 2000 gt lt month gt lt day gt SN 0405110123 will be saved as YYMMDD 040511 gt 0x08AB hex 1234 0123 gt 0x007B hex In flash memory this number can be seen as OSAB 007 gt HEX MSW first 007B O8AB gt HEX LSW first or GangPro430 USB MSP430 Flash Gang Programmer PMO15A01 Rev 8 51 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 Display Format 123456768 size in FLASH 4 bytes SN 12345678 will be saved as 12345678 gt 0x00BC614E hex In flash memory this number can be seen as 614E gt HEX MSW first 614E 00BC gt HEX
47. 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 When button OK has been pressed then programmer downloads finalcode cfg configuration file to programmer Current configuration can activate serialization if required reload final code to be downloaded etc When the new configuration is reloaded then final code is downloaded to target device serialization is created etc On the end programmer returns to beginning and waiting for the next target device to be connected Script file demo program without DLL file gt START VCCOFF MESSAG VCE whe OK if OFF now n ready press to test EBOX OKCANCEL Connect the test board the button the board CANCEL to exit from program GangPro430 USB MSP430 Flash Gang Programmer PMO15A01 Rev 8 75 IF BUTTONCANCEL GOTO finish LOADCFGFILE C Elprotronic Project Cpp Net USB MSP430Prg test A cfg MESSAGEBOX OK Press OK to download the test program D UTOPROGRAM MESSAGEBOX YESNO Press YES when the test finished successfully Press NO when the test failed IF BUTTONNO GOTO START LOADCFGFILE C Elprotronic Project Cpp
48. ad 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 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 sf Setup file name Download setup file cf Code file name Download Code file pf Password file name Download Password file nf SN file name Download Serial number list file 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 specifie
49. ay of month and remaining 4 characters contain a number eg 0405120123 4 YYDDD 1234 5 SN Format F4 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
50. cation speed between programming adapter and target microcontroller Communication Interface with Target Communication Interface JTAG 4 wires OK Spy Bi Wire 2 wires C BSL Boot Strap Loader JTAG Spy Bi Wire Communication Speed Spy Bi Wire JTAG Fast upto 1 Mbits s Slow upto 400kbits s BSL Communication Speed upto 150 kb s 9 6 kb s only Figure 7 1 7 1 1 Communication Interface The communication interface type JTAG Spy Bi Wire or BSL can be selected see Figure 7 1 Proper communication interface and related connection of the programming adapter with target devices should be selected otherwise communication with the target devices can fail See chapter 11 for the connection s details It is recommended to use by default communication through the JTAG SBW Interface because this communication is faster then the communication through the BSL Interface Also blow the security fuse and serialization procedures are accessible only from the JTAG SBW communication port When the security fuse is blown then JTAG SBW interface is unusable and only the BSL communication port can be used GangPro430 USB MSP430 Flash Gang Programmer PMO15A01 Rev 8 42 7 1 2 JTAG Communication Speed Default communication speed between programming adapter and target device is 1 Mb s In some condition when the cable between FPA and target device is lon
51. cify 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 2 4 will appear prompting for the name of the file to be created All of the aforementioned Code File options work with three most popular code file formats These formats are the Texas Instruments the Motorola and the Intel file formats FlashPro430 will work with any of these formats and will easily convert one file format to another by using the Open Code File and Save Code File options GangPro430 USB MSP430 Flash Gang Programmer PMO15A01 Rev 8 21 Save in MFG ni LT ly 45010x02 1v1 bxt ASO10x02 1v2 txt E MspAdapter v10 txt E MspAdapter V11 txt MspAdapter V11 old txt mspadapter v12 txt Save as type Texas Instruments format txt y Cancel Texas Instruments format txt Motorola format s19 Intel format hex Figure 4 2 4 GangPro430 USB MSP430 Flash Gang Programmer PMO15A01 Rev 8 22 4 3 Blow Security Fuse and Open Password File The microcontroller s memory is protected against unauthorized access When the microcontroller is acce
52. ctions to unused pins Number of programmed target devices up to 6 programmed simultaneously via JTAG or BSL interface DC Power from USB Interface 5V 2096 50mA target s current 0 100mA Target Device DC supply external 2 2V to 3 6 V from programming adapter 2 2 V to 3 6 V instep 0 2V 100 mA max Communication speed via Interface selectable 1Mb s and 400kb s Communication speed via BSL Interface selectable 9 6kb s and 150 kb s Size 76 43 20mm 3 0 x 1 68 x 0 8 inch Verification Compliance CE European CISPR 22 and EN 55022 FCC Part 15 Subpart B Class B Unintentional Radiators for Uses in Home Commercial and Industrial Areas Flash Programming specification JTAG 1 Mb s 400 kb s Block Words Write 64 bytes 1 MCLK clock frequency 1 2 MHz 750 kHz From FPA to MSP430 via TDI pin 2 Flash Timing Gen Frequency f FTG 400 kHz 375 kHz 3 Cumulative Programming Time t CPT MSP430F1xx F4xx 2 14 ms 2 48 ms MSP430F2xx MSP430X 1 87 ms 2 16 ms Single Word Write 1 Flash Timing Gen Frequency f FTG 428 6 kHz 428 6 kHz 2 Cumulative Programming Time t CPT 32 words MSP430F1xx F4xx 2 62 ms 2 62 ms MSP430F2xx MSP430X 2 40 ms 2 40 ms Flash Erasing specification JTAG 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 GangPro430 USB MSP430 Flash Gang Programmer P
53. d with key cf is used Using Windows START button left bottom select Run Using Browse find and select executable file see Figure 11 1 C Program Files Elprotronic USB FlashPro430 USB MSP430 Prg exe GangPro430 USB MSP430 Flash Gang Programmer PMO15A01 Rev 8 69 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 Type the name of a program folder document or Internet resource and Windows will open it For vou Open C Program Files Elprotronic USB FlashPro4301USB Cancel Browse Figurel 1 1 To fully lock the configuration setup the extra key lock can be added in the command line eg C Program Files Elprotronic USB FlashPro430 USB 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 11 3 LT 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
54. data and Flash Memory Data can be compared and differences 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 x Addr 00 01 02 03 04 05 06 07 08 09 OA OB OC OD OE OF Ascii gt Data Result Comparation Only data from the code file that does not match with the Flash Memory data is displayed Extra data from the Flash Memory is ignored First Line Data from the Code File Second Line Data from the Flash Memory HXEUDUCT 22 m iue GAS dux deb Se ake cnm xb oum xu laa 0 mes sar men en es AA dm Sele 3 MR sor m Get Gras viet vistost dE ues sees ins A O EOPOs SA SA AR id Pa Be Be AS Ae SA S SARSARSARS STE us or ser cus ter unm asm NEA uum Gar VE ad OxELEOs s 50 qun de xe KE 28 EN Sen Gee es Ae ed BXE2DOS ls ue ouk wem neos GEX VL iC ou nA uses esie sum db gt NM UxEPD N EE RON RR AUS Aon 5 JC 55 55 5 ME Hoy Bec Bay RO FORE sE320 4 SE SE SE SE EN E
55. e 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 Figure 7 3 GangPro430 USB MSP430 Flash Gang Programmer PMO15A01 Rev 8 46 8 Serialization 8 1 Introduction GangPro430 programming software has ability to automatically create the target device s serial number and save it in the flash memory The serial number SN that have already been used are stored in the data file The new SN is created by incrementing a counter that for the SN and the highest SN is stored in a data file Furthermore model name group revision can be downloaded to target device The SN format and location in the device s flash memory must be specify by the user Note Serialization is available only when the JTAG SBW communication is used Serial Number Editor 10 xj Device Serialization Current SN vi Next SN vi vi Edited SN Target Device 1 123456 123456 ec Target Device 2 282211 C 282211 0 Target Device 3 2 212 C 2ac212 0 Target Device 4 2ah213 C 2ah213 Target Device 5 2dd214 C 2dd214 C 24421 4 Target Device 6 2yy215 e 2yy215 c 2521 5 YYMM12345678 Model Group Revision 3 3 3 m 2 90SB 0U JUJU
56. e 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 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 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 GangPro430 USB MSP430 Flash Gang Programmer PMO15A01 Rev 8 14 ROR USA Ms OO Figure 3 4 1 GangPro430 USB MSP430 Flash Gang Programmer PMO15A01 Rev 8 4 Programming Dialogue 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 i GangPro430 MSP430 JTAG BSL Flash Gang Programmer Elprotronic Inc File View Setup Tools Serialization About Help Open Code File gt ftest_1 path je Elpratronic Project MSP APPLAT Power Device from Adapter m Blow S
57. e 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 The Open Code File button or the Open Code File from the FILE pull down menu prompts for opening the object file that contains the code data as shown in Figure 4 2 1 When the file is selected the contents of the object file are downloaded into the PC memory If the selected microcontroller does not have enough memory to fit the data contained in the code file the warning message in Figure 4 2 2 will be displayed GangPro430 USB MSP430 Flash Gang Programmer PMO15A01 Rev 8 19 Setup1 2 sach33 txt Debug B code mem txt sach txt S HELP data_mem txt 2 sach 16k txt CJMSP430BSL Setup E Memview txt E Target m txt Release E ReadMe txt E testcode txt Dres sach2 txt Files of type Texas Instruments format txt Cancel Texas Instruments format 151 Motorola format 19 Intel format hex Figure 4 2 1 ox Code size exceeds FLASH memory available on the microcontroller Check the code file or change the microcontroller Excess data will be ignored Figure 4 2 2 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 Contents of the selected file can be viewed by the selecting of Code File Data
58. ed from target devices Only the SBWTDIO lines from the 14 pins connector can be connected to TEST SBWTDIO target s pins GangPro430 USB MSP430 Flash Gang Programmer 015 01 Rev 8 80 eq From GangPro430 140 1D0 TDI 5 120 100 TDI 4 i 100 1DO TDI 3 TEST e L4 e o o TDI e TDO TDI Figure 12 2 GangPro430 USB MSP430 Flash Gang Programmer PMO15A01 Rev 8 TARGET DEVICE 6 TARGET DEVICE 9 TARGET DEVICE 4 TARGET DEVICE j TARGET DEVICE 2 TARGET DEVICE 1 81 TARGET DEVICE 6 RST SBY TDID TEST SBWTCK Test sawrck TARGET 6 DEVICE 5 RST SBYITDIO From GongPro430 TARGET DEVICE 4 TEST SBWTEK 9 RST SBWTDIO TEST lt TARGET DEVICE 3 9 RST SBWTDIO TARGET EVICE 2 SND o VOC TEST SBWTCK TARGET TEST BE ICE 23 a RST SBWTDIO Note Connection between TEST 8 and target s devices can be remaved if blow the JTAG security fuse is not required Connection of the GangPro430 with target s Spy By Wire interface Figure 12 3 GangPro430 USB MSP430 Flash Gang Programmer
59. el Erasing when user interaction is required JTAG communication initialization All memory Blank checking OF Writing SM p 20052228 dane Writing SM p 20052229 dane Writing SM p 20052230 done SE Writing SM p 20052231 done Writing SN p 20052232 done Writing SM p 20052233 dane Flash programming done Toa 22 Verifying check sum DE Balance Heading Target Label dane SN at M DONE runtime 5 6 sec m Figure 4 6 3 Figure 4 6 2 GangPro430 USB MSP430 Flash Gang Programmer PMO15A01 Rev 8 2 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 when 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 erase flash memory confirm if memory has been erase flash programming and verification labelling information gen
60. emory this number can be seen as lt Hex format gt lt Ascii format gt 31 32 33 34 1234 Size 4 bytes Display Format Custom 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 02WX245234 will be saved in memory as 30 32 57 58 32 34 53 32 33 34 gt 02WX248234 When the HEX format is selected then the string is converted to HEX format only hex characters are accepted 0 1 2 3 4 5 6 7 8 9 A B C D E F All two character pairs are converted to hex format and saved in memory For example the entered following string 02A3B109E12F will be saved in memory as HEX MSB first gt 02 1 09 El 2F or HEX LSB first gt 2F El 09 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 3 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 GangPro430 USB MSP430 Flas
61. eration flash memory check sum verification retrieve labelling information 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 2 Status window see fig 4 6 3 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 Note Balance counter works only with Auto Program procedure 4 6 2 Verify Security Fuse 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 GangPro430 USB MSP430 Flash Gang Programmer PMO15A01 Rev 8 28 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 All Memory is selected in the Memory Options Setup see chapter 6 1 Memory Erase Write Verify Group for details then the following question message box will be displayed Memory erase Would you like to erase all memory contents ad Please pre
62. ers can be specified in the serialization dialogue screen Figure 8 2 as Ascii or HEX The SN data file can be created in any DOS editor like Notepad exe In this file any data specified after semicolon will be ignored and can be used as a comment only Data file should contains header and serial number list Following list of commands started from can be specified in the header SN_LIST Data file contains Serial number list SN_SIZE number optional Overwrite size of the custom defined serial number size see Figure 8 2 If the 5 SIZE is not specified then the data specified in the serialization dialogue screen is used SN_PREFIX string optional SN_SUFFIX string optional Serial number can contains up to 16 characters If part of characters are the same in specified serial number list then the repetable part can be specified in the SN PREFIX or SN SUFFIX and only modified part of serial numbers can be listed Serial number is combined as a string starting from prefix modified part and ending with suffix For example if the following serial number should be created 2007 0001 AB2007X 0002 BMR 2007 0003 can the SN be specified as follows SN_PREFIX AB2007X SN_SUFFIX BMR and list of following serial numbers 0001 0002 0003 Prefix and or suffix numbers can be modified in the list 1f required eg GangPro430 USB MSP430 Flash Gang Programmer PMO15A01 Rev 8 61 SN_PREFIX
63. ess e g AUTOPROGRAM failed if status from the FCONTROL function NUMBER call the external function from FxControl DLL pause in miliseconds 1 to 100000 range 1ms to 100 s FxControl DLL file Full path and DLL File name Configuration file Full path and File name Code file Full path and File name Password file Full path and File name File with Serial Number list Full path and File name Turn OFF Vcc from programming adapter to target device Turn ON Vcc from programming adapter to target device Note Vcc from FPA must be enabled first using configuration file RESET AUTOPROGRAM VERIFYFUSE VERIFYPASSWORD ERASEFLASH BLANKCHECK WRITEFLASH VERIFYFLASH READFLASH READSN BLOWFUSE equivalent to pressed button RESET on the main dialogue screen equivalent to pressed button AUTOPROGRAM on the main dialogue screen equivalent to pressed button VERIFY SEC FUSE on the main dialogue screen equivalent to pressed button VERIFY PASSWORD on the main dialogue screen equivalent to pressed button ERASE FLASH on the main dialogue screen equivalent to pressed button BLANK CHECK on the main dialogue screen equivalent to pressed button WRITE FLASH on the main dialogue screen equivalent to pressed button VERIFY FLASH on the main dialogue screen equivalent to pressed button READ COPY on the main dialogue screen equivalent to pressed button READ SN on the main dialogue screen equivalent to pr
64. essed button BLOW FUSE on the main dialogue screen GangPro430 USB MSP430 Flash Gang Programmer PMO15A01 Rev 8 74 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 END 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 of script program Below is an easy script file contents that allows to create following sequence l 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 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 desired code file etc Programmer s configuration should be saved using Save setup us option
65. face 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 reset pulse are defined initialization reset pulse time typically very short I 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 GangPro430 USB MSP430 Flash Gang Programmer PMO15A01 Rev 8 44 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 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 sta
66. g or some protection components are installed in the interface then the fast JTAG communication can not be used In this case lower speed 400kb s can be used to establish communication between FPA and target device see Figure 7 1 JTAG communication speed selector 7 1 3 BSL Communication Speed Default BSL communication speed between programming adapter and target device is 150 kb s In some condition when the cable between FPA and target device is long or some protection components are installed in the BSL interface then the fast BSL communication can not be used In this case lower speed 9 6 kb s can be used to establish communication between FPA and target device see Figure 7 1 BSL communication speed selector 7 1 4 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 up to 330 pF When this apacitor 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
67. g to review information about the flashed target devices DLL software package can control programmer from other programs x Programmer has been fully tested to comply with the FCC and CE requirements 2 Uses USB 1 1 12Mbits s Port to communicate with the Programming Adapter 2 1 Customized features GangPro430 programmer can be controlled from external software or programming sequences can be customized These features are very useful in production environment Standard programming software GangPro430 has a lot of options described above but of course it can not cover all customer s requirements 2 1 1 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 All 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 2 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 or other programming packages like Borland C etc See GangPro430
68. h Gang Programmer PMO15A01 Rev 8 57 Serial Number or Model Text is overlaping the active code space Please check the serialization setup Would you like to continue writing process anyway Yes Figure 8 3 8 2 3 Model Group Revision Custom text saved in target device s flash memory is a string up to 32 characters long in Ascii format It can contain any text but this feature is intentionally created to allow the hardware model revision and group to be saved Typically the object code does not contains this kind of information but it may be useful in some applications This feature is enabled when the check box ENABLE in the Model Group Revision field is marked see figure 8 2 When enabled the size of desired text must be specified in the field Text size in bytes Size value can be any even number between 2 and 32 The location of the text in the flash memory can be specified in the field Start Address in Memory Similarly to the location of the serial number the specified address must be even and must be specified in the empty memory space unused by program code or data block Otherwise the error message shown in figure 8 3 will be displayed The text to be saved in the flash memory can be entered in the Model Group Revision text edit line If the size of entered text exceeds the size specified in the Text size in bytes field then all character that do not fit in the allocate space w
69. hen the User Defined option is selected then on the right side of the Memory Erase Write Verify Group two check boxes and two addresses edit lines will be enabled The check boxes allow the user to select the information memory sectors A or and B to be used erased write verified Edit lines in the Main Memory group allow the user to specify the main memory address range start and stop addresses Start address should specify the first byte in the segment and the stop address should specify the last byte in the segment Since the main memory segment size is 0x200 then the start address should be a multiple of 0x200 eg 0x2200 The stop address should specify the last byte of the segment to be written Therefore it should be greater than the start address and point to a byte that immediately precedes a memory segment boundary eg 0x23FF or 0x55FF 6 Retain Data in Flash Group The MSP430F2xx series has the DCO calibration data saved in the INFO memory at addresses Ox 10F8 to Ox10FF However when the info segment is erased then the DCO calibration data can be erased also When the DCO Calibration Data box is selected in the Retain Data in Flash group Autoprogram button is pressed and the MSP430F2xx microcontroller is selected then contents of the info memory at location Ox 10F8 to Ox 10FF is read whole action is performed erase blank check program and contents of the original DCO data info at location Ox 10F8 to Ox 10FF are restored
70. ill be truncated 8 2 4 Device Serialization box Device Serialization box located on the main programming dialogue screen see figures 8 2 and 4 1 contains serial number and model information The first SN column contain information GangPro430 USB MSP430 Flash Gang Programmer PMO15A01 Rev 8 58 taken from the target devices The next column contain serial numbers list that are to be saved Whenever a communication with the target device is performed the serial number is read and displayed in the Device Serialization group The 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 edit line 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 and downloaded to the target devices When the SN is entered manually and Autoprogram button is pressed then the SN editor is displayed Figure 8 4 SN editor allows to select and edit desired serial numbers to be programmed in targets devices Device Serialization Model Group Revision GangPro430 Rev 0 Gr 1 Target Device 1 20052228 20052234 Target Device H2 20052223 20052235 Target Device 3 20052230 20052236 Target Device 4 2005221 20052237 Target Device H5 200
71. in alot 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 The BSL Password and Access dialogue figure 9 1 allows to edit the undefined data located in the flash memory in location to OxFFFF In the BSL Password group all unused data can BSL Password and Access 7 58 BSL Enhanced Security BSL version 2 0 and higher only v Enable Default if disabled Do not erase flash memory if an incorrect BSL password has been used Erase the flash memory if an incorrect BSL password has been used C Disable BSL access Note The BSL Enhanced Security setup is disabled if the flash location FFDE FFDF is used r BSL Password Enable Note Open desired Code File before editing the BSL password Address PUE B gt peo ao az faa as w fro ae fr erre cs R EF 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 ini
72. ing software Driver Installation 1 Plug in USB MSP430 FPA to the PC USB Port using provided cable extender USB A to USB B Windows XP The New hardware has been found should be displayed Follow the wizard instruction to install the drivers Drivers are located in the CD ROM directory D drivers W2000 ME XP where D represents the drive letter of your CD ROM drive or in the application software directory C Program Files Elprotronic XPro USB Drivers W2000 ME XP Windows 2000 98 SE The New hardware has been found should be displayed Follow the wizard instruction to install the drivers Press Next when the Device Wizard Driver screen appear GangPro430 USB MSP430 Flash Gang Programmer PMO15A01 Rev 8 12 4 Select the following option on the wizard screen select for a suitable driver for my device recommended and press Next Te 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 Drivers W98 and press Next 7 Driver installation process will start Driver installation procedures should be done twice Software will install two USB drivers the Boot driver and the Application driver Reboot
73. llowing 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 GangPro430 USB MSP430 Flash Gang Programmer PMO15A01 Rev 8 63 Serial numbers list from the file D Number of the SN found in the data base removed from the list 0 Number of the SN numbers with incorrect size current setup 6 char removed from the list 10 Number of the SN attached to the list 123456 242211 2 212 2 213 2DD214 2YY215 277216 2NN217 2MM218 2QE219 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 GangPro430 USB MSP430 Flash Gang Programmer PMO15A01 Rev 8 64 9 BSL Password and Access The MSP430 bootstrap loader BSL enables users to communicate with the MSP430 even if the JTAG security fuse is blown Access to the MSP430 memory via BSL interface is protected against unauthorized access by a user defined password The BSL password itself consist 32 bytes on location OxFFEO to OxFFFF This flash memory location is also used by the interrupt vector If all interrupt location available in the MSP430 are used and specified then the BSL password is used in fully and unauthorized access probability to the MSP430 is very low But
74. low Fuse voltage Vpp 6 5V Target s Device Vcc Sense TMS In TMS Input TDO TDI 2 Data output Input 2 TCK In TCK Input pin TEST Vpp TEST Input pin Blow Fuse voltage Vpp 6 5V Used only with the MSP430Fxx with the small package 28 pins and below TDO TDI 3 Data output Input 3 TDO TDI 4 Data output Input 4 TDO TDI 6 Data output Input 6 TDO TDI 5 Data output Input 5 Microcontroller Reset Input pin GangPro430 USB MSP430 Flash Gang Programmer PMO15A01 Rev 8 79 Table 12 2 shows the Spy Bi Wire interface connector descriptions Figure12 3 show interconnection between JTAG Spy Bi Wire connector and six target Table 12 2 Gang Spy Bi Wire Interface connector SBWTDIO 1 Data output Input 1 VCC In Sense Vcc supplied to the target 2 2 to 3 6V 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 devices All TDIO s signals are connected to target s devices TEST SBWTDIO pins via resistor 330 ohms and the TEST pin is connected directly to the same target s device pins TEST SBWTDIO When blow the JTAG security fuse is not required then the TEST line can be disconnect
75. nd found 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 x Reorient or relocate the receiving antenna Increase the separation between the equipment and receiver Connect the equipment into an outlet circuit different from that to which the receiver is connected Consult the dealer or an experienced radio TV technician for help 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 I Introduction
76. nly When this option is selected the Auto Program 1008 procedure will not erase memory contents Instead 25 80 40 39 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 0x1008 and 6 bytes of data starting at location 0x2200 Before writing operation all data in the flash memory at the specified location should be blank contain value OxFF The software will verify automatically if this part of 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 ta
77. racter 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 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 GangPro430 USB MSP430 Flash Gang Programmer PMO15A01 Rev 8 73 max up to 50 lines Message box type list OK OKCANCEL YESNO YESNOCANCEL GOTO label CALL label RETURN Number of content lines up to 50 lines One button OK Two buttons OK CANCEL Two buttons YES NO Three buttons YES NO CANCEL CALL procedure return from CALL IF condition GOTO label IF condition CALL condition list BUTTONOK BUTTONYES BUTTONNO BUTTONCANCEL DONE FAILED CONTROL number FCONTROL type argument PAUSE number OPENDLLFILE filename LOADCFGFILE filename LOADCODEFILE filename LOADPASSWFILE filename LOADSNFILE filename VCCOFF VCCON label if button OK pressed in the message box if button YES pressed in the message box if button NO pressed in the message box if button CANCEL pressed in the message box if selected process e g AUTOPROGRAM finished successfully if selected proc
78. 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 Note 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 GangPro430 GUI package software when the JT AG or Spy Bi Wire access is available when the JTAG fuse is not blown See the GangPro430 manual for details All 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 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 seconds after switching off the power from FPA otherwise test failed GangPro430 USB MSP430 Fla
79. rget device does not contain the value OxFF at that location All Memory This is the most frequently used option during flash memory programming process All memory is erased before programming All contents from the code file are downloaded to the target microcontroller s flash memory Main memory only This option allows to erase and program the main memory only Flash information memory segments A and B will not be modified Contents of the information memory from the code file will be ignored if code file contains such data 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 GangPro430 USB MSP430 Flash Gang Programmer 015 0 1 Rev 8 38 memory segment at addresses 0x1000 to 0x107F and main memory segment at addresses 0x2200 to Ox23FF 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 W
80. rogrammer 015 01 Rev 8 83 pa TARGET TEST DEVICE 6 TARGET 5 tE JES DEVICE 5 From GangPro430 BSL TARGET BSL Tx 6413 85L Tx 5 DEVICE on 120 85 4 GNO 9 BSL Tx 3 4 TEST TMS BSL Tx 2 9 9908 TARGET BSL Tx 1 y 29 VCC SW 11 tt 2 vest Ta DEVICE o BSL RX 3 o BSL TX TARGET DEVICE 2 a VE TARGET 3 DEVICE L 1 Figure 12 4 GangPro430 USB MSP430 Flash Gang Programmer PMO15A01 Rev 8 84 Age Ave ABZ S YOLVINDIY i i i h 39V110A Act 1 i i 330 5 99 N3 1 001 D E 1 01 O i N3 I01 EE 3 9 2 001 I i 2 0101 O t 01 gt 1531 E MS 22 T 1 1001 pop Y Far Z 100L 1531 100L T v l00L 158 56 1001 179 001 NOD ir 0101 1 1 1 1 T 1 1 1 1 0101 O ovir T 0 65 0101 O
81. ronic The Product is protected by copyright laws and international treaty provisions Therefore you must treat the Product like any other copyrighted material 3 Limitation of liability In no event shall Elprotronic be liable to you for any loss of use interruption of business or any direct indirect special incidental or consequential damages of any kind including lost profits regardless of the form of action whether in contract tort including negligence strict product liability or otherwise even if Elprotronic has been advised of the possibility of such damages 4 DISCLAIMER OF WARRANTIES You agree that Elprotronic has made no express warranties to You regarding the software hardware firmware and related documentation The software hardware firmware and related documentation being provided to You AS IS without warranty or support of any kind Elprotronic disclaims all warranties with regard to the software and hardware express or implied including without limitation any implied warranties of fitness for a particular purpose merchantability merchantable quality or noninfringement of third party rights This device complies with Part 15 of the FCC 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 a
82. rt the application program or Soft Reset JTAG only and start the application program or ON OFF Vec and start the application program 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 cycley 50 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 GangPro430 USB MSP430 Flash Gang Programmer PMO15A01 Rev 8 45 7 3 Options Dialogue Box The Options Dialogue screen allows to enable or disable the report history in the report window see figure 4 1 When enabled then the report history is displayed up to 8 kB characters approximately 20 last communication messages When disabled then the only last programming report is displayed Programming software can generat
83. sh Gang Programmer 015 01 Rev 8 90 The Self Test programming software package is located in directory C Program Files Elprotronic MSP430 USB GangPro430 SelfTest and contains following files GangPro430FPA dll Multi FPA selection distribution DLL GangPro430FPA 1 41 USB FPA DLL config ini default configuration file for the FPAs GangPro430SelfTest exe executable file To run the executable file GandPro430SelfTest exe it in the other location the files listed above should be copied as is to destination directory GangPro430 USB MSP430 Flash Gang Programmer 015 01 Rev 8 91
84. ss YES gt to erase all memory contents NO gt to erase user defined memory space CANCEL 7 to abort this task Yes Ma 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 mi all memory is blank all memory is not blank but selected part of it is x memory is not blank GangPro430 USB MSP430 Flash Gang Programmer PMO15A01 Rev 8 29 4 6 5 Write Flash button When write flash button is clicked then contents from the code file 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 9 Please erase Flash memor First we 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
85. ssed 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 3 1 Blow Security E W Enable BLOM FUSE Figure 4 3 1 Because blowing of the Security Fuse is not reversible the following warning message is displayed when check mark is selected to be enabled Warning 303 Blow the Security Fuse Procedure is NOT reversible When Fuse is blown then microcontroller is not accessible via the JTAG interface Would you like to enable the option of blowing the Security Fuse Yes No Figure 4 3 2 Note Ifthe option of blowing the Security Fuse is enabled then if AUTO PROGRAM device action is selected the fuse will be blown without warning When BLOW FUSE button is pressed then two following warnings are displayed before fuse will be blown GangPro430 USB MSP430 Flash Gang Programmer PMO15A01 Rev 8 23 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
86. st BSL proprietary of Elprotronic Inc is temporary downloaded to the RAM of each programmed device Major features of the GangPro430 programmer are x Support all MSP430Fxx microcontrollers from TI i Programming speed via JTAG interface is approximately 12 kBytes s simultaneously up to six target devices that is equivalent to 72 kbytes s programming speed per one programmed target device Programming speed via BSL interface is 9 6 kbits s BSL and 150 kbits s Fast BSL 2 Our programmers are professionally made and are recommended by Texas Instruments as the Third Party Tools source 5 Our programmers are currently the fastest programmers on the market Blow JTAG security fuse capability Full memory or sector memory erase capability s Write Check Sum verification No code size limitations Target device can be powered from the programming adapter from external source Easy to use Windows based software Programmer accept TI txt Motorola s19 and Intel hex data files for programming Combine code files capability Lock setup capability useful in production GangPro430 USB MSP430 Flash Gang Programmer PMO15A01 Rev 8 10 ki 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 allowin
87. the Security Fuse ej Figure 4 3 3 A You sure Figure 4 3 4 When the button YES is pressed twice the procedure of blowing the security fuse will be initiated When Security Fuse is blown the JTAG SBW interface becomes inoperable 4 4 Power Device from Adapter The programming adapter is powered from the USB Port interface Target device can be powered from the programming adapter with voltage range from 2 2V to 3 6V in step 0 2V selected in the voltage selector located in the Power Device from Adapter box Target device will be powered from the adapter if check box Enable in the Power Device from Adapter group figure 4 4 1 is selected When the Enable checkbox is selected a warning message shown in figure 4 4 2 will be displayed If you confirm this selection by clicking YES then POWER ON OFF button is enabled By clicking POWER ON OFF button you can turn the power on or off on the target device Power Device from Adapter 32V Enable O POWER ON OFF 317v Figure 4 4 1 GangPro430 USB MSP430 Flash Gang Programmer PMO15A01 Rev 8 24 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 be displayed indicating that DC voltage is OK and
88. the programmed device with the high speed The effective programming speed is around 12 kbytes s simultaneously up to six target devices that is equivalent to 72 Elprotronic Inc kbytes s programming speed per one programmed target device Due to this high speed communication programming time is very short and programmer can be used to program flash devices in the production process GangPro430 FlashPro430 Flash Programming Adapter PNW USH MSP430 FPA 3 0 SN 20050151 FE vwwwelprotronic com 188 VII For example six microcontrollers with 60 kB Flash such as MSP430F149 can be programmed in 8 seconds This time Figure 1 1 includes initialization erasing memory blank checking programming and fast verification The Gang Splitter Figure 1 2 sold separately allows to connect up to six target devices to one Gang 2 o gt a o i z i BSL 06371 MSP430Fxx ati ide decade m SangPro430 Gee J3 Programming Adapter Communication Splitter 282 7777074 A JTAG Spy Bi Wire or BSL is e L provided the same Gang Splitter Figure 1 2 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 GangPro430 USB MSP430 Flash Gang Programmer PMO15A
89. tialize unused data to increase code security Create Password File OK Cancel Figure 9 1 GangPro430 USB MSP430 Flash Gang Programmer PMO15A01 Rev 8 65 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 passwor file then can be used in the future to unlock an access to programmed MSP430 devices The newest MSP430 microcontrollers with the BSL version 2 0 and higher have enhanced security features These features are controlled by the Flash data word located below the interrupt vector e g OXFFDE 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
90. tton OK is pressed then programmer is ready to program the destination microcontrollers GangPro430 USB MSP430 Flash Gang Programmer PMO15A01 Rev 8 32 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 from the Device Action group is pressed then button NEXT takes the name and feature of that button For example if Auto Program button has been used then it s name will be displayed on top of the NEXT button see Fig 4 7 2 From now the button NEXT will perform the same function as the Auto Program button The NEXT button has a shortcut to function key F5 Button NEXT will retain its functionality until some other device key is clicked For example if key READ FLASH is clicked then from this moment button NEXT will take a name and feature of the READ FLASH button see Fig 4 7 3 The read flash procedure will be called if button NEXT or function key F5 is pressed Figure 4 7 1 AUTO PROGRAM 7 NEXT F5 Figure 4 7 2 READ FLASH NEXT F5 Figure 4 7 3 GangPro430 USB MSP430 Flash Gang Programmer 015 01 Rev 8 33 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
91. txt 01 R 0003 04 17 Serial number can be created as a unique SN per target s device type or as a unique SN in any devices type When unique SN per target device type is created then serial number file name and path should be used for each device type separately If a unique SN for any devices type is created then only one serial number file name should be used 8 2 2 Serial number formats Programming software has seven methods for creating the serial number referred to as Display format and four methods of storing the SN in the memory referred to as In Memory Format in the serialization dialogue screen When a serial number is created current date if required is taken from the PC timer Make a sure that your computer has correct date and time Display Format 1 YYYY 1234 5 SN Format F0 Serial number has 8 or 9 characters First four characters contain current year and remaining 4 or 5 characters contain the serial number eg SN 20030123 or 200300123 has a number 0123 or 00123 created in the 2003 year 2 YYMM 1234 5 SN Format Serial number has 8 or 9 characters First two characters contain last two digits of current year next two characters GangPro430 USB MSP430 Flash Gang Programmer 015 0 1 Rev 8 49 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 d
92. ure 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 details GangPro430 USB MSP430 Flash Gang Programmer PMO15A01 Rev 8 31 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 will be displayed Copy Flash EE xl Contents of the Flash Memory has been saved in the File E 1MSP APPLI TmpCodeltest copy txt and opened as current Code File Note The All Memory option in Write Erase V erify 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 it is done and then use the standard buttons like AUTOPROGRAM to program the new device Figure 4 6 7 2 When the bu
93. ures related to each action allow you to fully execute the desired task without 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 Interface The security fuse is verified if access to the microcontroller is available Once the specified action is completed successfully the green check marks will appear see Figure 4 5 1 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 has been finished successfully then message done or OK will appear on the right side of processed procedure Fig 4 6 2 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 3 as Active blue Pass green or Fail red On the bottom of the programmer dialogue screen the progress bar is displayed and the total Device Action Reload Code File AUTO PROG Verify Security Fuse ERASE FLASH BLANK CHECK WRITE FLASH WRITE SN Model VERIFY FLASH READ COPY Read SN Figure 4 6 1 run time is shown in the report window Run time does not include the time Report Reading Target Lab
94. y Software can be activated from the Start menu Start gt Programs gt Elprotronic Flash Programmers gt MSP430 GangPro430 gt GangPro430 Self Test or by running the program GangPro430SelfTest exe from the location C Program Files Elprotronic MSP430 USB GangPro430 Self Test The Figure 2 1 presents the GUI of the gangPro430 Self Test Connect the Flash Programming Adapter FPA to PC USB port connect your target devices to FPA select LA Self Test GangPro430 Elprotronic Inc a Dl xj Report Target Device Report message MSP430F 148 Reading data from done Target s Vcc fort data rd 0x0214 k p F Get Byte from Gang Buffer p 1 0x0214 k 3 2N 1 0 0214 0x00 0x01 0x02 0x03 0x04 0 05 0 06 0x07 0x08 0x09 2 0 0214 0x21 0x22 0x23 0x24 0x25 0x26 0x27 0x28 0x29 0x24 Interface 3 0x0214 0x42 0x43 0x44 0x45 0x46 0x47 0x48 0x49 0x44 Ox4B JTAG 1MbJs Y 4 0x0214 0x63 0x64 0x65 0x66 0x67 0x68 0x69 0x64 0 6 Ox6C 5 0 0214 0x84 0 85 0x86 0x67 0x88 0 89 Ox84 0 8 0 8 0x8D Reset Pulse width 6 0x0214 0x45 0x46 OxA 0x48 OxA9 OxAA OxAB OxAD om verifying wr and rd data OK test 82 Iv Target 1 IV Target 2 F Close Target Device OK testit 83 Target 3 Response gt hex 0x003F decimal 63 Target 4 Report message Target 5 pr comi IV Target
Download Pdf Manuals
Related Search
Related Contents
User's Manual Smeg LAVATRICE LBS86F User's Manual LevelOne 24V AC High Power PoE Splitter user manual for Vitalizer CPM Series User's Guide OPERATING INSTRUCTIONS Refrigeration Manual - HVAC and Refrigeration Information Links Advanced Cable Technology RL2501 fiber optic cable 1756-RM084 - Literature Library Copyright © All rights reserved.
Failed to retrieve file