Code Monkey home page Code Monkey logo

ot-nxp's Introduction

Build


OpenThread on NXP platforms

This repo contains example platform drivers for NXP K32W061 SoC, NXP K32W1 SoC, NXP JN5189 SoC and NXP RT 1060 Crossover MCU.

To learn more about building and running the examples please check:

Contributing

We would love for you to contribute to OpenThread and help make it even better than it is today! See our Contributing Guidelines for more information.

Contributors are required to abide by our Code of Conduct and Coding Conventions and Style Guide.

License

OpenThread is released under the BSD 3-Clause license. See the LICENSE file for more information.

Please only use the OpenThread name and marks when accurately referencing this software distribution. Do not use the marks in a way that suggests you are endorsed by or otherwise affiliated with Nest, Google, or The Thread Group.

Need help?

OpenThread support is available on GitHub:

ot-nxp's People

Contributors

andrei-menzopol avatar chapongatien avatar dependabot[bot] avatar doru91 avatar george-stefan avatar irving-cl avatar j-noel-longhand avatar jwhui avatar marius-alex-tache avatar zhanglongxia avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ot-nxp's Issues

Running RCP image on K32W USB dongle

I have purchased new K32W USB dongles. I am trying to run openthread sample example on an ubuntu machine with K32W dongle.

I have created RCP image for k32w dongle from openthread github.(https://github.com/openthread/ot-nxp/blob/main/src/k32w0/k32w061/README.md)

I am running ot-deamon on the ubuntu PC using following command

#ot-daemon -v 'spinel+hdlc+uart:///dev/ttyUSB1?uart-baudrate=115200'.

But ot-deamon is failing to communicate with the K32W dongle and giving following error

[./build/posix/src/posix/ot-daemon[23634]: Running OPENTHREAD/20200818-01178-gdeb2a4c97; POSIX; Aug 25 2021 15:50:40
./build/posix/src/posix/ot-daemon[23634]: Thread version: 3
./build/posix/src/posix/ot-daemon[23634]: [CRIT]-PLAT----: HandleRcpTimeout() at /home/maunish/src/openthread/src/posix/../../src/lib/spinel/radio_spinel_impl.hpp:2204: RadioSpinelNoResponse]

Do i need to make specific changes to communicate over USB for the dongle?

is there any ready example for open thread RCP Image present for k32w?

RCP is missing required capabilities: tx-security tx-timing

We are running the OTBR on the Raspberry PI.

We are following the guide (https://openthread.io/guides/border-router/build) for building and flashing.
We have flashed the RCP image in the K32W module. The module is attached to the port USB0.
we are running the OTBR using the following command on a raspberry pi:
pi@raspberrypi:~/ot-br-posix $ otbr-agent -I wpan0 -d7 -v spinel+hdlc+uart:///dev/ttyUSB0

but it is giving the error:

otbr-agent[1997]: [INFO]-UTILS---: Running 0.3.0-f8cc288f9
otbr-agent[1997]: [INFO]-UTILS---: Thread version: 1.2.0
otbr-agent[1997]: [INFO]-UTILS---: Thread interface: wpan0
otbr-agent[1997]: [INFO]-UTILS---: Backbone interface:
otbr-agent[1997]: [INFO]-UTILS---: Radio URL: spinel+hdlc+uart:///dev/ttyUSB0
otbr-agent[1997]: [INFO]-PLAT----: RCP reset: RESET_SOFTWARE
otbr-agent[1997]: [NOTE]-PLAT----: RCP API Version: 4
otbr-agent[1997]: [CRIT]-PLAT----: RCP is missing required capabilities: tx-security tx-timing
otbr-agent[1997]: [CRIT]-PLAT----: CheckRadioCapabilities() at ../../third_party/openthread/repo/src/lib/spinel/radio_spinel_impl.hpp:384: RadioSpinelIncompatible

what should we do to successfully run the OTBR with k32w module.?

Is example working on JN5189 Dongle not DK6?

Hello,

I'm following the NXP JN5189 example guide in below with JN5189 USB Dongle:
Example Guide: https://github.com/openthread/ot-nxp/blob/main/src/k32w/jn5189/README.md
JN5189 USB Dongle: www.nxp.com/OM15080-JN5189

But, this guide seems for JN5189DK6 not Dongle.
Is there any example guide for JN5189 Dongle?
And, actually I want to run and test for ot-br-posix OpenThread Border Router in Linux, is it possible?
example guide seems to be run on Windows.

Please kindly guide me.
Thank you

Running RCP Image on Ubuntu System and Unable to establish communication Between RCP and OTBR-AGENT (Openthread communication)

I have purchased new K32W USB dongles. I am trying to run openthread sample example on an Ubuntu machine with a K32W dongle.

I have created RCP image for k32w dongle from openthread github.(https://github.com/openthread/ot-nxp/blob/main/src/k32w0/k32w061/README.md) (commit id :: f8d5376)

I am running otbr-agent on the ubuntu(v22.02) PC using the following command from ot-br-posix GitHub (https://openthread.io/guides/border-router) (commit id :: 495612f696947fc38dc71e8ee3378477378cf144 )

I have used the main branch from the repo for the otbr-agent and RCP image.

#/usr/sbin/otbr-agent -I wpan0 -B enp1s0 spinel+hdlc+uart:///dev/ttyUSB0 trel://enp1s0

But the otbr-agent is failing to communicate with the K32W dongle and giving the following error

otbr-agent[33585]: [NOTE]-AGENT---: Running 0.3.0-1612526196
otbr-agent[33585]: [NOTE]-AGENT---: Thread version: 1.3.0
otbr-agent[33585]: [NOTE]-AGENT---: Thread interface: enp1s0
otbr-agent[33585]: [NOTE]-AGENT---: Radio URL: spinel+hdlc+uart:///dev/ttyUSB0
otbr-agent[33585]: [NOTE]-AGENT---: Radio URL: trel://enp1s0
otbr-agent[33585]: [NOTE]-ILS-----: Infra link selected: enp1s0
otbr-agent[33585]: [INFO]-NCP-----: OpenThread log level changed to 4
otbr-agent[33585]: 49d.18:56:15.522 [W] Platform------: Wait for response timeout
otbr-agent[33585]: 49d.18:56:15.523 [I] Platform------: Software reset RCP successfully
otbr-agent[33585]: 49d.18:56:17.525 [W] Platform------: Wait for response timeout
otbr-agent[33585]: 49d.18:56:17.525 [C] Platform------: HandleRcpTimeout() at radio_spinel_impl.hpp:2301: RadioSpinelNoResponse
systemd[1]: otbr-agent.service: Main process exited, code=exited, status=6/NOTCONFIGURED
systemd[1]: otbr-agent.service: Failed with result 'exit-code'.
systemd[1]: otbr-agent.service: Scheduled restart job, restart counter is at 677.
systemd[1]: Stopped OpenThread Border Router Agent.
systemd[1]: Starting OpenThread Border Router Agent...
systemd[1]: Started OpenThread Border Router Agent.
otbr-agent: [NOTE]-AGENT---: Backbone interface: enp1s0

Would you like me to make specific changes to communicate over USB for the dongle?

is there any ready example for an open thread RCP Image present for k32w?

Upgarde the Openthread Version of REED K32W End device

Hi,

We used a hybrid REED device example of NXP SDK version 2.6.4 to develop one custom application. Now we want an upgrade the REED End device's Openthread version from 1.1 to 1.3.

If we use SDK v2.6.9, then we fulfill this requirement? Or is there any other way to upgrade Opthread version?

How to check the Openthred version in SDK?

Can anyone help me to understand this?

the PACKAGE_VERSION is not updated

The output of the 'version' cli command contains the PACKAGE_VERSION. The PACKAGE_VERSION should be updated to the commit id of the code that was used for compilation but this doesn't happen. I investigated the build system files and the default openthread version is taken from the file ./openthread/.default-version.

What is the correct path for populating the PACKAGE_VERSION?

version
OPENTHREAD/0.01.00; K32W061; Jun 9 2021 02:40:31

@jwhui

Test harnes Leader 9.2.6 fail

Problem

Running on NXP K32W061 board.
Test harness Leader 9.2.6 fail at step :
Check if Data Response packet has Security
Policy TLV in Active Operational Dataset : Security
Policy sub TLV not present

See attached logs
Fail_OT_NXP_9_2_6_Leader_v54.4_2022_05_06-10_51_02.zip

After doing the bisection :
It starts failing with :
f68cedc102

This open thread submodule update correspond to one change in the open thread stack :
openthread/openthread@a8b4fbb1893823e1c247ee1cc

Toolchain Installation

Is it possible to ask a question here? I receive an error when running ./script/bootstrap

++ dirname ./script/bootstrap

  • ./script/../openthread/script/bootstrap
    ./script/bootstrap: line 32: ./script/../openthread/script/bootstrap: No such file or directory

I have cloned everything and looked at the bootstrap but am not able to figure out what is going on. I know this was commit 2 years ago so it must work.
If I should not ask this question (i did submit a support ticket) please let me know and you will not hear from me again. Thank yuou.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.