Replies: 3 comments 17 replies
-
What is your full build command? |
Beta Was this translation helpful? Give feedback.
14 replies
-
If you try to build it for sam_e70_xplained you will get same error, but only if you enable serial, without enabling serial you can build it
…Sent from my Galaxy
-------- Original message --------
From: Dominik Ermel ***@***.***>
Date: 6/2/22 12:11 (GMT+01:00)
To: zephyrproject-rtos/zephyr ***@***.***>
Cc: CEmir10 ***@***.***>, Author ***@***.***>
Subject: Re: [zephyrproject-rtos/zephyr] NMP timeout when i am using any mcumgr command (Discussion #46003)
Now it works for me with nrf42840
What was the problem?
__device_dts_ord_DT_CHOSEN_zephyr_uart_mcumgr_ORD
Seems you do not have the zephyr,uart-mcumgr = &<uart label> in you DTS. Look at the boards/arm/nrf52840dk_nrf52840/nrf52840dk_nrf52840.dts
—
Reply to this email directly, view it on GitHub<#46003 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ARBSPZPDIRJQWZ3IHFCVA7DVNCCFZANCNFSM5W4QHNBQ>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
1 reply
-
On my board atsame70j19 i have only uart0, i can use it as console, but as i said if i MCU_BOOT_SERIAL=y and try to build it i jave an error
…Sent from my Galaxy
-------- Original message --------
From: Dominik Ermel ***@***.***>
Date: 6/2/22 12:45 (GMT+01:00)
To: zephyrproject-rtos/zephyr ***@***.***>
Cc: CEmir10 ***@***.***>, Author ***@***.***>
Subject: Re: [zephyrproject-rtos/zephyr] NMP timeout when i am using any mcumgr command (Discussion #46003)
I have looked at the boards/arm/sam_e70_xplained/sam_e70_xplained-common.dtsi and it seems that only usart1 is available (defined) as uart device, are you selecting the right device with the "chosen" thing?
—
Reply to this email directly, view it on GitHub<#46003 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ARBSPZNBPNTK5RL3JHK67RLVNCGEPANCNFSM5W4QHNBQ>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I followed all the instructions from https://docs.zephyrproject.org/2.6.0/samples/subsys/mgmt/mcumgr/smp_svr/README.html. Every time i try to use mcumgr command with nrf52840dk_nrf52840 I am getting nmp timeout error, even in case i msddisable and use -t <timeot.
crem@CHVL0365u:~/zephyrproject/zephyr/samples/subsys/mgmt/mcumgr/smp_svr$ mcumgr --conntype serial --connstring "/dev/ttyACM0,baud=115200" echo hello
Error: NMP timeout
crem@CHVL0365u:
/zephyrproject/zephyr/samples/subsys/mgmt/mcumgr/smp_svr$ hello/zephyrproject/zephyr/samples/subsys/mgmt/mcumgr/smp_svr$ mcumgr --conntype serial --connstring "/dev/ttyACM0,baud=115200" image listHello, world!
crem@CHVL0365u:
Error: NMP timeout
crem@CHVL0365u:
/zephyrproject/zephyr/samples/subsys/mgmt/mcumgr/smp_svr$ mcumgr -t 30 --conntype serial --connstring "/dev/ttyACM0,baud=115200" image list/zephyrproject/zephyr/samples/subsys/mgmt/mcumgr/smp_svr$ mcumgr -t 30 -r 4 --conntype serial --connstring "/dev/ttyACM0,baud=115200" image listError: NMP timeout
crem@CHVL0365u:
Error: NMP timeout
crem@CHVL0365u:
/zephyrproject/zephyr/samples/subsys/mgmt/mcumgr/smp_svr$ mcumgr -r 4 --conntype serial --connstring "/dev/ttyACM0,baud=115200" image list/zephyrproject/zephyr/samples/subsys/mgmt/mcumgr/smp_svr$ mcumgr --conntype serial --connstring "/dev/ttyACM0,baud=115200" echo helloError: NMP timeout
crem@CHVL0365u:
Error: NMP timeout
crem@CHVL0365u:
/zephyrproject/zephyr/samples/subsys/mgmt/mcumgr/smp_svr$ mcumgr --conntype serial --connstring "/dev/ttyACM0,baud=9600" echo hello/zephyrproject/zephyr/samples/subsys/mgmt/mcumgr/smp_svr$ mcumgr --conntype serial --connstring "/dev/ttyACM0,baud=9600" echo helloError: NMP timeout
crem@CHVL0365u:
Error: NMP timeout
Beta Was this translation helpful? Give feedback.
All reactions