Using TcpUpdate

Discussion to talk about software related topics only.
Post Reply
SeeCwriter
Posts: 606
Joined: Mon May 12, 2008 10:55 am

Using TcpUpdate

Post 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?
User avatar
pbreed
Posts: 1080
Joined: Thu Apr 24, 2008 3:58 pm

Re: Using TcpUpdate

Post 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...
SeeCwriter
Posts: 606
Joined: Mon May 12, 2008 10:55 am

Re: Using TcpUpdate

Post by SeeCwriter »

That was the problem. Works great now.

Thanks.
Post Reply