Re: HCI_UART
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, Cale Collins Field Application Engineer Gateworks Corporation 3026 S. Higuera, SLO, CA 93401 T: (805)781-2000 x37 ![]()
On Wed, Oct 3, 2018 at 2:38 PM, Cufi, Carles <Carles.Cufi@...> wrote:
|
|
Re: Bluetooth: about latest Kernel OOPS
vikrant8051 <vikrant8051@...>
Hi Carles, Oh !! That's Great news !!
On Fri, Oct 5, 2018 at 1:49 PM Cufi, Carles <Carles.Cufi@...> wrote: Fix is now merged: https://github.com/zephyrproject-rtos/zephyr/pull/10391
|
|
Re: Choosing Tx Buffers in BLE stack
Carles Cufi
Note that if you do not own a BLE sniffer you can still use a Nordic board to sniff traffic over the air:
toggle quoted messageShow quoted text
https://www.nordicsemi.com/eng/Products/Bluetooth-low-energy/nRF-Sniffer Carles
-----Original Message-----
|
|
Re: Choosing Tx Buffers in BLE stack
Chettimada, Vinayak Kariappa
Do you have a sniffer trace you can send to me email?
toggle quoted messageShow quoted text
It appears the peer is not responding to a control procedure. -Vinayak
-----Original Message-----
From: <devel@lists.zephyrproject.org> on behalf of "dhguja@gmail.com" <dhguja@gmail.com> Date: Thursday, 4 October 2018 at 11:19 AM To: "devel@lists.zephyrproject.org" <devel@lists.zephyrproject.org> Subject: Re: [Zephyr-devel] Choosing Tx Buffers in BLE stack Hello All, I did some more debugging on my problem and i noticed that whenever the characters are stopped receiving by windows host i get a disconnection in my device with either LMP RESPONSE TIMEOUT / LL RESPONSE TIMEOUT (0x22) or CONNECTION TIMEOUT (0x08) always. Is this expected on the zephyr side? Is there anything else i can do from my device perspective? I also posted my queries in MS forums and waiting for some solution there too. Thanks for the help. Dhananjay G J
|
|
Re: Bluetooth: about latest Kernel OOPS
Carles Cufi
Fix is now merged: https://github.com/zephyrproject-rtos/zephyr/pull/10391
toggle quoted messageShow quoted text
-----Original Message-----
|
|
Re: Bluetooth: about latest Kernel OOPS
Chettimada, Vinayak Kariappa
Hi Vikrant,
toggle quoted messageShow quoted text
It appears a recent merged PR has introduced regression. https://github.com/zephyrproject-rtos/zephyr/pull/10289 I am analysing the issue, meanwhile you can revert the said commit so as to unblock your tasks. Regards, Vinayak
-----Original Message-----
From: <devel@lists.zephyrproject.org> on behalf of vikrant8051 <vikrant8051@gmail.com> Date: Friday, 5 October 2018 at 9:37 AM To: "devel@lists.zephyrproject.org" <devel@lists.zephyrproject.org>, Carles Cufi <Carles.Cufi@nordicsemi.no> Subject: [Zephyr-devel] Bluetooth: about latest Kernel OOPS Hi, Today I synced my local repo with Zephyr master & while testing with Bluetooth Mesh App I got following Kernel OOPS: ***** Kernel OOPS! ***** Current thread ID = 0x200018c0 Faulting instruction address = 0x16d84 Fatal fault in ISR! Spinning... I executed following command : /opt/zephyr-sdk/sysroots/x86_64-pokysdk-linux/usr/bin/arm-zephyr-eabi/arm-zephyr-eabi-addr2line -e zephyr.elf 0x16d84 o/p -> /home/vikrant/zephyr/subsys/bluetooth/controller/ll_sw/ctrl.c:6353 Please suggest me how to overcome this. Thank You !!
|
|
Bluetooth: about latest Kernel OOPS
vikrant8051 <vikrant8051@...>
Hi, Today I synced my local repo with Zephyr master & while testing with Bluetooth Mesh App I got following Kernel OOPS: ***** Kernel OOPS! ***** Current thread ID = 0x200018c0 Faulting instruction address = 0x16d84 Fatal fault in ISR! Spinning... I executed following command : /opt/zephyr-sdk/sysroots/x86_64-pokysdk-linux/usr/bin/arm-zephyr-eabi/arm-zephyr-eabi-addr2line -e zephyr.elf 0x16d84 o/p -> /home/vikrant/zephyr/subsys/bluetooth/controller/ll_sw/ctrl.c:6353 Please suggest me how to overcome this. Thank You !!
|
|
Type-C PD (TCPC / TCPM)
david <david@...>
Hi,
Checking in if anyone has been looking at generic USB Type-C PD support? There are obviously various ways this is dealt with in products on the market, some uses more primitive PHY's + a big chunk of driver-code running on cpu, some are completely standalone (proprietary / less flexible) with it's own little cpu & binary that can operate autonomously or via a high-level serial-protocol. Then there are parts supporting TCPC / TCPM, where the 'port-manager' runs on the host cpu talking to the phy via (I assume) a somewhat standardized protocol that should be generic between PD IC's supporting it. Thoughts? best David
|
|
Re: [Zephyr-users] WSL builds now functional
Saurabh Pandey <saurabh_0711@...>
Good to know that we can work on WSL
On Thursday, 4 October, 2018, 2:01:30 PM IST, Cufi, Carles <carles.cufi@...> wrote:
Hi all, You might know that if you use Windows 10, you can benefit from WSL (Windows Subsystem for Linux) to build Zephyr. This is of course no longer necessary, since we now fully support native Windows command prompts, but it can be useful if you want to run sanitycheck (not yet ported to Windows) or other Linux-only tools. Until now there was a bug [1] in WSL that prevented Zephyr for building on WSL. This has now been fixed in Windows 10 release 1809, so I took the opportunity to build tests/bluetooth/shell for nrf52_pca10040 on my (very slow) Windows laptop and compare times: Linux VM: 21s Native Windows Command Prompt: 24s WSL: 26s As always you are free to pick your platform (macOS works fine too) to build Zephyr. Carles
|
|
Re: nrf52840 dongle
Puzdrowski, Andrzej
I think you can start form looking at the ticket Nordic PCA10059 support without additional Seeger debugger https://github.com/zephyrproject-rtos/zephyr/issues/9055 and related PRsAs you can see what you want is actually in progress.There is no need to modify linker script – partitions you can move using DTS overlay files – I recommend to look at zephyr developer guide for more info (and the code as well)Andrzej
From: devel@... [mailto:devel@...]
On Behalf Of Marcio Montenegro
Sent: Thursday, October 04, 2018 12:19 PM To: devel@... Subject: [Zephyr-devel] nrf52840 dongle
Hi all,
I would like to use nrf52840 dongle for zephyr development. I don´t have j-link cable and I wonder if I can flash the project using Nordic nrfutil. As far as I know I need to change linker script address from 0 to 0x1000. Can someone share how to change the linker script for nrf52840.
Best regards, Marcio Montenegro
|
|
Re: Benchmarking of Real-Time Operating Systems for Internet of Things Devices
Vicente Amorim <vjpamorim@...>
Hi Julien, We've recently published a set of papers considering the evaluation of OS for wearable computing. It might be worth checking some of them, once some wearable solutions are pretty similar to the IoT environment. Please, let me know in private if you are unable to access any of these files. Best regards, -- Vicente J.P. Amorim
On Mon, Oct 1, 2018 at 12:43 PM Julien Gomez <julien.gomez@...> wrote:
|
|
Re: HCI_UART
Carles Cufi
Good point.
We have details about this in the nRF5x Segger page:
https://docs.zephyrproject.org/latest/tools/nordic_segger.html#usb-cdc-acm-serial-port-setup
Carles
From: devel@... <devel@...>
On Behalf Of Stefan Jaritz
Sent: 04 October 2018 12:54 To: devel@... Subject: Re: [Zephyr-devel] HCI_UART
Hey, Cheers Stefan
On 03/10/18 22:38, Cufi, Carles wrote:
|
|
Re: Benchmarking of Real-Time Operating Systems for Internet of Things Devices
Jukka Rissanen
Hi Julien,
toggle quoted messageShow quoted text
if you are interested in measuring networking performance, then there is a iPerf 2.x client/server sample application in Zephyr that you can use for this purpose. See samples/net/zperf directory in Zephyr source tree for more details. More information about iPerf2 can be found at https://sourceforge.net/projects/iperf2/ Cheers, Jukka
On Mon, 2018-10-01 at 15:43 +0000, Julien Gomez wrote:
Hello Zephyr community !
|
|
Re: Benchmarking of Real-Time Operating Systems for Internet of Things Devices
Rodrigo Peixoto <rodrigopex@...>
Hi,
toggle quoted messageShow quoted text
I am a professor at federal university in Brazil. I am glad to see initiatives to evaluate and comparing “RTOSes” master thesis. It seems to be a great path to go. I would suggest you to compare the number of supported boards, interrupt latency, the abstraction level, the kernel type, quantity of drivers available, inter tasks communication mechanisms, price, and so on. You can dig deep as you want. I think you must compare with payed RTOSes as well. Some I can say now: Mynewt, RIOT, Amazon FreeRTOS, XThread, Chibios, etc. Here is a list (seems to be outdated) https://en.m.wikipedia.org/wiki/Comparison_of_real-time_operating_systems Good luck with your research. I would be happy to help and take a look at the results. Best regards, Rodrigo Peixoto.
On Mon, 1 Oct 2018 at 12:43 Julien Gomez <julien.gomez@...> wrote:
--
Rodrigo Peixoto Co-founder and Technical guru +55 (82) 98144-8585 http://ayna.tech | Skype: rodrigopex .
|
|
Re: HCI_UART
Stefan Jaritz
Hey, Cheers Stefan
On 03/10/18 22:38, Cufi, Carles wrote:
|
|
nrf52840 dongle
Marcio Montenegro
Hi all, I would like to use nrf52840 dongle for zephyr development. I don´t have j-link cable and I wonder if I can flash the project using Nordic nrfutil. As far as I know I need to change linker script address from 0 to 0x1000. Can someone share how to change the linker script for nrf52840. Best regards, Marcio Montenegro
|
|
Re: Choosing Tx Buffers in BLE stack
dhguja@gmail.com
Hello All,
I did some more debugging on my problem and i noticed that whenever the characters are stopped receiving by windows host i get a disconnection in my device with either LMP RESPONSE TIMEOUT / LL RESPONSE TIMEOUT (0x22) or CONNECTION TIMEOUT (0x08) always. Is this expected on the zephyr side? Is there anything else i can do from my device perspective? I also posted my queries in MS forums and waiting for some solution there too. Thanks for the help. Dhananjay G J
|
|
WSL builds now functional
Carles Cufi
Hi all,
You might know that if you use Windows 10, you can benefit from WSL (Windows Subsystem for Linux) to build Zephyr. This is of course no longer necessary, since we now fully support native Windows command prompts, but it can be useful if you want to run sanitycheck (not yet ported to Windows) or other Linux-only tools. Until now there was a bug [1] in WSL that prevented Zephyr for building on WSL. This has now been fixed in Windows 10 release 1809, so I took the opportunity to build tests/bluetooth/shell for nrf52_pca10040 on my (very slow) Windows laptop and compare times: Linux VM: 21s Native Windows Command Prompt: 24s WSL: 26s As always you are free to pick your platform (macOS works fine too) to build Zephyr. Carles [1] https://github.com/Microsoft/WSL/issues/3154
|
|
Re: Does Zephyr allow provisioning using relays?
IosuGorostiza <balcalde@...>
Thanks.
De: Vikrant More [mailto:vikrant8051@...]
Hi,
FYI, as of now #nRFMesh App itself doesn't support remote provisioning.
Regards, vikrant
On Mon, Oct 1, 2018, 8:14 PM IosuGorostiza <balcalde@...> wrote:
|
|
Re: Best pinmux approach for Atmel sam soc (sam4s & same70)
Vincent - VLoTech
Hi,
toggle quoted messageShow quoted text
I'm afraid I have to respectfully disagree with you. Many of the peripherals on the SAM family can be assigned to several pins. Which pins used are a choice on board level, so technically this socmap.h approach could actually not work for the SPI, UART, USART and I2C drivers. As this pin assignment is controlled by a specific separate peripheral, like most MCU have except the nordic ones, I would propose to add the pinmux driver. The sam3x actually already has this, and can easily be made compatible for the rest of the family of atmel sam. I do agree that have the different possible options for each peripheral can be published from the soc layer. In the sam series this is already done through the ASF includes. I don't mind putting in the effort to make these changes. Especially if this creates a better consensus between the different soc types. Kind regards, Vincent
On 10/03/2018 06:30 PM, Kumar Gala wrote:
So we are trying to have the out of box config of a board to enable a default set of features for that board.
|
|