Re: CSR bluecore initial problem
[email protected] Mon, 26 May 2008 15:34:18 +0800 (CST)
| Newsgroups | gmane.linux.bluez.user |
|---|---|
| Message-ID | <25980571.990131211787258597.JavaMail.coremail@bj163app120.163.com> |
Thanks indeed, it works! 在2008-05-24,"Peter Wurmsdobler" <[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