using interrupt ethernet IRQ

HI,

I want to use interrupt ethernet_IRQ provided by keil. In the routine, memory was allocated, where is it being
freed?

How do I access the received ethernet data? Is the data which is "put in queue" in the FIFO or RAM?

Pls help.

Thanks
vivek

Parents
  • most of your questions can be answered by actually spending some time studying how the code works. about the memory issue: many embedded system don't bother to free memory if it was allocated as part of startup procedure. it is allocated as one large chunk (of many smaller ones) and never released (until power down) because:
    1) it is needed anyway
    2) to prevent memory fragmentation
    3) it is time consuming to allocate and free memory
    4) ...

Reply
  • most of your questions can be answered by actually spending some time studying how the code works. about the memory issue: many embedded system don't bother to free memory if it was allocated as part of startup procedure. it is allocated as one large chunk (of many smaller ones) and never released (until power down) because:
    1) it is needed anyway
    2) to prevent memory fragmentation
    3) it is time consuming to allocate and free memory
    4) ...

Children
More questions in this forum