Re: How to run up CSR chip without eeprom with BLUEZ ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> what is the right process ? Can any one help me out ?
> Thanks
 
> Raymond


Hi Raymond,

we are using BC6 ROM, and also had problems initializing it. This is the procedure that works for us:

1. We run bccmd before hciattach!

bccmd -t BCSP -d /dev/ttyS2 psload -r pskeys.psr

Obviously, BC6 is connected to ttyS2. 

pskeys.psr looks like this:
 
// PSKEY_BDADDR
&0001 = 0044 5566 0033 1122
// PSKEY_UART_BAUDRATE - 921600
&01be = 0ebf
// PSKEY_ANA_FREQ
&01fe = 6590

Before executing bccmd, chip has baudrate 38400. After executing bccmd, baudrate will be 921600, so hciattach has to use that speed. 

bccmd without -r didn't work for us.
 

2. Now we run hciattach:

hciattach -s 921600 /dev/ttyS2 bcsp 921600 noflow

After this we do hciconfig hci0 reset, and continue working with hci0 device normally from BlueZ.

Regards,
Sanja


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Bluez-devel mailing list
Bluez-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/bluez-devel


[Index of Archives]     [Linux Bluetooth Devel]     [Linux USB Devel]     [Network Devel]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux