ATS Installation Guide and User Manual
Total Page:16
File Type:pdf, Size:1020Kb
Accessory Test System (ATS) Installation Guide and User Manual Revision 35 Apple Inc. Revision 35 1 of 69 NOTICE OF PROPRIETARY PROPERTY: THE INFORMATION CONTAINED HEREIN IS THE PROPRIETARY PROPERTY OF APPLE INC. THE POSSESSOR AGREES TO THE FOLLOWING: (I) TO MAINTAIN THIS DOCUMENT IN CONFIDENCE, (II) NOT TO REPRODUCE OR COPY IT, (III) NOT TO REVEAL OR PUBLISH IT IN WHOLE OR IN PART, (IV) ALL RIGHTS RESERVED. ACCESS TO THIS DOCUMENT AND THE INFORMATION CONTAINED THEREIN IS GOVERNED BY THE TERMS THE IPOD CONNECTOR USE LICENSE AGREEMENT AND/OR THE IPOD TECHNOLOGY EVALUATION LICENSE AGREEMENT. ALL OTHER USE SHALL BE AT APPLE’S SOLE DISCRETION. TOTAL PHASE, TOTAL PHASE, INC., THE TOTAL PHASE LOGO, BEAGLE, BEAGLE USB, BEAGLE USB 480, AND THE BEAGLE LOGOS ARE TRADEMARKS OF TOTAL PHASE, INC. COMPROBE, BPA AND THE FRONTLINE LOGO ARE TRADEMARKS OF FRONTLINE TEST EQUIPMENT, INC AND FRONTLINE IS REGISTERED TRADEMARK OF FRONTLINE TEST EQUIPMENT, INC. Contents 1 Overview4 1.1 Equipment List.................................4 1.1.1 Mac Hardware.............................5 1.1.2 30-pin Hardware............................5 1.1.3 ATS Lightning Box...........................5 1.1.4 Beagle USB 480 analyzer.......................6 1.1.5 ComProbe BPA analyzer.......................6 2 Quick Start8 2.1 What is your accessory’s type?........................8 2.2 iAP-over-UART or Non-iAP..........................8 2.3 iAP-over-USB (Lightning) or CarPlay-over-USB............... 11 2.4 iAP-over-USB (30-pin)............................. 14 2.5 iAP-over-Bluetooth............................... 17 2.6 CarPlay..................................... 21 2.6.1 CarPlay Encryption........................... 21 2.6.2 CarPlay over USB........................... 21 2.6.3 CarPlay over Wi-Fi........................... 22 3 Hardware Considerations 23 3.1 Connector Adapters.............................. 23 3.2 Connection Order............................... 24 3.3 Accessory Connection Orientation...................... 24 Apple Inc. Revision 35 2 of 69 NOTICE OF PROPRIETARY PROPERTY: THE INFORMATION CONTAINED HEREIN IS THE PROPRIETARY PROPERTY OF APPLE INC. THE POSSESSOR AGREES TO THE FOLLOWING: (I) TO MAINTAIN THIS DOCUMENT IN CONFIDENCE, (II) NOT TO REPRODUCE OR COPY IT, (III) NOT TO REVEAL OR PUBLISH IT IN WHOLE OR IN PART, (IV) ALL RIGHTS RESERVED. ACCESS TO THIS DOCUMENT AND THE INFORMATION CONTAINED THEREIN IS GOVERNED BY THE TERMS THE IPOD CONNECTOR USE LICENSE AGREEMENT AND/OR THE IPOD TECHNOLOGY EVALUATION LICENSE AGREEMENT. ALL OTHER USE SHALL BE AT APPLE’S SOLE DISCRETION. TOTAL PHASE, TOTAL PHASE, INC., THE TOTAL PHASE LOGO, BEAGLE, BEAGLE USB, BEAGLE USB 480, AND THE BEAGLE LOGOS ARE TRADEMARKS OF TOTAL PHASE, INC. COMPROBE, BPA AND THE FRONTLINE LOGO ARE TRADEMARKS OF FRONTLINE TEST EQUIPMENT, INC AND FRONTLINE IS REGISTERED TRADEMARK OF FRONTLINE TEST EQUIPMENT, INC. 3.4 ATS Lightning Box without USB Traffic.................... 25 3.5 Capturing iAP-over-Bluetooth......................... 25 4 Installation and Updates 27 4.1 Software Installation.............................. 27 4.2 Hardware Connection............................. 27 4.3 Testing the Installation............................. 28 4.3.1 Captures with ATS Boxes....................... 28 4.3.2 Captures with a ComProbe BPA analyzer.............. 28 4.4 Firmware Updates............................... 28 4.5 Reporting Bugs................................. 29 5 ATS User Interface 30 5.1 Capture Document............................... 30 5.2 Categories................................... 32 5.3 iAP Packets and iAP2 Control Session Categories............. 33 5.3.1 Fields in iAP2 Control Session Categories.............. 34 5.3.2 Fields in iAP Packets Categories................... 34 5.4 CarPlay..................................... 35 5.4.1 CarPlay Control Session and Network Categories......... 35 5.4.2 CarPlay Session and HTTP Control................. 35 5.4.3 TCP & UDP, Network, and NCM................... 35 5.5 Copying Trace Data.............................. 36 5.6 Error Reporting................................. 36 5.7 iAP2 File Transfer Session Category..................... 36 5.8 iAP2 External Accessory Session Category................. 36 5.9 Measurements Category............................ 37 5.10 Hardware Category.............................. 38 5.10.1 Electrical (ATS Lightning Box)..................... 38 5.10.2 Electrical (ATS 30-pin Box)...................... 38 5.10.3 Serial Transport............................ 39 Apple Inc. Revision 35 3 of 69 NOTICE OF PROPRIETARY PROPERTY: THE INFORMATION CONTAINED HEREIN IS THE PROPRIETARY PROPERTY OF APPLE INC. THE POSSESSOR AGREES TO THE FOLLOWING: (I) TO MAINTAIN THIS DOCUMENT IN CONFIDENCE, (II) NOT TO REPRODUCE OR COPY IT, (III) NOT TO REVEAL OR PUBLISH IT IN WHOLE OR IN PART, (IV) ALL RIGHTS RESERVED. ACCESS TO THIS DOCUMENT AND THE INFORMATION CONTAINED THEREIN IS GOVERNED BY THE TERMS THE IPOD CONNECTOR USE LICENSE AGREEMENT AND/OR THE IPOD TECHNOLOGY EVALUATION LICENSE AGREEMENT. ALL OTHER USE SHALL BE AT APPLE’S SOLE DISCRETION. TOTAL PHASE, TOTAL PHASE, INC., THE TOTAL PHASE LOGO, BEAGLE, BEAGLE USB, BEAGLE USB 480, AND THE BEAGLE LOGOS ARE TRADEMARKS OF TOTAL PHASE, INC. COMPROBE, BPA AND THE FRONTLINE LOGO ARE TRADEMARKS OF FRONTLINE TEST EQUIPMENT, INC AND FRONTLINE IS REGISTERED TRADEMARK OF FRONTLINE TEST EQUIPMENT, INC. 5.11 Summary Category.............................. 40 5.11.1 iAP Section............................... 40 5.11.2 Identification (iAP2) Section...................... 40 5.11.3 Identification (iAP1) Section...................... 41 5.11.4 Authentication Section......................... 42 5.12 Preferences................................... 42 5.12.1 Traffic Preferences........................... 43 5.12.2 Bluetooth Preferences......................... 44 6 USB Vbus Load Test 45 7 Accessory Certification Assistant 47 7.1 Creating a New Certification Configuration.................. 49 7.2 Testing Your Accessory and Submitting Results............... 51 7.3 Reviewing Past Submissions......................... 52 8 ATS Utility 54 8.1 Software Installation.............................. 54 8.2 Features..................................... 55 8.2.1 Bluetooth Link Keys.......................... 55 8.2.2 CarPlay Performance Tests...................... 56 8.2.2.1 Client Configuration..................... 56 8.2.2.2 Server Details........................ 58 9 Known Issues 60 10 Technical Notes 63 10.1 About iAP-Over-UART Baud Rates...................... 63 11 Revision History 66 Apple Inc. Revision 35 4 of 69 NOTICE OF PROPRIETARY PROPERTY: THE INFORMATION CONTAINED HEREIN IS THE PROPRIETARY PROPERTY OF APPLE INC. THE POSSESSOR AGREES TO THE FOLLOWING: (I) TO MAINTAIN THIS DOCUMENT IN CONFIDENCE, (II) NOT TO REPRODUCE OR COPY IT, (III) NOT TO REVEAL OR PUBLISH IT IN WHOLE OR IN PART, (IV) ALL RIGHTS RESERVED. ACCESS TO THIS DOCUMENT AND THE INFORMATION CONTAINED THEREIN IS GOVERNED BY THE TERMS THE IPOD CONNECTOR USE LICENSE AGREEMENT AND/OR THE IPOD TECHNOLOGY EVALUATION LICENSE AGREEMENT. ALL OTHER USE SHALL BE AT APPLE’S SOLE DISCRETION. TOTAL PHASE, TOTAL PHASE, INC., THE TOTAL PHASE LOGO, BEAGLE, BEAGLE USB, BEAGLE USB 480, AND THE BEAGLE LOGOS ARE TRADEMARKS OF TOTAL PHASE, INC. COMPROBE, BPA AND THE FRONTLINE LOGO ARE TRADEMARKS OF FRONTLINE TEST EQUIPMENT, INC AND FRONTLINE IS REGISTERED TRADEMARK OF FRONTLINE TEST EQUIPMENT, INC. Apple Inc. Revision 35 5 of 69 NOTICE OF PROPRIETARY PROPERTY: THE INFORMATION CONTAINED HEREIN IS THE PROPRIETARY PROPERTY OF APPLE INC. THE POSSESSOR AGREES TO THE FOLLOWING: (I) TO MAINTAIN THIS DOCUMENT IN CONFIDENCE, (II) NOT TO REPRODUCE OR COPY IT, (III) NOT TO REVEAL OR PUBLISH IT IN WHOLE OR IN PART, (IV) ALL RIGHTS RESERVED. ACCESS TO THIS DOCUMENT AND THE INFORMATION CONTAINED THEREIN IS GOVERNED BY THE TERMS THE IPOD CONNECTOR USE LICENSE AGREEMENT AND/OR THE IPOD TECHNOLOGY EVALUATION LICENSE AGREEMENT. ALL OTHER USE SHALL BE AT APPLE’S SOLE DISCRETION. TOTAL PHASE, TOTAL PHASE, INC., THE TOTAL PHASE LOGO, BEAGLE, BEAGLE USB, BEAGLE USB 480, AND THE BEAGLE LOGOS ARE TRADEMARKS OF TOTAL PHASE, INC. COMPROBE, BPA AND THE FRONTLINE LOGO ARE TRADEMARKS OF FRONTLINE TEST EQUIPMENT, INC AND FRONTLINE IS REGISTERED TRADEMARK OF FRONTLINE TEST EQUIPMENT, INC. Chapter 1 Overview Note Throughout this document all models of iPhone, iPad, and iPod are referred to as "Apple device." Where the name Apple device is used, iPhone, iPad, or iPod may be appropriate. Where the name iPod is used, iPhone or iPad may be appropriate. This document describes the configuration and use of Apple’s Accessory Test System (ATS). ATS consists of: • a set of real-time tools for diagnosing and debugging the hardware-layer and iPod Accessory Protocol (iAP) performance of accessories • a set of automated validation tools for ensuring that new accessories more fully comply with the MFi specifications • various hardware components for connecting to various types of MFi accessories ATS is designed to analyze iAP traffic delivered over UART, USB, and Bluetooth trans- ports, as well as CarPlay traffic over USB and Wi-Fi. 1.1 Equipment List Before getting started, make sure you have any equipment you may need, as listed be- low. Macs may be purchased at https://apple.com. The ATS boxes, USB breakout board, Total Phase Beagle USB 480 analyzer, USB hub, and Frontline ComProbe BPA analyzer may be purchased by following the links in the Procurement section of the MFi Portal. Apple Inc. Revision 35 6 of 69 NOTICE OF PROPRIETARY PROPERTY: