Page 1 of 1

Using TcpUpdate

Posted: Thu Nov 30, 2017 12:14 pm
by SeeCwriter
I added StartTcpUpdate to my application (NNDK v2.8.5, MOD5441X), and tried to reprogram the module with it, but the module never responds to the connection request. The PC and the module are on the same sub-net. I checked the return value from StartTcpUpdate and it's 40. That value is coming from OSTaskCreatewName(), but the OS manual doesn't say what the possible return values are. Is that value meaningful, and is there anything else I should be doing?

Re: Using TcpUpdate

Posted: Thu Nov 30, 2017 12:35 pm
by pbreed
look in ucos.h

40 is OS_PRIO_EXIST

so tc[pupdate tries to start a task at priority...

so whatever priority you are passing in is already in use...

Re: Using TcpUpdate

Posted: Thu Nov 30, 2017 1:40 pm
by SeeCwriter
That was the problem. Works great now.

Thanks.