This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Ethernet in RM48 HDK

Other Parts Discussed in Thread: HALCOGEN, RM48L952

Hello,

What I am trying to do is an ethernet communication without any TCP IP. More on the lines of 
I tried making it on the same lines as 
I am attaching a link to what I have done. This is running but, I am not sure how to send any data I want. And where I can acess the data that is sent. How to see it on the terminal.
I have attached both the halcogen ad ccs v5 project kindly advise me as to what i can do to view and verify the data being sent.
Hoping to hear from you soon,
Thank you,
Agraj
  • Can you accept a reduced version of TCP/IP? such as LwIP?

    Otherwise, you have to define those OSI protocols.

    Regards,

    Haixiao

  • Hello Haixiao,

    Thank you for your reply. Yes actually anything will do. I did see this:

    http://processors.wiki.ti.com/index.php/HALCoGen_Ethernet_Driver_and_lwIP_Integration_Demonstration

    And have already modified it to use static ip because i do not want to use a switch.

    But I do not want HTML pages. I am just trying to write a function for receive and transmit micro controller generated numbers. Not pages. It is eventually for communicating between 2 processors directly. So I wanted to go in for EMAC. 

    Can i send simple data without HTML pages on lwip. How should i modify it for that. I am trying to build from scratch on HalCoGen 03.06.00, not just modify the demo example as it needs to be light. and i don't need so much options such as DHCP, auto ip etc. 

    Thank you,

    Agraj

  • The simplest thing is to modify the loopback code since you only have two processors. One receive, one send. You define the data format yourself.

    If you want to adopt the LwIP, you need to change the application level. In the example, we define the application level in httpd_io.c, setting up the call back functions about what ocurrs when you receive a data, a error, and which function is used to send the data out. So, you change adopt all the data link layer, TCP/IP layer, but change this application layer from http to whatever you want. You need to change on both receive and transmit side.

    Regards,

    Haixiao

  • Thank you for the reply. 

    What I am trying to do is communicate a bunch of numbers through Ethernet between RM48L952 pge micro controller and LM4F micro controller through a LAN8720ai transceiver. I am doing the RM48L952 PGE first i.e. from RM48 to computer. Do you have any code for this as I don't know if it can be done using solely HalCoGen functions. 

    Thank you,

    Agraj