You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2019/12/11 13:16:28 UTC

[GitHub] [mynewt-mcumgr] de-nordic edited a comment on issue #46: Zephyr support

de-nordic edited a comment on issue #46: Zephyr support
URL: https://github.com/apache/mynewt-mcumgr/pull/46#issuecomment-564530796
 
 
   OK. So I have tested following branches mcumgr_changes@zephyr  and run_zephyr@modules/lib/mcumgr. No rebasing done.
   
   SMP over shell, but no terminal connected to the shell, from  PC, at the same time when MCUMGR is running on the PC.
   
   Using script:
   `$$ UART=/dev/ttyACM0; BAUD=57600; while [ ! -e ~/tmp/mcumgr_stop ]; do time sudo ~/go/bin/mcumgr -t 1200 --conntype serial --connstring dev=$UART,baud=$BAUD image upload ~/nordic-src/ncs/nrf52840_pca10056/Disco.bin; if [ $? -ne 0 ]; then echo "Error"; fi;  sudo ~/go/bin/mcumgr -t 1200 --conntype serial --connstring dev=$UART,baud=$BAUD image list; done`
   
   I have counted errors or total stoppages. 
   
   In case when using board USB serial (/dev/ttyACM0) I have faced some timeouts on binary every few (3-4) transfers with baud=115200; after modifying DTS file to use 57600 speed (and MCUMGR)  have 100% success ratio in transfers for about 20 transfers before disconnecting.
   
   When I have connected directly to Tx/Rx of IC, bypassing the USB interface on board, both baud rates have me 100% success ratio in transmission for about 30 minutes (~60 transfers).
   
   I have not seen regression in transfer success rate.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services