已阅读5页,还剩25页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
Page 1 of 30 Cambridge Silicon Radio Limited 2005 2011 CS 101500 UGP8 This material is subject to CSR s non disclosure agreement BlueCore xIDE User Guide Issue 8 Page 2 of 30 Cambridge Silicon Radio Limited 2005 2011 CS 101500 UGP8 This material is subject to CSR s non disclosure agreement BlueCore xIDE User Guide Document History Revision Date History a 28 MAY 05 Original publication of this document b 28 JAN 06 Minor updates to reflect minor software changes blab ug 002Pb 3 14 DEC 07 Prerequisites updated and formatted to new CSR style guidelines CSR reference CS 101500 UGP3 4 15 FEB 08 Updated for BlueLab v4 0 release and formatted to new CSR style guidelines 5 06 OCT 08 Updated for BlueLab v4 1 Graphics updated to Windows XP 6 01 APR 10 Correction to PS Key name ONCHIP HCI CLIENT section 5 Updated for 2010 SDK and remove BlueLab references 7 03 MAR 11 Updated to latest style guidelines 8 01 JAN 12 Updated to the latest CSR style guidelines Contacts General information Information on this product sales Customer support for this product More detail on compliance and standards pliance Help with this document comments Page 3 of 30 Cambridge Silicon Radio Limited 2005 2011 CS 101500 UGP8 This material is subject to CSR s non disclosure agreement BlueCore xIDE User Guide Trademarks Patents and Licences Unless otherwise stated words and logos marked with or are trademarks registered or owned by CSR plc and or its affiliates Bluetooth and the Bluetooth logos are trademarks owned by Bluetooth SIG Inc and licensed to CSR Other products services and names used in this document may have been trademarked by their respective owners The publication of this information does not imply that any licence is granted under any patent or other rights owned by CSR plc or its affiliates CSR reserves the right to make technical changes to its products as part of its development programme While every care has been taken to ensure the accuracy of the contents of this document CSR cannot accept responsibility for any errors No statements or representations in this document are to be construed as advertising marketing or offering for sale in the United States imported covered products subject to the Cease and Desist Order issued by the U S International Trade Commission in its Investigation No 337 TA 602 Such products include SiRFstarIII chips that operate with SiRF software that supports SiRFInstantFix and or SiRFLoc servers or contains SyncFreeNav functionality Life Support Policy and Use in Safety critical Compliance CSR s products are not authorised for use in life support or safety critical applications Use in such applications is done at the sole discretion of the customer CSR will not warrant the use of its devices in such applications Performance and Conformance Refer to for compliance and conformance to standards information Page 4 of 30 Cambridge Silicon Radio Limited 2005 2011 CS 101500 UGP8 This material is subject to CSR s non disclosure agreement BlueCore xIDE User Guide Contents Document History 2 Contacts 2 Trademarks Patents and Licences 3 Life Support Policy and Use in Safety critical Compliance 3 Performance and Conformance 3 Contents 4 1 Introduction 5 1 1 General 5 2 Installation 6 2 1 Prerequisites 6 2 2 Installation Procedure 6 3 Backup and Restore Procedure 11 3 1 Backup Procedure 12 3 2 Restore Procedure 13 4 Working with xIDE 15 4 1 Building a Supplied Application Project in xIDE 15 4 2 Developing Customised Applications 18 4 3 Debugging in xIDE 21 5 Frequently Asked Questions FAQs 25 6 Technical Support 29 Terms and Definitions 30 Page 5 of 30 Cambridge Silicon Radio Limited 2005 2011 CS 101500 UGP8 This material is subject to CSR s non disclosure agreement BlueCore xIDE User Guide 1 Introduction This document provides a brief introduction to CSR s Integrated Development Environment xIDE supplied with Bluetooth Software Development Kits SDKs The document is intended to provide developers with the information required to begin using xIDE to develop applications for BlueCore ICs Note Since xIDE provides a familiar environment with the tools and utilities required to write build run and debug code it is not intended to detail all these features This document concentrates on BlueCore specific aspects of developing applications using xIDE 1 1 General xIDE allows software engineers to build and configure the application projects provided with application specific SDKs or to independently develop applications to run on CSR BlueCore ICs It supports the development and debugging of both Virtual Machine VM and Native applications written in ANSI C for all BlueCore variants and Digital Signal Processor DSP code written in assembler code for BlueCore Multimedia ICs Code is written in the text editor and when complete built and compiled along with the BlueCore firmware supplied as part of an SDK When compiled the resultant machine code can be downloaded to and run on a BlueCore hardware development platform such as CaSiRa or the multimedia development boards available separately from CSR The code can then be debugged on chip using the facilities in xIDE Applications can be developed from the reference application code provided using the example code and library functions supplied to adapt and add functionality The application source code provided implements various Bluetooth Profiles These Profiles can be used as part of the user s own applications Using profile libraries and example applications as a starting point for development greatly reduces the effort required to produce working Bluetooth applications that correctly implement the required Bluetooth Profile s Note The profile libraries supplied support all the mandatory features and most but not all optional features of a particular profile See the individual SDK Release Note for details Page 6 of 30 Cambridge Silicon Radio Limited 2005 2011 CS 101500 UGP8 This material is subject to CSR s non disclosure agreement BlueCore xIDE User Guide 2 Installation This section provides guidance on the installation of xIDE 2 1 Prerequisites xIDE should be installed on a PC with a Line Printer Terminal LPT port running Windows XP A USB port is an alternative to the LPT port if a USB SPI converter is available CSR recommend that at least 600Mbytes of free disk space is available Note Each application built will need additional space A minimum of Windows Power User privileges is required to install the software correctly If you are unsure of your current level of privileges please contact your system administrator New installations can coexist with previous releases Note Spaces in folder names of the directory path are not supported i e you should not try to install the software in a directory which itself has spaces in its name or is contained within a folder that has spaces in its name e g xIDE cannot be successfully installed in the Program Files directory 2 2 Installation Procedure CSR recommends that any applications running on the PC are closed before installing the software 1 Download the zip file containing the SDK installer executable and documentation from the CSR support website 2 Double click on X X exe file to launch the Setup wizard which guides you through the rest of the installation process 3 Follow the on screen instructions clicking Next to continue For a first time installation CSR recommend that the default settings are accepted 4 When the VM and Digital Signal Processor DSP libraries have been built the PC the Setup Wizard will display the final setup screen 5 Click Finish to complete the installation If the default option to install the Serial Peripheral Interface SPI device driver was accepted the PC must be restarted to complete the installation 2 2 1 MP3 Support The DSP libraries required to build the MP3 decoder or encoder must be obtained and installed separately please contact the support channel for details They contain MP3 technology which incorporates intellectual property owned by Thomson and or Fraunhofer Gesellschaft Supply of this product does not convey a license under the relevant intellectual property of Thomson and or Fraunhofer Gesellschaft nor imply any right to use this product in any finished end user or ready to use final product An independent license for such use is required For details please visit Page 7 of 30 Cambridge Silicon Radio Limited 2005 2011 CS 101500 UGP8 This material is subject to CSR s non disclosure agreement BlueCore xIDE User Guide 2 2 2 AAC Support The AAC libraries required to build the AAC decoder must be obtained and installed separately please contact the support channel for details They contain AAC technology which incorporates intellectual property owned by numerous third parties Supply of this product does not convey a license under the relevant intellectual property of those third parties nor imply any right to use this product in any finished end user or ready to use final product An independent license for such use is required For details please visit 2 2 3 Testing the Completed Installation 2 2 3 1 Before You Begin Connect a suitable hardware development platform e g CaSiRa module with an appropriate BlueCore IC to your PC using a SPI cable Note The documentation accompanying the Hardware development platform gives advice on connecting the unit to your PC Important CSR strongly recommends that a golden image is created to preserve the original chip settings The required backup procedure is detailed in section 3 Page 8 of 30 Cambridge Silicon Radio Limited 2005 2011 CS 101500 UGP8 This material is subject to CSR s non disclosure agreement BlueCore xIDE User Guide 2 2 3 2 Testing the Installation Launch xIDE by double clicking on the shortcut icon on your desktop the icon in the Quick Launch bar or from the Windows Start Menu The xIDE application window opens Page 9 of 30 Cambridge Silicon Radio Limited 2005 2011 CS 101500 UGP8 This material is subject to CSR s non disclosure agreement BlueCore xIDE User Guide To confirm the installation was successful and the application is working correctly create and run the simple Hello world program supplied To do this 1 Select New from the Project menu The New Project window displays 2 Select the Minimal VM Project and give the project a name e g hello Note xIDE does not accept Project names if they contain a space 3 Click OK The project is loaded into xIDE Minimal VM Project Project name Page 10 of 30 Cambridge Silicon Radio Limited 2005 2011 CS 101500 UGP8 This material is subject to CSR s non disclosure agreement BlueCore xIDE User Guide 4 Click on the C Files folder and select main c to display the code in the Text Editor workspace 5 Select Run from the Debug menu or press the F5 key The program is downloaded to the BlueCore IC when this process is complete 6 Click on the Print Channel 0 tab to view the output The output Hello world confirms that the software has been installed and is working correctly Minimal VM Project Output confirms SDK is functioning correctly Page 11 of 30 Cambridge Silicon Radio Limited 2005 2011 CS 101500 UGP8 This material is subject to CSR s non disclosure agreement BlueCore xIDE User Guide 3 Backup and Restore Procedure You can backup and restore an image of the firmware on the BlueCore IC at any time CSR strongly recommend that a backup is performed to save the original firmware configuration prior to downloading any development code The backup and restore procedures are carried out using the BlueFlash application supplied as part of the toolset To Run the BlueFlash Application 1 Locate BlueFlash exe using Windows explorer This file is located in the SDK installation directory e g C tools bin BlueFlash exe 2 Double click on BlueFlash exe to run the application The BlueFlash application window opens Backup and Restore procedures are described in sections 0 and 3 2 Page 12 of 30 Cambridge Silicon Radio Limited 2005 2011 CS 101500 UGP8 This material is subject to CSR s non disclosure agreement BlueCore xIDE User Guide 3 1 Backup Procedure To backup an image of the current firmware and configuration settings using BlueFlash 1 Click Stop Processor The Processor is stopped and the Dump option becomes available 2 Click Dump A Save As window appears Browse to a location in which the backup is to be saved and enter a file name for the backup Page 13 of 30 Cambridge Silicon Radio Limited 2005 2011 CS 101500 UGP8 This material is subject to CSR s non disclosure agreement BlueCore xIDE User Guide 3 Click Save BlueFlash creates and saves two files a xpv and a xdv file to the selected location Note This may take a few minutes a progress bar displays the progress 4 Click Start Processor to restart the chip 3 2 Restore Procedure To restore a backup image using BlueFlash 1 Click Stop Processor 2 Click Choose File An Open window appears 3 Browse to the backup file location and select the required file Note The window only displays the xpv file s saved at the selected location BlueFlash automatically includes the xdv file when downloading the image to the chip 4 Click Open The path to the file is added to the BlueFlash window and the Download option becomes available Page 14 of 30 Cambridge Silicon Radio Limited 2005 2011 CS 101500 UGP8 This material is subject to CSR s non disclosure agreement BlueCore xIDE User Guide 5 Click Download BlueFlash downloads the backup image to the BlueCore IC This may take a few minutes 6 When the download has completed click Start Processor to restart the IC Page 15 of 30 Cambridge Silicon Radio Limited 2005 2011 CS 101500 UGP8 This material is subject to CSR s non disclosure agreement BlueCore xIDE User Guide 4 Working with xIDE In most circumstances it is envisioned that developers will make use of the reference applications provided as the basis for developing their own applications The reference applications provide basic functionality and conform to the relevant Bluetooth Profile s being implemented Adopting this approach greatly reduces the effort required to develop a final product application and allows software engineers to concentrate on developing the additional functionality and Man Machine Interface MMI features required for their particular product This chapter describes the procedure for loading a reference application as a project in xIDE and running the code on a hardware development platform Specific details will vary slightly depending on the application and hardware platform being used further information is provided in the relevant product documentation Note Guidance on the use of Reference applications and examples is provided in readme files within the subfolders in the apps folder C apps where C is the install directory 4 1 Building a Supplied Application Project in xIDE To open a project workspace for a supplied application 1 Select Open Workspace in the xIDE Project menu An Open workspace window appears 2 Browse to the folder containing the example applications provided in the SDK e g C apps examples 3 Open the required application folder 4 Depending on the application chosen one or more xip project files are displayed see the example below Page 16 of 30 Cambridge Silicon Radio Limited 2005 2011 CS 101500 UGP8 This material is subject to CSR s non disclosure agreement BlueCore xIDE User Guide Note Where two or more project files are displayed the additional projects are for DSP applications to be run on the DSP of BlueCore Multimedia ICs If DSP elements are required as part of the application these projects should be built in xIDE before attempting to build and finally run the application code 4 1 1 xIDE Build and Run Procedure Use the Run facility to build all the projects making up the application before downloading machine code to the BlueCore IC Projects can be built individually 4 1 1 1 Build Individual Project 1 Select the required project from the File Navigation window 2 Right Click and Set as Active Project 3 Select Build from the xIDE Build menu or press the F7 key Note If the development hardware has been used for previous development work CSR recommend that the factory settings are restored on the chip prior to downloading the new application code The procedure for this is described in question 4 of the FAQs section 5 Page 17 of 30 Cambridge Silicon Radio Limited 2005 2011 CS 101500 UGP8 This material is subject to CSR s non disclosure agreement BlueCore xIDE User Guide xIDE completes the build process for the loaded file 4 If any other DSP xip files that support the application code e g for MP3 support are present build these before continuing 5 Build the Virtual Machine application code in a similar manner 4 1 1 2 Run Procedure To complete the compilation of the source code and to download the machine code produced to the BlueCore chip With the main application file loaded in xIDE 1 Select Run from the Debug menu or press the F5 key The application should now be running on the BlueCore IC see the relevant application documentation for further details Page 18 of 30 Cambridge Silicon Radio Limited 2005 2011 CS 101500 UGP8 This material is subject to CSR s non disclosure agreement BlueCore xIDE User Guide 4 2 Developing Customised Applications When the application has been downloaded and is working correctly developers can begin to customise the source code and add features to meet the specific requirements of the final product Note If a backup image has not already been saved it may be advisable to create a backup image of the BlueCore IC before making further changes In order to work efficiently when developing an application it is important to become familiar with the library structure and functions provided These are detailed in the library support documentation The example application code supplied is also a useful resource and can be found in C apps examples 4 2 1 Amending Project Properties When calling library functions the host Libraries must be listed in the Project Properties Note Libraries used by the reference ap
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 资阳市雁江区2025年面向全区专职网格员公开招聘社区专职工作人员的备考题库(43人)有答案详解
- 2025广东广州市海珠区社区专职工作人员招聘48人备考题库及答案详解(基础+提升)
- 2026中国农业银行重庆市分行校园招聘384人备考题库及答案详解(全优)
- 2026国家开发银行秋季校园招聘备考题库含答案详解(培优b卷)
- 非线性算法的设计与实施规范
- 个性化社会支持方案在安宁疗护家属心理护理中的应用
- 个性化方案的知情同意分层管理策略
- 2025贵州黔南州龙里县招聘城市社区工作者27人备考题库及1套参考答案详解
- 个性化健康管理方案的评估与改进
- 2025北京大兴区委研究室招聘临时辅助用工1人备考题库附答案详解(夺分金卷)
- 蹲踞式跳远教学课件
- 冠状动脉造影三维重建定量分析:技术、应用与临床价值探索
- 新闻写作专题知识培训课件
- 社区矫正工作课件
- 智能化设计基本知识培训课件
- 食用油库建设规范与标准制定
- 2025至2030年中国高尔夫行业市场运营现状及行业发展趋势报告
- 新疆生产建设兵团史课件
- 4.2《角》第1课时角及其度量课件-沪教版(五四制)六年级数学上册
- 钢混组合梁架桥机安装施工技术方案
- 猪肉加盟方案书(3篇)
评论
0/150
提交评论