Hi Mario
i try to get the standard OBTR docker image working with the NXP JN5189 & K32w061 dongles.
On Ubuntu 20.04,
- I installed the MCUXpresso IDE,
- did a git clone of nxp-ot,
- unpacked the JN5189 & K32w061 SDK
The i executed the fix mr3 scripts, & export SDK and launched the build.
The ot-rcp.bin that gets build can be flashed with the NXP flasher (on windows) but is not recognized in OBTR and does not allow serial communication (which the FTD and MTD do allow).
On the other hand, if I flash the precompiled ot-rcp.bin image from the SDK, the docker OBTR does recognize the RCP but fails on API version 1, where it expects version 4-5.
(SDK/middleware/wireless/openthread/openthread/output/[JN5189 & K32w061]/bin/ot-rcp.bin )
Nov 30 14:18:04 a3b77834369d otbr-agent[215]: [INFO]-UTILS---: Radio URL: spinel+hdlc+uart:///dev/ttyUSB0
Nov 30 14:18:04 a3b77834369d otbr-agent[215]: 49d.17:56:00.381 [INFO]-PLAT----: RCP reset: RESET_SOFTWARE
Nov 30 14:18:04 a3b77834369d otbr-agent[215]: 49d.17:56:00.445 [NOTE]-PLAT----: RCP API Version: 1
Nov 30 14:18:04 a3b77834369d otbr-agent[215]: 49d.17:56:00.445 [CRIT]-PLAT----: RCP API Version 1 is not in the supported range [4-5]
Nov 30 14:18:04 a3b77834369d otbr-agent[215]: 49d.17:56:00.445 [CRIT]-PLAT----: CheckRcpApiVersion() at ../../third_party/openthread/repo/src/lib/spinel/radio_spinel_impl.hpp:413: RadioSpinelIncompatible
So I would like to have a ot-rcp.bin (preferably build with the IDE) that works with the current official docker image (OT 1.2 only) on a Raspberry Pi4.
The ancient Ubuntu 18.04 based docker image that is referenced in the manual, is not usable.
So any help is appreciated to have an up-to-date functional ot-rcp solution.
If you need any logs, just tell me which command to execute.
Jan K