Re: Config & FS command not working on newtmgr

2017-05-02 Thread Christopher Collins
On Sat, Apr 29, 2017 at 01:41:55AM +, Lm Chew wrote: > Hi Chris, > > > Ops... i did missed the FS_NMGR config, thanks. > > > Now the FS command works for download. > > > When i try to upload the same file back it just got stuck at "Reading from > data channel" as shown in the log below.

Re: Config & FS command not working on newtmgr

2017-04-28 Thread Christopher Collins
Hi Lm, The device is reporting a newtmgr error of 5, which corresponds to MGMT_ERR_ENOENT (Yes, we need better error reporting!). This means the device doesn't recognize the newtmgr command you sent it. Did you enable file system newtmgr support? The syscfg setting "FS_NMGR" has to be set to

Config & FS command not working on newtmgr

2017-04-28 Thread Lm Chew
Hi, 1. When i try to download a file i created on the device, i get the following error when newtmgr crashes: newtmgr -c myserial fs download /cfg/test.txt test.txt -ldebug 2017/04/29 00:32:58 [DEBUG] Writing newtmgr request &{Op:0 Flags:0 Len:25 Group:8 Seq:0