Return-Path: Date: Mon, 26 May 2008 15:34:18 +0800 (CST) From: attaboyu@163.com To: "BlueZ users" Message-ID: <25980571.990131211787258597.JavaMail.coremail@bj163app120.163.com> In-Reply-To: <4837F637.9060904@wurmsdobler.org> References: <4837F637.9060904@wurmsdobler.org> <20844183.487421211530034467.JavaMail.coremail@bj163app76.163.com> MIME-Version: 1.0 Subject: Re: [Bluez-users] CSR bluecore initial problem Reply-To: BlueZ users List-Id: BlueZ users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1562246621==" Sender: bluez-users-bounces@lists.sourceforge.net Errors-To: bluez-users-bounces@lists.sourceforge.net --===============1562246621== Content-Type: multipart/alternative; boundary="----=_Part_260736_14561697.1211787258596" ------=_Part_260736_14561697.1211787258596 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Thanks indeed, it works! =E5=9C=A82008-05-24=EF=BC=8C"Peter Wurmsdobler" =E5= =86=99=E9=81=93=EF=BC=9A > > >Hello, > >a few months back I encountered a similar problem. hciattach did not=20 >(and still does not) always succeed, and bccmd seems to have a problem=20 >using the BlueCore serial protocol (bcsp), possibly a race condition.=20 >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.p= sr > 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=20 >use bccmd with this hci in order to download the psr file (which will=20 >reset the BlueCore), then kill the hci and re-attach. > >Hope this helps, >peter > > >=20 > >'); >=09} >//--> > > ------=_Part_260736_14561697.1211787258596 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Thanks indeed, it works!

=E5=9C=A82008-05-24=EF=BC=8C"Peter Wurmsdob= ler" <peter@wurmsdobler.org> =E5=86=99=E9=81=93=EF=BC=9A
>
&= gt;
>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 t= o download the psr file (which will
>reset the BlueCore), then kill = the hci and re-attach.
>
>Hope this helps,
>peter
>=
>
>
>
>');
>=09}
>//-->
>>


=20
=E5=B0=BD=E4=BA=AB=E6=B1= =9F=E5=8C=97=E5=9F=8E=E5=B8=82=E8=8D=A3=E5=85=89=EF=BC=8C=E5=BC=80=E5=90=AF= =E6=BB=A8=E6=B1=9F=E4=B8=96=E7=95=8C=E5=B2=B8=E5=8C=BA=EF=BC=8C=E4=B8=9C=E6= =B5=B7=E5=B2=B8=E8=B5=A0=E7=A9=BA=E9=97=B4=E8=BF=9150% ------=_Part_260736_14561697.1211787258596-- --===============1562246621== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- 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/ --===============1562246621== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Bluez-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users --===============1562246621==--