How to debug 4.10.99 network stack?

Emeric Vigier emeric.vigier at algolux.com
Tue Jul 19 19:39:55 UTC 2016


On Tue, Jul 19, 2016 at 2:58 PM, Ankit Deshmukh
<ankitdeshmukh89 at gmail.com> wrote:
>
> Type Debug and send it to 8008.It should work.

Hi Ankit,

Can you be more explicit?
Where do you type that? As a build command? In the UART console?
What is 8008? a socket port?

Emeric

>
>
> On Jul 19, 2016 1:45 PM, "Emeric Vigier" <emeric.vigier at algolux.com> wrote:
>>
>> Hi,
>>
>> I run RTEMS-4.10.99 on a custom Leon board. I transfer data over ethernet (stream socket). My board can receive packets successfully (RX) but stalls sending packets (TX). I'd like to debug that issue, but have limited experience debugging network stack. Switching to 4.11 is not an option as it involves too much code to port. I have a JTAG and can break into RTEMS code. I read https://docs.rtems.org/doc-current/share/rtems/html/networking/Debug-Output.html#Debug-Output but didn't find any printf in mbuf.h nor if.h.
>>
>> How can I enable debugging in 4.10.99 network stack?
>> Where can I find the 4.11 network stack doc?
>>
>> thanks,
>> --
>> Emeric
>> @Algolux


More information about the users mailing list