APGDT001 Microchip Technology, APGDT001 Datasheet

LIN Serial Analyzer

APGDT001

Manufacturer Part Number
APGDT001
Description
LIN Serial Analyzer
Manufacturer
Microchip Technology
Series
-r
Datasheet

Specifications of APGDT001

Silicon Manufacturer
Microchip
Application Sub Type
Serial Analyzer
Kit Application Type
Communication & Networking
Features
Used To Send Messages, Monitor Bus Traffic, Perform Errors Checks, Filter Messages
Kit Contents
Board
Tool Type
LIN Serial Analyzer
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
For Use With/related Products
PC to LIN Communications

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
APGDT001
Manufacturer:
MICROCHIP
Quantity:
12 000
LIN Serial Analyzer
User’s Guide Rev2.0
© 2008 Microchip Technology Inc.
DS51675B

Related parts for APGDT001

APGDT001 Summary of contents

Page 1

... Microchip Technology Inc. LIN Serial Analyzer User’s Guide Rev2.0 DS51675B ...

Page 2

... PowerInfo, PowerMate, PowerTool, REAL ICE, rfLAB, Select Mode, Smart Serial, SmartTel, Total Endurance, UNI/O, WiperLock and ZENA are trademarks of Microchip Technology Incorporated in the U.S.A. and other countries. SQTP is a service mark of Microchip Technology Incorporated in the U.S.A. All other trademarks mentioned herein are property of their respective companies. ...

Page 3

... Master Message Group Box ......................................................................... 19 3.9 Status Bar ..................................................................................................... 22 Appendix A. LIN Serial Analyzer Technical Information .......................................... 23 A.1 Highlights ..................................................................................................... 23 A.2 LIN Serial Analyzer Schematic .................................................................... 23 Index ............................................................................................................................. 25 Worldwide Sales and Service .................................................................................... 27 © 2008 Microchip Technology Inc. LIN SERIAL ANALYZER USER’S GUIDE REV2.0 Table of Contents DS51675B-page iii ...

Page 4

... LIN Serial Analyzer User’s Guide Rev2.0 NOTES: DS51675B-page iv © 2008 Microchip Technology Inc. ...

Page 5

... Chapter 3. “LIN Serial Analyser PC Program” – Describes the primary elements of the interface. • Appendix A. “LIN Serial Analyzer Technical Information” – Provides the detailed schematic of the LIN Serial Analyser. © 2008 Microchip Technology Inc. LIN SERIAL ANALYZER USER’S GUIDE REV2.0 Preface NOTICE TO CUSTOMERS ® ...

Page 6

... Optional arguments mcc18 [options] file [options] Choice of mutually exclusive errorlevel {0|1} arguments selection Replaces repeated text var_name [, var_name...] Represents code supplied by void main (void) user { ... } © 2008 Microchip Technology Inc. Examples ® IDE User’s Guide ...

Page 7

... Technical support is available through the web site at: http://support.microchip.com. DOCUMENT REVISION HISTORY Revision A (June 2007) • Initial release of this document. Revision B (June 2008) • Release describes new features of Revision 2.0 software. © 2008 Microchip Technology Inc. Preface DS51675B-page 3 ...

Page 8

... LIN Serial Analyzer User’s Guide Rev2.0 NOTES: DS51675B-page 4 © 2008 Microchip Technology Inc. ...

Page 9

... The LIN Serial Analyser connects to the PC using a mini-B USB cable. The LIN Serial Analyser interfaces to the target network using a three-position, screw-type terminal block. Figure 1-1 illustrates the LIN Serial Analyser tool connected to a network. © 2008 Microchip Technology Inc. LIN SERIAL ANALYZER USER’S GUIDE REV2.0 ® ...

Page 10

... Busy (yellow) – The LIN Serial Analyser is communicating with the LIN network. • LIN (blue) – The LIN Serial Analyser is connected to the target bus. DS51675B-page 6 LIN SERIAL ANALYSER DEVELOPMENT TOOL Optional Power Supply LIN Tool ® Windows LIN SERIAL ANALYSER PC ® operating system © 2008 Microchip Technology Inc. ...

Page 11

... Firmware The LIN Serial Analyser firmware is explained in Chapter 9. “PICkit™ Serial Analyzer Firmware” of the “PICkit™ Serial Analyzer User’s Guide” (DS51647). © 2008 Microchip Technology Inc. LIN Serial Analyser Overview LIN SERIAL ANALYSER NETWORK AND POWER Auxiliary ...

Page 12

... LIN Serial Analyzer User’s Guide Rev2.0 1.6.3 Dynamically Linked Library (DLL) The LIN Serial Analyser DLL is explained in Chapter 10. “PICkit™ Serial Analyzer DLL” of the “PICkit™ Serial Analyzer User’s Guide” (DS51647). DS51675B-page 8 © 2008 Microchip Technology Inc. ...

Page 13

... The analyzer must be connected to the USB cable • The analyzer must be powered up The analyzer’s green USB and blue LIN lights will be on when these conditions are met. © 2008 Microchip Technology Inc. LIN SERIAL ANALYZER USER’S GUIDE REV2.0 ® ...

Page 14

... There is a hard-wired, loopback bus path, so connection to a network is not needed for testing the installation. To start the software the Windows operating system taskbar, click Start. 2. Click All Programs>Microchip Technology Inc.>LIN Serial Analyser. 3. Click Setup>COM port. 4. From the pull-down menu, select the USB port to be used. Note: Only available, plugged in USB ports are displayed by the pull-down menu ...

Page 15

... When the LIN Serial Analyser’s software program starts, the window, shown in Figure , appears. The commands are accessed through the pull-down menus at the top of the interface.LIN Serial Analyzer User Interface © 2008 Microchip Technology Inc. LIN SERIAL ANALYZER USER’S GUIDE REV2.0 ...

Page 16

... The checksum is calculated both ways when a message frame is received. A match is displayed either as “Classic” or “Enhanced”. If neither result matches the incoming data, “ERROR” is displayed. 3.3.6 Baud This field shows the actual, calculated bit rate observed during the Auto-Baud Detect period of the current frame. DS51675B-page 12 © 2008 Microchip Technology Inc. ...

Page 17

... This value displays when a valid Sync Break is not detected by the UART. A Break was “assumed” because the first byte received was 0x00, but without a framing error. Note: This function is not currently implemented. © 2008 Microchip Technology Inc. LIN Serial Analyser PC Program † PARITY CALCULATIONS ...

Page 18

... Section 3.8.1 “Master Frames Field”.) By default, the dialog box populates the file name that was last used in the previous session. To display the dialog box the pull-down menus at the top of the user interface and select File>Save. DS51675B-page 14 FILE OPEN WINDOW © 2008 Microchip Technology Inc. ...

Page 19

... The printing function clears the contents of the Transaction window, but does not reset the time-stamp. All of these functions are accessible through the File pull-down menu. 3.4.5 Exit Selecting File>Exit terminates the LIN Serial Analyser software program. © 2008 Microchip Technology Inc. LIN Serial Analyser PC Program FILE “Save As” WINDOW DS51675B-page 15 ...

Page 20

... The “Timeout in mS” text box displays the current time-out value for a message frame and may be modified by the user. To enable the time-out value to vary with the baud rate, enter a value of 0. FIGURE 3-4: To display the dialog box, select Setup>COM port. DS51675B-page 16 “Setup COM port” WINDOW © 2008 Microchip Technology Inc. ...

Page 21

... The Log File setup function specifies the new or existing file that will store bus transactions existing file that already contains data is selected, any new messages will be appended to the end of the file. FIGURE 3-5: To display the dialog box, select Setup>Log File. © 2008 Microchip Technology Inc. LIN Serial Analyser PC Program LOG FILE SETUP WINDOW DS51675B-page 17 ...

Page 22

... Comments or notes may be attached to each frame by prefacing it with a semi-colon (;). Any text after the semi-colon will be disregarded and not transmitted. All notes will be saved in the selected .ini file and reloaded when reopened. DS51675B-page 18 SLAVE RESPONSE SETUP WINDOW © 2008 Microchip Technology Inc. ...

Page 23

... The internal buffer status is updated to reflect the amount a bytes used and remaining. If the amount of buffer space is exceeded, the Save operation is aborted and a error message displayed. Reduce the number or size of the mes- sages to be written to the buffer and retry the Save. © 2008 Microchip Technology Inc. LIN Serial Analyser PC Program WARNING DS51675B-page 19 ...

Page 24

... The checksum includes identifier byte and all data bytes. • forced – (Enabled only in Debug mode.) The last byte in the message string is sent in place of the calculated checksum. This is useful in checking master error handling. DS51675B-page 20 © 2008 Microchip Technology Inc. ...

Page 25

... The checksum returned by the slave will be displayed in the “Checksum” field of the Transaction window (see Section 3.3.5 “ChkSumType”.) © 2008 Microchip Technology Inc. LIN Serial Analyser PC Program DS51675B-page 21 ...

Page 26

... Display All (Snoop) Default This function selects the Display All mode. All messages seen on the bus are displayed. This mode is best used with the data logging feature to capture all bus traffic for later analysis. DS51675B-page 22 © 2008 Microchip Technology Inc. ...

Page 27

... Comments or notes may be attached to each frame by prefacing it with a semi-colon (;). Any text after the semi-colon will be disregarded and not transmitted. All notes will be saved in the selected .ini file and reloaded when reopened. © 2008 Microchip Technology Inc. LIN Serial Analyser PC Program ‚ÄúMaster Frame Field ‚ ...

Page 28

... Click Send. The highlighted message content is sent, working top-to-bottom through the “Master Frames” field. The message is sent once. (For information on continually sending the highlighted message content, see Section 3.8.3 “Checksum Group”.) DS51675B-page 24 WARNING © 2008 Microchip Technology Inc. ...

Page 29

... ADD BUTTON Click the Add button to add a new message to the “Master Frames” field 3.8.2.5 EDIT BUTTON Allows the selected message in the “Master Frames” field to be edited. © 2008 Microchip Technology Inc. LIN Serial Analyser PC Program DS51675B-page 25 ...

Page 30

... The checksum returned by the slave will be displayed in the “Checksum” field of the Transaction window (see Section 3.3.5 “ChkSumType”.) 3.9 STATUS BAR The status bar at the bottom of the Interface window displays: • Currently selected baud rate of master messages • Dynamic LIN network status DS51675B-page 26 © 2008 Microchip Technology Inc. ...

Page 31

... Appendix A. LIN Serial Analyzer Technical Information A.1 HIGHLIGHTS This chapter discusses: • LIN Serial Analyzer Schematic A.2 LIN SERIAL ANALYZER SCHEMATIC The LIN Serial Analyzer management hardware diagram is shown in Figure A-1. © 2008 Microchip Technology Inc. LIN SERIAL ANALYZER USER’S GUIDE REV2.0 DS51675B-page 27 ...

Page 32

... LIN Serial Analyzer User’s Guide Rev2.0 FIGURE A-1: LIN SERIAL ANALYZER SCHEMATIC BAT 7 DS51675B-page CSWAKE FAULT/TXE BUSY PICkit 2 TM GND 16 GND 5 © 2008 Microchip Technology Inc. ...

Page 33

... I ID Field Element ...................................................... 20 Installing Software...................................................... 9 Internet Address......................................................... 3 L LIN Serial Analyzer User Interface........................... 11 Listen (Filter) Function ............................................. 18 Log File Function ..................................................... 17 © 2008 Microchip Technology Inc. LIN SERIAL ANALYZER USER’S GUIDE REV2.0 Index M Master Frames Field Data .................................................................. 21 Deleting Message Content................................ 20 Developing and Storing Message Content ...

Page 34

... Display All Default ............................................. 18 Listen (Filter) ..................................................... 18 Suppress ‘Bus Timeout’ Error ........................... 18 Transmit ............................................................ 18 DS51675B-page 26 Transaction Window ................................................. 12 Baud.................................................................. 12 Checksum ......................................................... 12 ChkSumType .................................................... 12 Data................................................................... 12 Errors ................................................................ 13 Break.......................................................... 13 Bus Time-out.............................................. 13 Checksum .................................................. 13 Framing...................................................... 13 No Answer ................................................. 13 Parity.......................................................... 13 SWBreak.................................................... 13 TX Bit ......................................................... 13 ID (Identifier) ..................................................... 12 TimeStamp........................................................ 12 Transmit Function..................................................... 18 W WWW Address ........................................................... 3 © 2008 Microchip Technology Inc. ...

Page 35

... NOTES: © 2008 Microchip Technology Inc. Index DS51675B-page 27 ...

Page 36

... Fax: 886-3-572-6459 Taiwan - Kaohsiung Tel: 886-7-536-4818 Fax: 886-7-536-4803 Taiwan - Taipei Tel: 886-2-2500-6610 Fax: 886-2-2508-0102 Thailand - Bangkok Tel: 66-2-694-1351 Fax: 66-2-694-1350 © 2008 Microchip Technology Inc. EUROPE Austria - Wels Tel: 43-7242-2244-39 Fax: 43-7242-2244-393 Denmark - Copenhagen Tel: 45-4450-2828 Fax: 45-4485-2829 France - Paris Tel: 33-1-69-53-63-20 ...

Related keywords