Cale Collins <ccollins@...>
Hello,
I have built and installed HCI_UART to nRF52840 Nordic Development kit. When I connect this device it appears with "lsusb", seemingly I can attach it using "btattach -B /dev/ttyACM0 -S 1000000", revealing hci0. I have made the recommended adaptation to "/lib/systemd/system/bluetooth.service", appending -E to the "ExecStart=/usr/lib/bluetooth/bluetoothd -E" line.
When issuing commands with "btmgmt", "btmon" reports "Invalid Index (0x11)". Normal HCI commands fail such as "hciconfig hci0 up".
Using Bionic-Beaver Ubuntu, 4.15 kernel, Bluez 5.48, also tested with Xenial Ubuntu 4.15 kernel, Bluez 5.50. Any suggestions would be greatly appreciated.
Best regards,
Cale Collins Field Application Engineer Gateworks Corporation
|
|
Hi there,
Could you please attach a btmon log of the attach procedure?
On one shell run “sudo btmon”
On another shell then run: “sudo btattach -B /dev/ttyACM0 -S 1000000”
And then attach the log output from btmon in an email or paste service.
Also, have you tried “sudo btmgmt --index 0”? i.e. specifying the index when invoking btmgmt?
Carles
toggle quoted message
Show quoted text
From: devel@... <devel@...>
On Behalf Of Cale Collins
Sent: 03 October 2018 17:43
To: devel@...
Subject: [Zephyr-devel] HCI_UART
Hello,
I have built and installed HCI_UART to nRF52840 Nordic Development kit. When I connect this device it appears with "lsusb", seemingly I can attach it using "btattach -B /dev/ttyACM0 -S 1000000", revealing hci0. I have made the recommended
adaptation to "/lib/systemd/system/bluetooth.service", appending -E to the "ExecStart=/usr/lib/bluetooth/bluetoothd -E" line.
When issuing commands with "btmgmt", "btmon" reports "Invalid Index (0x11)". Normal HCI commands fail such as "hciconfig hci0 up".
Using Bionic-Beaver Ubuntu, 4.15 kernel, Bluez 5.48, also tested with Xenial Ubuntu 4.15 kernel, Bluez 5.50. Any suggestions would be greatly appreciated.
Cale Collins
Field Application Engineer
Gateworks Corporation
|
|
Cale Collins <ccollins@...>
Charles,
Thank you very much for the reply.
Here is a paste-bin of the logs you requested. Please let me know if there's any further information you would like me to provide.
Best regards,
toggle quoted message
Show quoted text
On Wed, Oct 3, 2018 at 8:56 AM, Cufi, Carles <Carles.Cufi@...> wrote:
Hi there,
Could you please attach a btmon log of the attach procedure?
On one shell run “sudo btmon”
On another shell then run: “sudo btattach -B /dev/ttyACM0 -S 1000000”
And then attach the log output from btmon in an email or paste service.
Also, have you tried “sudo btmgmt --index 0”? i.e. specifying the index when invoking btmgmt?
Carles
Hello,
I have built and installed HCI_UART to nRF52840 Nordic Development kit. When I connect this device it appears with "lsusb", seemingly I can attach it using "btattach -B /dev/ttyACM0 -S 1000000", revealing hci0. I have made the recommended
adaptation to "/lib/systemd/system/bluetooth.service", appending -E to the "ExecStart=/usr/lib/bluetooth/bluetoothd -E" line.
When issuing commands with "btmgmt", "btmon" reports "Invalid Index (0x11)". Normal HCI commands fail such as "hciconfig hci0 up".
Using Bionic-Beaver Ubuntu, 4.15 kernel, Bluez 5.48, also tested with Xenial Ubuntu 4.15 kernel, Bluez 5.50. Any suggestions would be greatly appreciated.
Cale Collins
Field Application Engineer
Gateworks Corporation
|
|
Hi Cale,
The controller doesn´t seem to be responding to the Reset command, as if perhaps the serial
(UART) connection was not working.
Can you try building and flashing the “hello_world” sample and visualize the output using minicom or similar, to make sure the serial link is working?
Carles
From:
Cale Collins <ccollins@...>
Date: Wednesday, 3 October 2018 at 20:48
To: "Cufi, Carles" <Carles.Cufi@...>
Cc: "devel@..." <devel@...>, Luiz Augusto von Dentz <luiz.dentz@...>
Subject: Re: [Zephyr-devel] HCI_UART
Charles,
Thank you very much for the reply.
Here is a paste-bin of the logs you requested. Please let me know if there's any further information you would like me to provide.
Cale Collins
Field Application Engineer
Gateworks Corporation
toggle quoted message
Show quoted text
On Wed, Oct 3, 2018 at 8:56 AM, Cufi, Carles < Carles.Cufi@...> wrote:
Hi there,
Could you please attach a btmon log of the attach procedure?
On one shell run “sudo btmon”
On another shell then run: “sudo btattach -B /dev/ttyACM0 -S 1000000”
And then attach the log output from btmon in an email or paste service.
Also, have you tried “sudo btmgmt --index 0”? i.e. specifying the index when invoking btmgmt?
Carles
Hello,
I have built and installed HCI_UART to nRF52840 Nordic Development kit. When I connect this device it appears with "lsusb", seemingly I can attach it using "btattach -B /dev/ttyACM0 -S 1000000", revealing hci0. I have made the recommended
adaptation to "/lib/systemd/system/bluetooth.service", appending -E to the "ExecStart=/usr/lib/bluetooth/bluetoothd -E" line.
When issuing commands with "btmgmt", "btmon" reports "Invalid Index (0x11)". Normal HCI commands fail such as "hciconfig hci0 up".
Using Bionic-Beaver Ubuntu, 4.15 kernel, Bluez 5.48, also tested with Xenial Ubuntu 4.15 kernel, Bluez 5.50. Any suggestions would be greatly appreciated.
Cale Collins
Field Application Engineer
Gateworks Corporation
|
|
Hey,
Keep in mind that some Linux distros having a modemmanger. If you
not having a blocking udev rule or uninstalling it, this piece of
software will try to connect through your uart.
Cheers
Stefan
On 03/10/18 22:38, Cufi, Carles wrote:
toggle quoted message
Show quoted text
Hi Cale,
The controller doesn´t
seem to be responding to the Reset command, as if perhaps
the serial
(UART) connection was not working.
Can you try building and
flashing the “hello_world” sample and visualize the output
using minicom or similar, to make sure the serial link is
working?
Carles
Charles,
Thank you
very much for the reply.
Here is a
paste-bin of the logs you requested. Please let me know
if there's any further information you would like me to
provide.
Cale
Collins
Field Application Engineer
Gateworks Corporation
On Wed, Oct
3, 2018 at 8:56 AM, Cufi, Carles <Carles.Cufi@...>
wrote:
Hi there,
Could you please attach a btmon log
of the attach procedure?
On one shell run “sudo btmon”
On another shell then run: “sudo btattach -B /dev/ttyACM0 -S
1000000”
And then attach the log output from
btmon in an email or paste service.
Also, have you tried “sudo btmgmt
--index 0”? i.e. specifying the index when
invoking btmgmt?
Carles
Hello,
I have built and
installed HCI_UART to nRF52840
Nordic Development kit. When I
connect this device it appears with
"lsusb", seemingly I can attach it
using "btattach -B /dev/ttyACM0 -S
1000000", revealing hci0. I have
made the recommended adaptation to
"/lib/systemd/system/bluetooth.service",
appending -E to the
"ExecStart=/usr/lib/bluetooth/bluetoothd
-E" line.
When issuing commands
with "btmgmt", "btmon" reports
"Invalid Index (0x11)". Normal HCI
commands fail such as "hciconfig
hci0 up".
Using Bionic-Beaver
Ubuntu, 4.15 kernel, Bluez 5.48,
also tested with Xenial Ubuntu 4.15
kernel, Bluez 5.50. Any suggestions
would be greatly appreciated.
Cale
Collins
Field Application
Engineer
Gateworks Corporation
|
|
toggle quoted message
Show quoted text
From: devel@... <devel@...>
On Behalf Of Stefan Jaritz
Sent: 04 October 2018 12:54
To: devel@...
Subject: Re: [Zephyr-devel] HCI_UART
Hey,
Keep in mind that some Linux distros having a modemmanger. If you not having a blocking udev rule or uninstalling it, this piece of software will try to connect through your uart.
Cheers
Stefan
On 03/10/18 22:38, Cufi, Carles wrote:
Hi Cale,
The controller doesn´t seem to be responding to the Reset command, as if perhaps the serial
(UART) connection was not working.
Can you try building and flashing the “hello_world” sample and visualize the output using minicom or similar, to make sure the serial link is working?
Carles
Charles,
Thank you very much for the reply.
Here is a paste-bin of the logs you requested. Please let me know if there's any further information you would like me to provide.
Cale Collins
Field Application Engineer
Gateworks Corporation
On Wed, Oct 3, 2018 at 8:56 AM, Cufi, Carles <Carles.Cufi@...> wrote:
Hi there,
Could you please attach a btmon log of the attach procedure?
On one shell run “sudo btmon”
On another shell then run: “sudo btattach -B /dev/ttyACM0 -S 1000000”
And then attach the log output from btmon in an email or paste service.
Also, have you tried “sudo btmgmt --index 0”? i.e. specifying the index when invoking btmgmt?
Carles
Hello,
I have built and installed HCI_UART to nRF52840 Nordic Development kit. When I connect this device it appears with "lsusb", seemingly I can attach it using "btattach -B /dev/ttyACM0 -S 1000000", revealing hci0. I have made the recommended adaptation to "/lib/systemd/system/bluetooth.service",
appending -E to the "ExecStart=/usr/lib/bluetooth/bluetoothd -E" line.
When issuing commands with "btmgmt", "btmon" reports "Invalid Index (0x11)". Normal HCI commands fail such as "hciconfig hci0 up".
Using Bionic-Beaver Ubuntu, 4.15 kernel, Bluez 5.48, also tested with Xenial Ubuntu 4.15 kernel, Bluez 5.50. Any suggestions would be greatly appreciated.
Cale Collins
Field Application Engineer
Gateworks Corporation
|
|
Cale Collins <ccollins@...>
Charles,
Thank you very much for the advice, I figured out that I built the .hex file with the incorrect parameters:
cmake -DBOARD=nrf52840_pca10059 ../..
When I needed:
cmake -DBOARD=nrf52840_pca10056 ../..
HCI_UART is working magnificently now.
Best regards,
toggle quoted message
Show quoted text
On Wed, Oct 3, 2018 at 2:38 PM, Cufi, Carles <Carles.Cufi@...> wrote:
Hi Cale,
The controller doesn´t seem to be responding to the Reset command, as if perhaps the serial
(UART) connection was not working.
Can you try building and flashing the “hello_world” sample and visualize the output using minicom or similar, to make sure the serial link is working?
Carles
Charles,
Thank you very much for the reply.
Here is a paste-bin of the logs you requested. Please let me know if there's any further information you would like me to provide.
Cale Collins
Field Application Engineer
Gateworks Corporation
On Wed, Oct 3, 2018 at 8:56 AM, Cufi, Carles <Carles.Cufi@...> wrote:
Hi there,
Could you please attach a btmon log of the attach procedure?
On one shell run “sudo btmon”
On another shell then run: “sudo btattach -B /dev/ttyACM0 -S 1000000”
And then attach the log output from btmon in an email or paste service.
Also, have you tried “sudo btmgmt --index 0”? i.e. specifying the index when invoking btmgmt?
Carles
Hello,
I have built and installed HCI_UART to nRF52840 Nordic Development kit. When I connect this device it appears with "lsusb", seemingly I can attach it using "btattach -B /dev/ttyACM0 -S 1000000", revealing hci0. I have made the recommended
adaptation to "/lib/systemd/system/bluetooth.service", appending -E to the "ExecStart=/usr/lib/bluetooth/bluetoothd -E" line.
When issuing commands with "btmgmt", "btmon" reports "Invalid Index (0x11)". Normal HCI commands fail such as "hciconfig hci0 up".
Using Bionic-Beaver Ubuntu, 4.15 kernel, Bluez 5.48, also tested with Xenial Ubuntu 4.15 kernel, Bluez 5.50. Any suggestions would be greatly appreciated.
Cale Collins
Field Application Engineer
Gateworks Corporation
|
|