Using TcpUpdate
-
- Posts: 622
- Joined: Mon May 12, 2008 10:55 am
Using TcpUpdate
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
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...
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...
-
- Posts: 622
- Joined: Mon May 12, 2008 10:55 am
Re: Using TcpUpdate
That was the problem. Works great now.
Thanks.
Thanks.