I am working on a custom OMAP3530 + WL1271 (TiWi-R2 rev.4, ES 3.1 silicon) system running a 2.6.37 kernel with Android ICS on top (TI DevKit 3.0.0). I am using the TIInit_7.2.31.bts files from http://processors.wiki.ti.com/index.php/OMAP_Wireless_Connectivity_BTS_files_overview in the AM37/WL1271 directory.
I have succeeded in getting Bluetooth to initialize using the TIInit_7.2.31.bts file that is configured for 115200 bps. I can pair my OMAP3/WL1271 system with my PC in this configuration. However, I'd really like to switch to 3Mbps. When I attempt to do so, the firmware won't download. Thus I have some questions to help me debug the situation...
- Does the firmware always get loaded at 115200 bps, and then switch to 3M bps afterwards? (It seems so from the hciattach command's -s option)
- Alternatively, does a command to switch to 3Mbps get sent to the WL1271, and then the firmware is download?
- When I replace the TIInit_7.2.31.bts file configured for 115200 bps with one for 3M bps, but don't change the bit rate, the format of the .bts file doesn't seem quite right, because I see unexpected tokens in download_firmware() in drivers/misc/ti-st/st_kim.c.
- I note that the timestamp on the 3Mbps version of the file is dated March 25th, but the other firmware files are all dated quite a bit later--some as recent as September 13. Is the 3Mbps TIInit_7.2.31.bts file current?
- I have the kernel printing whenever the baud rate of the serial port is changed, and each time the OMAP tries to download the firmware the UART speed is changed not once, but three times. Is this expected?
Thanks very much,
Chris