Texas Instruments MSP430 инструкция обслуживания

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53

Идти на страницу of

Хорошее руководство по эксплуатации

Законодательство обязывает продавца передать покупателю, вместе с товаром, руководство по эксплуатации Texas Instruments MSP430. Отсутствие инструкции либо неправильная информация, переданная потребителю, составляют основание для рекламации в связи с несоответствием устройства с договором. В законодательстве допускается предоставлении руководства в другой, чем бумажная форме, что, в последнее время, часто используется, предоставляя графическую или электронную форму инструкции Texas Instruments MSP430 или обучающее видео для пользователей. Условием остается четкая и понятная форма.

Что такое руководство?

Слово происходит от латинского "instructio", тоесть привести в порядок. Следовательно в инструкции Texas Instruments MSP430 можно найти описание этапов поведения. Цель инструкции заключается в облегчении запуска, использования оборудования либо выполнения определенной деятельности. Инструкция является набором информации о предмете/услуге, подсказкой.

К сожалению немного пользователей находит время для чтения инструкций Texas Instruments MSP430, и хорошая инструкция позволяет не только узнать ряд дополнительных функций приобретенного устройства, но и позволяет избежать возникновения большинства поломок.

Из чего должно состоять идеальное руководство по эксплуатации?

Прежде всего в инструкции Texas Instruments MSP430 должна находится:
- информация относительно технических данных устройства Texas Instruments MSP430
- название производителя и год производства оборудования Texas Instruments MSP430
- правила обслуживания, настройки и ухода за оборудованием Texas Instruments MSP430
- знаки безопасности и сертификаты, подтверждающие соответствие стандартам

Почему мы не читаем инструкций?

Как правило из-за нехватки времени и уверенности в отдельных функциональностях приобретенных устройств. К сожалению само подсоединение и запуск Texas Instruments MSP430 это слишком мало. Инструкция заключает ряд отдельных указаний, касающихся функциональности, принципов безопасности, способов ухода (даже то, какие средства стоит использовать), возможных поломок Texas Instruments MSP430 и способов решения проблем, возникающих во время использования. И наконец то, в инструкции можно найти адресные данные сайта Texas Instruments, в случае отсутствия эффективности предлагаемых решений. Сейчас очень большой популярностью пользуются инструкции в форме интересных анимаций или видео материалов, которое лучше, чем брошюра воспринимаются пользователем. Такой вид инструкции позволяет пользователю просмотреть весь фильм, не пропуская спецификацию и сложные технические описания Texas Instruments MSP430, как это часто бывает в случае бумажной версии.

Почему стоит читать инструкции?

Прежде всего здесь мы найдем ответы касательно конструкции, возможностей устройства Texas Instruments MSP430, использования отдельных аксессуаров и ряд информации, позволяющей вполне использовать все функции и упрощения.

После удачной покупки оборудования/устройства стоит посвятить несколько минут для ознакомления с каждой частью инструкции Texas Instruments MSP430. Сейчас их старательно готовят или переводят, чтобы они были не только понятными для пользователя, но и чтобы выполняли свою основную информационно-поддерживающую функцию.

Содержание руководства

  • Страница 1

          July 2009 User ’ s G uide SLAU048H[...]

  • Страница 2

    EV ALUA TION BOARD/KIT IMPORT ANT NOTICE T exas Instruments (TI) provides the enclosed product(s) under the following conditions:. This evaluation board/kit is intended for use for ENGINEERING DEVELOPMENT , DEMONSTRA TION, OR EV ALUA TION PURPOSES ONL Y and is not considered by TI to be a finished end−product fit for general consumer use. Persons[...]

  • Страница 3

    EVM W ARNINGS AND RESTRICTIONS It is important to operate this EVM within the specified input and output ranges described in the EVM User ’s Guide. Exceeding the specified input range may cause unexpected operation and/or irreversible damage to the EVM. If there are questions concerning the input range, please contact a TI field representative pr[...]

  • Страница 4

    [...]

  • Страница 5

    T rademarks v Read This First Preface  About This Manual This document describes the MSP430-family hardware, operation, and software installation and setup. How to Use This Manual This document contains the following chapters: - Chapter 1 − Installation and Setup - Chapter 2 − Operation - Chapter 3 ?[...]

  • Страница 6

    FCC Warning vi FCC Warning This evaluation board/kit is intended for use for ENGINEERING DEVELOPMENT , DEMONSTRA TION, OR EV ALUA TION PURPOSES O NL Y and is not considered by TI to be a finished end-product fit for general consumer use. It generates, uses, and can radiate radio frequency energy and has not been tested for compliance with the limit[...]

  • Страница 7

    Running Title—Attribute Reference vii Chapter Title—Attribute Reference  1 Installation and Setup 1-1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.1 Installing the Software 1-2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . [...]

  • Страница 8

    Running Title—Attribute Reference viii  1−1 ADT430 Program Icons 1-2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1−2 Serial Programming Adapter 1-3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2?[...]

  • Страница 9

    1-1 Installation and Setup    This chapter describes the process of installing and programming the hardware and software for the MSP430-PRGS430 programming adapter used with the MSP430 family of microcontrollers. T opic Page 1.1 Installing the Software 1-2 . . . . . . . . . . . . . . . . .[...]

  • Страница 10

    Installing the Software 1-2 1.1 Installing the Software T o install the MSP-PRGS430 software, perform the following steps: NOTE: T o ensure that you are using the latest version of the MSP-PRGS430 software, you must download the installation executable from the TI web site. 1) Browse to the MSP-PRGS430 page on www .ti.com (http://www .ti.com/prgs43[...]

  • Страница 11

    Installing the Hardware 1-3 Installation and Setup 1.2 Installing the Hardware T o install the programming adapter hardware, perform the following steps: 1) Using the 9-pin SUB-D connector , connect the programming adapter to the serial port (COM1−COM4) of the PC. 2) Connect an external power supply to the programming adapter . The voltage of the[...]

  • Страница 12

    1-4[...]

  • Страница 13

    2-1 Operation  This chapter describes the programming procedure for MSP430 devices and the error messages you may encounter during the procedure. T opic Page 2.1 Software/Hardware Layers of the PRGS430 Environment 2-2 . . . . . . . . . 2.2 Programming MSP430 Devices With the GUI 2-3 . . . . . . . . . . . . . . . . . . . .[...]

  • Страница 14

    Software/Hardware Layers of the PRGS430 Environment 2-2 2.1 Software/Hardware Layers of the PRGS430 Environment PRGS430.EXE PRGS430.INI PRGS430.DLL CommandLine MSP430 DEVICE.CFG PRGS430 [Project] .INI RS232 JT AG PC − Software Serial Programming Adapter T arget Socket or Application Function GUI There are three ways to handle and communicate with[...]

  • Страница 15

    Programming MSP430 Devices With the GUI 2-3 Operation 2.2 Programming MSP430 Devices With the GUI 2.2.1 Basic Procedure The following steps should be used to program the MSP430 devices: 1) Click o n the Program Device icon during the installation-selected program group (default: ADT430). The MSP430 programmer dialog box appears. The status line at [...]

  • Страница 16

    Programming MSP430 Devices With the GUI 2-4 2.2.2 Description of the MSP-PRGS430 GUI An MSP430 device is commonly programmed as follows: 1) Select the file that contains the data to program from the MSP430 programmer dialog box (see Figure 2−1). 2) Select the device. An error message appears on the screen if the device selected is different or no[...]

  • Страница 17

    Programming MSP430 Devices With the GUI 2-5 Operation T able 2−1. MSP430 Function Buttons and Descriptions (Continued) Button Name Sub-Functions Description V erify the data in the MSP430 device according to the selected option. By file A verification of the memory locations vs the selected object file is V erify By device A verification of the m[...]

  • Страница 18

    Programming MSP430 Devices With the GUI 2-6 2.2.3 Error Messages One of the following messages may show up if JT AG communication is not established correctly: If the MSP430 device to program can not be found, the message shown in Figure 2−2 appears. This problem can be caused by the PRGS430 not being connected to the hardware, the device not ins[...]

  • Страница 19

    Programming MSP430 Devices With the GUI 2-7 Operation Figure 2−5. Data Error[...]

  • Страница 20

    Programming MSP430 Devices With the GUI 2-8 T able 2−2. Error Messages Error T ype Error Message Communication Communication failed! Communication Adapter not connected! Communication Synchronization with adapter failed! Communication The present adapter is not an MSP-PRGS430! Communication Missing setting of V CC ! MSP430 T arget not connected! [...]

  • Страница 21

    Content of PRGS430.ini File 2-9 Operation 2.2.4 Content of PRGS430.ini File The last settings of the PRGS430 graphical user interface (GUI) are stored in the .ini file before exiting the program. This information is stored under the Program Device System section. Additionally , the following parameters are in the [Options] section and may be modifi[...]

  • Страница 22

    Command Line Options 2-10 2.3 Command Line Options 2.3.1 General Definitions 0: Off 1: First selectable option 1: On 2: Second selectable option 3: Third selectable option Th e PRGS430.ini file options are used if they are not specified in the command line. The command line option overwrites the .ini file options. Th e program exits automatically i[...]

  • Страница 23

    Command Line Options 2-1 1 Operation T able 2−3. Command Line Options (Continued) Options for Program Command: /PE:{0,1,2} Option program with erase (flash only) 0: Without erase 1: Main and Info memory 2: Main memory only /PC:{0,1} Option program with erase check 0: Disable 1: Enable /PV :{0,1} Option program with verify 0: Disable 1: Enable /PB[...]

  • Страница 24

    2-12 2.3.2 Return V alues/Error Codes in .ini File The error code is returned to the PC operating system and also is stored in PRGS430.ini. File in the [Options] section: LastResult=0 0 Ok 2 Communication failed! 3 T arget not connected! 4 Adapter not connected! 5 Wrong JT AG version! 6 PUC failed! 7 Synchronization with adapter failed! 8 The prese[...]

  • Страница 25

    PRGS430.DLL—Description 2-13 Operation 2.4 PRGS430.DLL—Description The PRGS430.dll is used to communicate with the MSP−PRGS430 hardware and the connected MSP430 device. Th e initialization of the PRGS430 should be done with the following sequence: InitCom SetDeviceT ype SetV CC . InitT arget . ... . ReleaseT arget ReleaseCom Several examples [...]

  • Страница 26

    PRGS430.DLL—Description 2-14 /FN0004/ InitT arget long int InitT arget(char* lpszDeviceName) Initializes the JT AG access to the target device, detects the device type, and reports when the detected device does not match the parameter DeviceName passed. lpszDeviceName: name of the device in file device.cfg Example: lFuncReturn = InitTarget (”MS[...]

  • Страница 27

    PRGS430.DLL—Description 2-15 Operation Note: For some MSP430 family members, e.g., MSP430F2xxx devices, portions of flash information memory are factory preprogrammed with calibration data. Depending on which method is used for erasing the flash memory , this calibration data may be erased. Should the calibration data be conserved, it must be rea[...]

  • Страница 28

    PRGS430.DLL—Description 2-16 /FN0009/ EraseCheckFile long int EraseCheckFile(char* lpszFileName, long int iFileT ype) This function checks if all memory addresses, which are in the file, are erased. lpszFilName: Name of the file iFileT ype: FILETYPE_AUT O (0x00) − autodetection of file type (Intel-hex or TI-TXT) FILETYPE_TI_TXT (0x01) − file [...]

  • Страница 29

    PRGS430.DLL—Description 2-17 Operation /FN00012/ V erifyFile long int V erifyFile(char* lpszFileName, long int iFileT ype) This function checks if the memory contents of the target device are equal to the file contents. lpszFileName: Name of the file iFileT ype FILETYPE_AUT O (0x00) − autodetection of file type (Intel-hex or TI-TXT) FILETYPE_TI[...]

  • Страница 30

    PRGS430.DLL—Description 2-18 wStart: Start address of the range that is to be erased. Allowed values : 0x0000−0xFFFE (see memory map of the corresponding device) wLength: Length of the range Allowed values : 0x0000−0xFFFE (see memory map of the corresponding de- vice) lpData: Pointer to the Data to be programmed Flags: The bits in Flags contr[...]

  • Страница 31

    PRGS430.DLL—Description 2-19 Operation Note: Use PGM_ERASE_INFO only together with the PGM_WITH_ERASE flag. lpszProjectIni Name of the {project}.ini file, if protection settings from this file are used. If no protection is required, replace lpszProjectIni with NULL. The added features do not need to be used—for ProgramFile according to older sp[...]

  • Страница 32

    PRGS430.DLL—Description 2-20 Example: lFuncReturn = ReadOutData(long:0xF000, long:0x1000, void* lpBuffer) /FN0019/ ReadOutFile long int ReadOutFile(long int wStart, long int wLength, char* lpszFileName, long int iFileT ype) Reads out data from the device and writes it to a file wStart: Start address of the area to be read out. Allowed values : 0x[...]

  • Страница 33

    PRGS430.DLL—Description 2-21 Operation /FN0022/ SetNotificationWnd LONG SetNotificationWnd(LONG hWnd, LONG IMessageID) SetNotificationWnd() enables the status notification of a window . hWnd passes a window handle and IMessageID passes a message identifier . Each time a notification of the status window is necessary , the DLL sends a IMessageID m[...]

  • Страница 34

    PRGS430.DLL—Description 2-22 DEVICE_MEMDEF (0x07) Fills the definition of a memory definition (index passed by InfoIdx) into lpBuf. DEVICE_MEMPROTECT_COUNT (0x08) GetDeviceCfgInfo() returns the number of memory-protection definitions for the selected device; lpBuf and InfoIdx are ignored. DEVICE_MEMPROTECT (0x09) Fills the definition of a memory [...]

  • Страница 35

    PRGS430.DLL—Description 2-23 Operation 2.4.1 Return V alues/Error Codes From PRGS430.DLL Status Return V alue Comment OK 0 SUCCESS −1 Operation OK ERR_COMMUNICA TION −2 Communication error (SSP) ERR_T ARGET_NOT_CONNECTED −3 No target connected ERR_SP A430_NOT_CONNECTED −4 No SP A430 connected ERR_WRONG_JT AG_VERSION −5 JT AG version abo[...]

  • Страница 36

    2-24[...]

  • Страница 37

    3-1 Hardware  This chapter describes the hardware for the MSP430 family of microcontrollers, including specifications, components of the programming adapters, and connection of the programming adapter to the MSP430 device families. T opic Page 3.1 Specifications 3-2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .[...]

  • Страница 38

    Specifications 3-2 3.1 Specifications The specifications for the MSP430 hardware are shown in T able 3−1. T able 3−1. MSP430 Hardware Specifications T emperature range 10 ° C–45 ° C Humidity 40%–70% Power supply 14 V–20 V , 200 mA minimum Dimensions 150 mm (W) × 30 mm (H) × 95 mm (D) 3.2 Basic Hints These basic hints are useful for pr[...]

  • Страница 39

    Programming Adapter T arget Connector Signals 3-3 Hardware 3.3 Programming Adapter T arget Connector Signals The target connector signals for the programming adapter ensure communication between the programming adapter and MSP430 devices and supply low energy to systems without extra supply sources. Figure 3−1 and Figure 3−2 show the target con[...]

  • Страница 40

    Programming Adapter T arget Connector Signals 3-4 T able 3−2. T arget Connector Signal Functions Signal/T erminal Name Required Function/Comment TMS Mandatory T est mode select functions according to IEEE1 149.1 TCK Mandatory T est clock functions according to IEEE1 149.1 TDI/VPP Mandatory T est data input functions according to IEEE1 149.1, but [...]

  • Страница 41

    MSP-PRGS430 Circuit Diagrams 3-5 Hardware 3.4 MSP-PRGS430 Circuit Diagrams The MSP-PRGS430 circuit diagrams are found in Appendix B. 3.5 Location of Components − MSP-PRGS430 Figure 3−3. MSP-PRGS430 Components MSP430P337 Note: Do not use J2 pin 9 as RST/NMI pullup.[...]

  • Страница 42

    Interconnection of MSP-PRGS430 to OTP/EPROM-Based 3-6 3.6 Interconnection of MSP-PRGS430 to OTP/EPROM-Based MSP430 Devices The circuit diagram in Figure 3−4 shows the connections required to program OTP (MSP430Pxxx) and EPROM (MSP430Exxx) based MSP430 devices with the MSP-PRGS430 programming adapter . Consult the device data sheet for the specifi[...]

  • Страница 43

    Interconnection of MSP−PRGS430 to Flash-Based MSP430 Devices 3-7 Hardware 3.7 Interconnection of MSP−PRGS430 to Flash-Based MSP430 Devices The circuit diagram in Figure 3−5 shows the connections required to program flash-based MSP430 devices (MSP430Fxxx) with the MSP−PRGS430 programming adapter . Consult the device data sheet for the specif[...]

  • Страница 44

    3-8[...]

  • Страница 45

    A-1 Hex Object Format    This appendix discusses the hex object format. T opic Page A.1 Intel-Hex Object Format A-2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A.2 TI-TXT File Format A-3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . [...]

  • Страница 46

    Intel-Hex Object Format A-2 A.1 Intel-Hex Object Format The Intel-hex object format supports 16-bit addresses and consists of a nine-character (four field) prefix that defines the start of record, byte count, load address, record type, and a two character sumcheck suffix. The two record types, which are represented in the nine-character prefix, are[...]

  • Страница 47

    TI-TXT File Format A-3 Hex Object Format A.2 TI-TXT File Format The TI-TXT file format used by the tool is shown as follows: @ADDR1 DATA01 DATA02 ........ DATA16 DATA17 DATA32 ........ DATA32 ........ DATAm ........DATAn @ADDR2 DATA01 .................... DATAn q Whereas: @ADDR is the start address of a section (hexadecimal) DA T An represents a da[...]

  • Страница 48

    A-4[...]

  • Страница 49

    B-1 Schematics  This appendix contains the schematic diagrams for the serial programming adapter . Appendix B[...]

  • Страница 50

    B-2[...]

  • Страница 51

    B-3 Schematics[...]

  • Страница 52

    B-4[...]

  • Страница 53

    IMPORTANT NOTICE Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, modifications, enhancements, improvements, and other changes to its products and services at any time and to discontinue any product or service without notice. Customers should obtain the latest relevant information before placing orders[...]