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.

use evm6678le as a isp

Other Parts Discussed in Thread: OMAPL138, TMS320C6678

Hey,

As the topic says i want the use my evm6678le as a isp for sniffing the hole traffic in my network. i searched and read a lot in this forum but found nothing that solve my problem. 

My biggest problem actually is that other PC can see the traffic of my board (i use a hub and the emacExample) but i can't receive traffic.  I don't know what i have to do i hope you can help me.

Kind regards

Noe Thalheim

  • Noe,

    Not being an expert on 802.3, I do not know what ISP means in this context. But I do know what a sniffer is.

    Our NDK was written to support normal Ethernet traffic, so you may not have much success by just using what we supply. It makes sense to me that if the bus traffic is coming to the EMAC pins then the peripheral can probably capture it. But that is not something that I expect TI to support in terms of supplying software drivers.

    If you would like to get a more informed opinion, I could put in a request to move this thread to the BIOS Forum under Embedded Software. That is where the NDK experts would be. Just let me know. Otherwise you can wait for someone else on this forum who knows more about it than I do.

    Regards,
    RandyP

  • Hey Randy,

    Thanks for your answer, i wasn't quite sure which is the right forum to post my question. 

    Regards,

    Noe Thalheim

  • Hi Noe,

    What version of the NDK are you using? What version of BIOS also.

    I want to make sure I have your question correct...For the evm6678, you want to receive all the traffic (UDP, TCP, ICMP, etc.) on the network (regardless of MAC address) in your application...correct?

    Todd

  • Hey Todd,

    nkd_2_21_00_32 and bios_6_33_04_39.

    yes this is exactly what i want. 

    Noe

  • Noe,

    It sounds like what you want is promiscuous mode.  I remember a customer a while back (year or so ago) was doing this for the C674x.  It's all tracked in a forum thread, please check that out:

    http://e2e.ti.com/support/embedded/bios/f/355/t/106536.aspx#387782

    Steve

  • Steve, 

    Thank you for the link it gave me exactly the info I needed. But on my system i can't find a file called "ethdriver.c" and when i want compile the "nimu_eth_evmc6678l" project it doesn't has a output file (like nimu.out)   

    Noe

    edit:

    in the properties for the "nimu_eth_evmc6678l" project i saw that there is a archive output sorry for that question. Other queston tdoes this solution also work with a 6678 board because the pdf is for TMS320C674x/OMAP-L1x. 

  • Noe,

    Yes, you are correct, that customer was working on the evm6748 (OMAPL138) hardware so that guide may not apply to you.

    I googled around for a similar guide for the evm6678le EMAC but didn't have much luck.  I'm going to ask that the MCSDK team help you with getting the driver into promiscuous mode (and for any documentation on that).

    Steve

  • Noe,

    Here's the response from the MCSDK team:

    "Customer can download portfolio from below link for this device:

    http://www.ti.com/product/tms320c6678

     that portfolio has the user’s guide for Ethernet Switch sub-system which should be able to answer the question of promiscuous mode."

    Steve

  • Hey Steve,

    Can you please help me where in this document is something about the way i can put my board in the promiscuous mode. The only things i found was about frame statistic, pleas correct me if i'm wrong. 


    Noe

  • Noe,

    I think this may be the information that you're looking for:

    Steve

  • Steven, 

    Just one question is this also for the TMS320C6678? 

    Noe

  • Noe,

    Yes, as far as I was informed this is the correct document. However, I can double check for you.

    Was there a problem that you've hit with it?  Or are you just unsure because the title says "6655/57"?

    Steve

  • Steve, 

    Yes I was unsure because of the title. How can i change the bit value at this hex address?

    Sorry if this question is stupid but i haven't done something before. 

    Noe

  • Noe,

    The C6678 and C6657 have different Ethernet modules. You will need to refer to the documents for the Gigabit Ethernet (GbE) Switch Subsystem and the Network Co-Processor module.

    Since the word "promiscuous" shows up in the GbE User's Guide only in reference to status bits, it is not supported the same way as the previous devices. It is not mentioned in the MCSDK documents or source files for the C6678 GbE use, so I doubt that our drivers were written to support that mode.

    Perhaps someone from the driver team will join the conversation to say that there is support available, but my recommendation is to study these two documents (GbE and NetCP) to learn in detail how they operate and figure out how to write this feature in a driver yourself. In other words I do not expect you to find support in our drivers since this is not a normal communication operation that is needed for most use of the peripheral.

    The device may be capable, and if your studies bring you to have specific questions about logic in the GbE or NetCP modules, please ask those in the device forum.

    You may also want to review some of the training material available. In the Training section of TI.com, there is a training video set for the C66x SOC architecture. It may be helpful for you to review all of the modules. There is a training video on the NetCP, but I did not notice one for the GbE. You can find the complete video set here.

    Regards,
    RandyP