Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
11 years ago

Ethernet alt_iniche_init()

Hi,

I am trying to get a tse_mac driver to work without using interniche stack and without using uCosII.

I found one example that uses ins_tse_mac.c and strips out the Stack and OS. Anyone do this already? I basically want to monitor the incoming ethernet traffic from a camera and dump the data to console or file.

It seems that with the simple socket server design iniche_init.c contains main() and SSInitialTask(). SSInitialTask() calls alt_iniche_init() and netmain(). I understand that alt_iniche_init() calls ins_tse_mac.c.

Where is alt_iniche_init() located? and what does it pass to ins_tse_mac.c?

Thanks.

2 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Tip: You can use the Search menu in Eclipse to answer questions like this.

    alt_iniche_init() is located in targnios.c and it looks like it doesn't call any function in ins_tse_mac.c but I might be wrong.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    Tip: You can use the Search menu in Eclipse to answer questions like this.

    alt_iniche_init() is located in targnios.c and it looks like it doesn't call any function in ins_tse_mac.c but I might be wrong.

    --- Quote End ---

    Thanks for the reply, That is a useful search tool.