Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Real time embedded FreeRTOS mailing list 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem TCP & FAT Training




Loading

bind telnet ffail

Posted by vincent on July 20, 2012
hi :

I delete telnet task, then create new telnet task successfully, but hyperterm can't connect the new telnet task.
it seems that Freertos can't release all resource used by telnet task,
anyone know how to sovle ?

vincent

RE: bind telnet ffail

Posted by Richard on July 20, 2012
If you delete a task, any resources allocated to the task by the kernel when the task was created will be released by the kernel (namely the task stack and TCB). If the application has taken any other resources (more memory, a semaphore, a mutex, or whatever) then these will not be automatically released - if the application code takes resources then the application code needs to return them and tasks should not be deleted until that has been done.

Regards.

RE: bind telnet ffail

Posted by vincent on July 21, 2012
if telnet task running, I call vtasklist to know following
ENLOGIC>rd listtask
E000
Name State Priority Stack Num
---------------------------------------------
COM R 4 404 7
SENSOR R 3 50 5
IDLE R 0 106 12
ETH_IF B 7 224 1
OLED B 3 98 6
DHCPDOG B 4 179 2
TCPIP B 6 151 0
TELNET B 4 432 9
HTTP B 6 430 11

I delete the task, and create new telnet ,and call vtask list to know

ENLOGIC>rd listtask
E000
Name State Priority Stack Num
---------------------------------------------
COM R 4 398 7
IDLE R 0 106 12
SENSOR B 3 50 5
ETH_IF B 7 216 1
TCPIP B 6 151 0
DHCPDOG B 4 179 2
OLED B 3 98 6
HTTP B 6 430 11
TELNET B 4 176 18

the TELNET number is from 9 to 18, what's the number meaning ? isnot its resource released by freertos ?

vincent

RE: bind telnet ffail

Posted by Richard on July 21, 2012
The number is a unique number that is allocated to each task so you can tell apart different tasks that have the same name. The fact the number has changed means that the old task called TELNET is no longer running, and that a new task is now running which is also called TELNET.

Regards.


[ Back to the top ]    [ About FreeRTOS ]    [ Sitemap ]    [ ]




Copyright (C) 2004-2010 Richard Barry. Copyright (C) 2010-2016 Real Time Engineers Ltd.
Any and all data, files, source code, html content and documentation included in the FreeRTOSTM distribution or available on this site are the exclusive property of Real Time Engineers Ltd.. See the files license.txt (included in the distribution) and this copyright notice for more information. FreeRTOSTM and FreeRTOS.orgTM are trade marks of Real Time Engineers Ltd.

Latest News:

FreeRTOS V9.0.0 is now available for download.


Free TCP/IP and file system demos for the RTOS


Sponsored Links

⇓ Now With No Code Size Limit! ⇓
⇑ Free Download Without Registering ⇑


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Renesas Electronics Gold Alliance RTOS Partner.jpg

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Atmel RTOS partner supporting ARM Cortex-M3 and AVR32 microcontrollers

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Xilinx Microblaze and Zynq partner

Silicon Labs low power RTOS partner

Altera RTOS partner for Nios II and Cortex-A9 SoC

Freescale Alliance RTOS Member supporting ARM and ColdFire microcontrollers

Infineon ARM Cortex-M microcontrollers

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

Cypress RTOS partner supporting ARM Cortex-M3

Fujitsu RTOS partner supporting ARM Cortex-M3 and FM3

Microsemi (previously Actel) RTOS partner supporting ARM Cortex-M3

Atollic Partner

IAR Partner

Keil ARM Partner

Embedded Artists