<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>using interrupt ethernet IRQ</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/23960/using-interrupt-ethernet-irq</link><description> 
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
&amp;quot;put in queue&amp;quot; in the FIFO or RAM? 

 
Pls help. 

 </description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: using interrupt ethernet IRQ</title><link>https://community.arm.com/thread/76722?ContentTypeID=1</link><pubDate>Fri, 26 Sep 2008 00:17:22 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:9a192313-5693-439e-825a-5d459cc47030</guid><dc:creator>VIVEK Gopalakrishnan</dc:creator><description>&lt;p&gt;&lt;p&gt;
Thanks Tamir.&lt;/p&gt;

&lt;p&gt;
But when i put a break point next to the place where the code
allocates memory, i could observe that the pointer was NULL. Also the
alloc_mem is called for each frame.&lt;/p&gt;

&lt;p&gt;
My question is, Is freeing taken care already or should i free it
myself. If alloc_mem calls &amp;quot;realloc&amp;quot; instead, then i think i would
have sufficient memory in my heap.&lt;/p&gt;

&lt;p&gt;
Thats why i get the feel that i should free it. I couldnt find
this in the code documentation.&lt;/p&gt;

&lt;p&gt;
How do i access the data after it has been put in the queue in
case memory is freed already?&lt;/p&gt;

&lt;p&gt;
Thanks for your prompt reply&lt;/p&gt;

&lt;p&gt;
-vivek&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: using interrupt ethernet IRQ</title><link>https://community.arm.com/thread/52523?ContentTypeID=1</link><pubDate>Thu, 25 Sep 2008 23:55:07 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:c41a3ba0-02fc-4ed8-a1a0-4dc444c05038</guid><dc:creator>Catcus Blip</dc:creator><description>&lt;p&gt;&lt;p&gt;
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&amp;#39;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:&lt;br /&gt;
1) it is needed anyway&lt;br /&gt;
2) to prevent memory fragmentation&lt;br /&gt;
3) it is time consuming to allocate and free memory&lt;br /&gt;
4) ...&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>