packaging: release out and clean-up the changelog
[profile/ivi/linux-firmware-crossville.git] / README.stlc2500-r5-03.txt
1 HOW TO SETUP ST-Ericsson STA2500D Bluetooth device\r
2 ==================================================\r
3 \r
4 The Bluetooth device STA2500D is connected on the MSP port 3 of the ConneXt IO-Hub. \r
5 \r
6 Two files are released with this package which can be downloaded to the STLC2500 chip.\r
7 \95       STLC2500_R5_03_A17.PTC patch File: it is a binary file containing a header part and the actual patches. \r
8   This is an AXF image built in a similar way as the STLC2500 FW.\r
9 \95       STLC2500_R5_03_03_masterpcm_clkinvert.ssf: it contains product & application specific parameters \r
10   (values are defined by the customer) , as well as system parameters (for optimal BB/RF functionality). \r
11   These settings are valid for all STLC2500 chips. The file is typically stored in the Host file system\r
12 \r
13 \r
14 Device Setup steps:\r
15 ===================\r
16 \r
17 1. Copy the BT static setting file STLC2500_R5_03_03_masterpcm_clkinvert.ssf into the /lib/firmware folder\r
18 2. Copy the BT firmware patch STLC2500_R5_03_A17.ptc into the /lib/firmware folder\r
19 3. load the hci_uart driver:\r
20    #modprobe hci_uart\r
21 4. execute the hciattach command:\r
22    # hciattach /dev/ttyAM0 stlc2500 115200\r
23 \r
24 STLC2500 R5.3 05102007 08:20:56 ZAV100131  HW Id= 0xF1\r
25 Loading file /lib/firmware/STLC2500_R5_03_A17.ptc\r
26 Loading file /lib/firmware/STLC2500_R5_03_03_masterpcm_clkinvert.ssf\r
27 Device setup complete\r
28 \r
29 4. execute the hci_reset command:\r
30         # hcitool -i hci0 cmd 01 03 0c 00\r
31 \r
32    < HCI Command: ogf 0x01, ocf 0x0003, plen 2\r
33      0C 00 \r
34    > HCI Event: 0x0e plen 4\r
35      02 03 04 12 \r
36 \r
37 6. enable it with hciconfig:\r
38 \r
39 [root@stuser-desktop stuser]# hciconfig hci0 up\r
40 [root@stuser-desktop stuser]# hciconfig\r
41 hci0:   Type: UART\r
42        BD Address: 00:80:E1:00:AB:BA ACL MTU: 1021:4 SCO MTU: 64:255\r
43        UP RUNNING PSCAN\r
44        RX bytes:1034 acl:0 sco:0 events:33 errors:0\r
45        TX bytes:1380 acl:0 sco:0 commands:33 errors:0\r
46 \r
47 921600 Baudrate configuration\r
48 =============================\r
49 \r
50 replace step 4. with the two following commands:\r
51  #hciattach /dev/ttyAM0 -s 115200 stlc2500 921600 flow\r
52  #hcitool -i hci0 cmd 3f fc 01 14\r