Hi,
I'm trying the RL-ARM tcp/ip stack on a arm7 LPC2368 from ETT (futurlec). I succeed setting up a TCP listen socket with the EasyWeb API. But when I try to use the TCP stack from RL-ARM 4.12 I don't succeed.
When the controller goes online, it send one packet (ARP notify) and it is filled with 'U' (55) the whole frame/packet, 1392 bytes long.
If I try to setup a TCP connection from my controller to the PC. several packets as described above appear.
Any idea?
Kind Regards.
I have added this files to one Group:
.\main.c (code above) .\LPC2300.s (uVision added this file) C:\Keil\ARM\RL\TCPnet\Drivers\LPC23_EMAC.c C:\Keil\ARM\RV31\LIB\TCP_ARM_L.lib C:\Keil\ARM\RL\TCPnet\SRC\Net_Config.c
And I used the default compiler options. Check output create Hex, and use that Hex to flash with flashmagic.
Add heap memory - at least 0x400 bytes.
I have set: Heap_Size EQU 0x00000400 also: Heap_Size EQU 0x00000800
Still the same.
I don't think TCPnet requires any heap (as specified in the startup) for 'basic' operation. The Keil example that I originally ran had it set for zero (and the current version of that demo still does).
It does, however, require a memory pool to operate. This is specified in Net_Config.C, which will be included in your project. You should check it's value.
In Net_Config.c That should be the default 8K -> #define MEM_SIZE 2000 ( * 4 = the default setting -> 8000 bytes )
Sorry, my bad - I now see you mentioned that before.
"When the controller goes online, it send one packet (ARP notify) and it is filled with 'U' (55) the whole frame/packet, 1392 bytes long."
I'm confused about that one though. Are you saying that the packet is being sent from your board is completely filled with 'U'? or does it have the ARP message but is padded with 'U'? or something else?
View all questions in Keil forum