Re: CSR bluecore initial problem
Peter Wurmsdobler <[email protected]> Sat, 24 May 2008 12:04:23 +0100
| Newsgroups | gmane.linux.bluez.user |
|---|---|
| Message-ID | <[email protected]> |
Hello,
a few months back I encountered a similar problem. hciattach did not
(and still does not) always succeed, and bccmd seems to have a problem
using the BlueCore serial protocol (bcsp), possibly a race condition.
That's why I have to use:
/usr/sbin/hciattach /dev/ttymxc2 bcsp 57600 flow
/usr/sbin/hciconfig hci0 up
/usr/sbin/bccmd -t hci psload -r /usr/etc/bluetooth/apm6628BT-UART.psr
killall hciattach
/usr/sbin/hciattach /dev/ttymxc2 bcsp 115200 flow
/usr/sbin/hciconfig hci0 up
Notice the bccmd -t hci, so you have to attach first using bcsp, then
use bccmd with this hci in order to download the psr file (which will
reset the BlueCore), then kill the hci and re-attach.
Hope this helps,
peter
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users