Re: Using Echo_Server/Client samples with Openthread on Renode #networking


Lubos, Robert
 

Hi Brenton,

 

Unfortunately I don’t have experience with that platform, but such an error could indicate some problem with the underlying settings backend. By default we enable NVS settings for OpenThread, which requires some flash storage on a platform, is the flash subsystem functional on the Redone? Does otPlatSettingsInit() call succeed? It should print an error in case settings subsystem initialization fails.

 

As an alternative for testing, I think an option would be to disable `CONFIG_FLASH` and use an RAM storage for settings (`CONFIG_OPENTHREAD_SETTINGS_RAM`).

 

Regards,

Robert

 

From: users@... <users@...> On Behalf Of Brenton Chetty via lists.zephyrproject.org
Sent: czwartek, 18 sierpnia 2022 18:09
To: users@...
Subject: [Zephyr-users] Using Echo_Server/Client samples with Openthread on Renode #networking

 

Hi, I have recently started experimenting with Renode, and when I run the "echo_server" sample with "overlay-ot.conf", I get the following errors:
"<err> net_otPlat_settings: Failed to store setting 1, ret -2"

"<err> net_otPlat_settings: Failed to store setting 3, ret -2" (this error repeatedly)

Does anyone know what's the cause of this error? Any advice would be truly appreciated, as I am not sure whether the issue is with a Zephyr config or with the Renode platform.

With thanks
Brenton

Join {users@lists.zephyrproject.org to automatically receive all group messages.