background image

 

bc01-an-100Pd 

© Copyright Cambridge Silicon Radio Limited 2001-2004 

This material is subject to CSR’s non-disclosure agreement. 

 

 

 

 

 

 

 

 

CSR 

Cambridge Science Park 

Milton Road 

Cambridge 

CB4 0WH 

United Kingdom 

Registered in England 3665875 

Tel: +44 (0)1223 692000 

Fax: +44 (0)1223 692001 

www.csr.com

 

_äìÉ`çêÉ

»

Casira

 User Guide

March 2004

Содержание BlueCore Casira

Страница 1: ...01 2004 This material is subject to CSR s non disclosure agreement CSR Cambridge Science Park Milton Road Cambridge CB4 0WH United Kingdom Registered in England 3665875 Tel 44 0 1223 692000 Fax 44 0 1223 692001 www csr com _äìÉ çêÉ Casira User Guide March 2004 ...

Страница 2: ...e 11 5 1 2 BlueFlash Firmware 13 5 1 3 Troubleshooting BlueFlash 13 5 2 PSTools 14 5 2 1 Access Levels 14 5 2 2 PSTools Transport Interface 14 5 2 3 Changing Transport Interface 15 5 2 4 PSTools User Interface 17 5 2 5 Changing Baud Rate 19 5 3 BlueChat2 19 5 3 1 BlueChat2 User Interface 20 5 4 BlueTest 23 5 4 1 BlueTest User Interface 23 5 5 BTCLI 24 5 6 RFCLI 25 6 Upgrading Casira Units 26 6 1 D...

Страница 3: ...r Guide List of Figures Figure 4 1 BlueFlash Processor Stopped 10 Figure 5 1 BlueFlash User Interface 11 Figure 5 2 SPI BCCMD interface 15 Figure 5 3 PSTools User Interface 18 Figure 5 4 PSTools Merge and Dump 18 Figure 5 5 PSTools Edit Raw 19 Figure 5 6 BlueChat2 User Interface 21 Figure 5 7 BlueTest User Interface 24 List of Tables Table 2 1 Casira Case Contents 5 ...

Страница 4: ...opment the Bluetooth for Windows software development kit and TesEngine and TestFlash to develop test applications Section 8 Technical Support provides contact information for technical assistance In addition to the firmware and documentation provided with your Casira Development Kit more information and updates are available on the CSR support website at www csrsupport com 1 1 Casira Overview The...

Страница 5: ...wer cords 2 Country specific electrical adaptor plugs 2 SPI programming cables 2 5 metre long RS232 cables 2 Audio headsets 1 Casira Bluetooth Development Kit CD ROM containing documentation and software BlueLab Software Development Kit and Bluetooth for Windows software 1 Screwdriver Table 2 1 Casira Case Contents Notes CSR recommends using the provided power supplies otherwise there is a risk of...

Страница 6: ...stems Microsoft Windows 98 1 Microsoft Windows Me 1 Microsoft Windows 2000 Microsoft Windows NT v4 0 Service Pack 3 or later Microsoft Windows XP Important Notes Windows NT v4 0 does not offer native Universal Serial Bus USB support Support can be added via patches but performance is not always dependable CSR does not recommend carrying out development work using Windows NT and USB as USB patches ...

Страница 7: ...he installer supplied on the accompanying CD ROM 4 3 Installing BlueSuite CE Software This installation contains Windows CE versions of the PC software To install the CE versions follow these instructions 1 Identify the target platform CE devices run one of the following versions of Windows CE Pocket PC Palm sized device small portrait screen no keyboard HPC Pro 2 11 Older small notebook sized PC ...

Страница 8: ...h for Windows BTW software works only with the WIDCOMM driver CSR s BlueSuite software was tested using both sets of drivers If you installed previous versions of BlueSuite and CSR USB drivers note that they will not work with the WIDCOMM BTW software The CD ROM provided with your Casira Development Kit will allow you to remove the old USB drivers and install the new version which co exists with b...

Страница 9: ...ppropriate country specific AC adaptor connect the power supply unit to the mains supply Plug the power supply unit output into the Casira power input 5 Run BlueFlash Start the BlueFlash application installed as part of BlueSuite on the accompanying CD ROM 6 Select the LPT port In the top drop down menu select the LPT port to which the SPI cable is connected LPT1 is the default 7 Check the connect...

Страница 10: ...load to complete The backup is complete when the file name displays complete Two files will be created one with xpv extension the other with xdv extension Both files are required to restore the firmware xpv contains the firmware program space xdv contains the data space 14 Repeat steps if required Repeat Steps 1 13 of this section for additional Casira units 15 If your Casira fails to operate prop...

Страница 11: ...for each of these utilities 5 1 BlueFlash BlueFlash is a utility that allows you to download and upload firmware to and from the flash memory on the Casira kit modules or on your own BlueCore designs Important Note Do not click Flash Erase unless this is your definite intention Erasing the flash will remove all Persistent Store settings Firmware upgrades from the CSR support website do not contain...

Страница 12: ...ich version of firmware is currently loaded on the module BlueFlash does not identify firmware created before Beta 10 release If BlueFlash is unable to identify the firmware version you will still able to upgrade the firmware using this utility Dump Allows the user to download the contents of the flash to a file on the PC hard drive The data can be stored either as BlueCore xpv xdv files or as a b...

Страница 13: ...files which correspond to the program space and xdv files which correspond to the data space There is a single dfu file for DFU Not all files contain all firmware components Downloading a firmware file only to flash memory overwrites the components contained in the file all others remain intact This affects only the calibration information in the Persistent Store Downloading to flash memory ensure...

Страница 14: ...y Persistent Store values unless you have a clear understanding of what they do Careless changes to the Persistent Store could prevent the firmware from executing correctly or can stop BlueCore from communicating with the PC In some cases it may not be possible to restore the BlueCore device to the state in which it was supplied Refer to CSR documentation on PS Key settings before editing values P...

Страница 15: ...eys Section 5 2 3 Changing Transport Interface details how to configure BlueCore for USB operation 5 2 3 Changing Transport Interface To change the transport interface enable the Developer access level see section 5 2 1 Access Levels Refer to CSR documentation for more information on transport interfaces To change to USB 1 Change the Host Interface Select the Host Interface PS Key 505 PSKEY_HOST_I...

Страница 16: ...he BlueCore module to use BCSP over the UART The UART configuration Bitfiled key is a presentation key Setting this to 6 configures the following keys UART Stop Bits PS Key to One stop bit UART Parity Bit PS Key to Even Parity UART Hardware Flow Control PS Key to Disabled UART RTS Asserted PS Key to False UART Enable BCSP specific hardware PS Key to Enabled To change to H4 1 Change the Host Interf...

Страница 17: ... up the transport interface selection window allowing you to reconnect after resetting or if the transport was disrupted for any reason Reset BC This button resets the BlueCore device Any changes to the PS Keys will take effect only after the device is reset and the stack reboots Close This shuts down PSTools Describe This button brings up a description of the currently selected PS Key Status Area...

Страница 18: ...bc01 an 100Pd Copyright Cambridge Silicon Radio Limited 2001 2004 This material is subject to CSR s non disclosure agreement Page 18 of 33 _äìÉ çêÉ Casira User Guide Figure 5 3 PSTools User Interface Figure 5 4 PSTools Merge and Dump ...

Страница 19: ...ud rate PS Key 1 2 Set to the required baud rate e g 38 4 kbaud using the pull down menu 1 3 Click on Set to update the Persistent Store 2 Reset BlueCore This configures the BlueCore module to use the new baud rate 5 3 BlueChat2 BlueChat2 allows users to create an asynchronous connectionless link ACL between two devices to send text or a file and add a synchronous connection orientated SCO link fo...

Страница 20: ... Cancel Inquiry If the device is the master this button controls inquiry for other Bluetooth device in the area If the local device is selected to be the slave this button will be greyed out Bluetooth Device Address This lists the address of the local device and in the pull down selection box the addresses of any devices found during an inquiry Use the selection box to highlight the Bluetooth devi...

Страница 21: ...es in BlueSuite bc01 an 100Pd Copyright Cambridge Silicon Radio Limited 2001 2004 This material is subject to CSR s non disclosure agreement Page 21 of 33 _äìÉ çêÉ Casira User Guide Figure 5 6 BlueChat2 User Interface ...

Страница 22: ...ce into Inquiry Scan mode to allow the Master to connect to it 9 On the Master s BlueChat window click the Inquire button and the Master will perform an inquiry to find any slave devices in the area 10 After the inquiry is finished which should take about 20 seconds the Master will show the addresses of the Bluetooth devices it found during the inquiry You can cancel the Inquiry at any time by cli...

Страница 23: ...aved to a file when this is selected The default name of file is logfile txt File Location Shows the name and location of file being saved Test Results When running the tests the results will be displayed in this dialog box PS This button opens a low level PS Key editor similar to the Edit Raw function within PSTools You must enter the PS Key s identification number in hex and edit the key in hex ...

Страница 24: ...er friendly A basic user guide is provided as a text file btcliug txt in the BlueSuite directory Using this guide in conjunction with the Bluetooth specification it is possible to exercise BlueCore s functionality thoroughly To run BTCLI open a command prompt window DOS window and change into the BlueSuite directory From there run BTCLI with the appropriate arguments for the current host interface...

Страница 25: ...ght 2000 2001 Cambridge Silicon Radio bcsp on com1 at 115200 bps command_status pending nhcp 0x01 nop slave sef connection_setup all auto_accept wpsa 0x0080 0x0040 wisa 0x0080 0x0040 wse inquiry_page rba command_complete nhcp 0x01 set_event_filter success command_complete nhcp 0x01 write_page_scan_activity success command_complete nhcp 0x01 write_inquiry_scan_activity success command_complete nhcp...

Страница 26: ...n the appropriate link on the support website home page http www csrsupport com register php Note CSR product updates are published on the support website Check this resource regularly for the latest updates on all issues go to www csrsupport com newupdated php Automatic email notification of new and updated website listings can be requested by clicking on Profile on the home page CSR will not pos...

Страница 27: ...n File ID to indicate which version of firmware is currently selected for download Click on Firmware ID to display details of the firmware that is currently loaded on BlueCore 8 BlueFlash will not identify firmware builds prior to Beta 10 However this does not prevent you from downloading or uploading these older firmware builds 9 Click on Download 10 After downloading completes click on Verify to...

Страница 28: ...ion to CSR s development tool and is a complete set of tools with programming examples There is no charge for upper stack layers when run on chip See the CD ROM incorporating BlueLab Installation and additional documents are contained in this CD ROM 7 3 Bluetooth for Windows Software Bluetooth for Windows is provided on the CD ROM with your Casira kit This software is a complete communication soft...

Страница 29: ...programming languages such as C C Visual Basic Delphi and National Instruments LabView TestEngine allows for rapid development of a test application as only a few lines of code are required to initialise communication and call functions This simple C example shows how TestEngine can be used to communicate with a device and enable Bluetooth testmode The full set of function descriptions are in the ...

Страница 30: ...any name Company address Contact phone number Serial numbers for the Casira unit s with which you experience problems Software firmware versions in use Description of hardware in use Where possible provide specific details about your set up For example Windows platform in use Version of firmware used on the modules Any code or HCI commands used Modes of use Detailed description of issues Ensure th...

Страница 31: ... User Guide 9 Document References Document Reference Date Specification of the Bluetooth System v1 1 22 February 2001 and v1 2 05 November 2003 BlueTest Instruction Manual CSR reference AN047 BlueCore2 Class 2 Example Design CSR reference BC2MOD2 BlueCore2 External Production Information Data Book CSR reference BC212015LF ds 001 RFCLI User Guide CSR reference bcore ug 003P ...

Страница 32: ...ira CSR s main Bluetooth development hardware CSR Cambridge Silicon Radio DLL Dynamically Linked Library DFU Device Firmware Upgrade DM Device Manager ECP Extended Capabilities Port EPP Enhanced Parallel Port H4 Bluetooth serial protocol as described in section H4 of the Bluetooth specification a simple packet based protocol HCI Host Controller Interface LPT Line Printer Terminal NNTP Network News...

Страница 33: ...dded Microsoft XP operating system added website registration instructions corrected Access Levels clarified Changing Transport Interface instructions added RFCLI added Test Engine and TestFlash to Other Applications section CSR reference bc01 an 100c 30 MAR 04 d Updated ActiveSync reference to v3 7 1 Added merge dump and edit information in PS Tools User Interface Casira User Guide bc01 an 100Pd ...

Отзывы: