mikemd23 wrote on Thursday, March 01, 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, , #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