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

[lpc2368 telned] How to add telnetd

Posted by mike_md23 on March 1, 2012
Dear All,

I am new in the FreeRtos and uip stack domain. I have successfully built the demo
project (ARM7_LPC2368_Eclipse) for
LPC2368 under Eclipse (indigo) + Yogarto (gcc2.6.0) + openocd-0.5.0.

I have had problems to run the demo project compiled with Sourcery gcc cross
development toolchain (gcc 2.6.1) and
yogarto (gcc 2.6.2). The Demo project compiles with whatever development
toolchain but it does not run. It only runs if I have compiled it with
yogarto (gcc2.6.0).

The place were it fails is the boot.s file:

.set_loop:
ldrb r4, [r2], #1 -> jump
|
\|/
|
ldr pc, _dabt /* data abort - _dabt */
-> jump
|
\|/
|
__dabt: b . /* data abort */

Does anybody know the reason for that?

My second question is about the telnetd daemon. I have tried to place the
existing code of the telnetd
from FreeRTOSV7.1.0\Demo\uIP_Demo_IAR_ARM7\uip:
ie. files: telnetd.c, telnetd.h, telnetd-shell.c, memb.c, memb.h

to the directory:

FreeRTOSV7.1.0\Demo\ARM7_LPC2368_Eclipse\RTOSDemo\webserver

I have placed in the uip_Task.c just after httpd_init() the telnetd_init()
.

the code (with few modifications) compiles but when I run it and connect
with telnet I get the connection but it is closed automatically after few
seconds.

I have seen few posts on this mailing list about porting the telnetd to the
webserver project but I did not find the actual code for that. I would be
grateful for some indication where to find the proper implementation of
telnetd (for FreeRTOS) for uip stack or maybe even FreeTCPIP?

Best Regards

md23

RE: [lpc2368 telned] How to add telnetd

Posted by Richard on March 1, 2012
Did you use the same start up file (crt.o, or whatever) and linker script with all the different compiler versions? This demo is quite old so it will have been originally tested with an older version of Yagarto.

regards.

RE: [lpc2368 telned] How to add telnetd

Posted by mike_md23 on March 2, 2012
I have used the original project from FREERTOS Demo (ARM7_LPC2368_Eclipse). I have just hanged the compiler name to arm-none-eabi-gcc since the older name (prefix has changed). The original project has the assembler file called boot.s with some preliminary setup. This is actually the place where the whole system fails when compiled and linked with (gcc 4.6.1 onwards). Yogarto gcc 4.6.0 looks still fine.

RE: [lpc2368 telned] How to add telnetd

Posted by Richard on March 2, 2012
Maybe the Yagarto people would have an explanation?

regards.

RE: [lpc2368 telned] How to add telnetd

Posted by mike_md23 on March 2, 2012
I have installed Yogartu (gcc 4.6.0) on another computer with windows XP and compilation is successful but the executable (elf file) when loaded to my LPC2368 fails exactly the same way as described in my first post? Does some environmental variable influence FreeRtos demo project during compilation and linkage?

Best Regards

md23


[ 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