01.06.2013 Views

IPC@CHIP Documentation - SC12 @CHIP-RTOS V1.10

IPC@CHIP Documentation - SC12 @CHIP-RTOS V1.10

IPC@CHIP Documentation - SC12 @CHIP-RTOS V1.10

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Comments<br />

Top of list<br />

Index page<br />

task 2886 count 100 DOS1 prio= 25 stack=128 used=78% state=81<br />

task 3142 count 157 DOS2 prio= 25 stack=128 used=78% state=81<br />

task 1862 count 24 CFGS prio= 7 stack=1400 used=28% state=4<br />

At every one millisecond clock tick, the count for the active task is increased by one. After 10 seconds,<br />

the counters are copied and reset to zero.<br />

At the first call of TASKS, the timer interrupt routine of the <strong>RTOS</strong> is exchanged by a version for the task<br />

monitor. Only after 10 seconds will the TASKS command return usable results.<br />

The command shows for DOS applications only a task stack size of 128 Byte,<br />

since the DOS program at run time switches to its own internal stack which is<br />

is not visible to the Kernel.<br />

A maximum of 35 tasks can by monitored.<br />

Please be aware that using TASKS has a performance penalty. Use UTASKS command to<br />

shut off the task monitoring.<br />

The listed task state is only a one moment snapshot. The task state bit field is a 16 bit hexadecimal<br />

value defined as follows:<br />

Bit0 timer wait (used with other bits)<br />

Bit1 trigger wait (i.e. idle)<br />

Bit2 semaphore wait<br />

Bit3 event group wait<br />

Bit4 message exchange wait<br />

Bit5 message send wait<br />

Bit6 suspended (waiting for resume)<br />

Bit7 waiting for wake<br />

Bit8-15 internal use only<br />

Current running system tasks (if not disabled in chip.ini)<br />

Very high priority:<br />

AMXK prio= 00 Kernel task<br />

ETH0 prio= 05 Ethernet receiver task<br />

Normal:<br />

PPPS prio= 06 PPP server<br />

TCPT prio= 06 TCP/IP timer task<br />

CFGS prio= 07 UDP config server<br />

TELN prio= 11 Telnet server<br />

MTSK prio= 12 Console task (command shell)<br />

Low priority:<br />

WEBS prio= 41 Web server<br />

FTPS prio= 41 FTP server<br />

UTASKS<br />

Disables the Task Monitor.<br />

Disables the Task Monitor which was installed using TASKS command.<br />

Page 31 / 400

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!