C/C++ Source code

The first parameter for IP_NI_LPC17xx_ConfigAddr() is the base address of the EMAC, but the second just points to the start of AHB-RAM.
So I guess the function uses/reserves space in AHB-RAM. But how much space? So I can spare out the area in my linker script.

One Tx buffer set consists of an 8 byte descriptor, 4 byte status and 1536 byte buffer for the packet itself.
One Rx buffer set consists of an 8 byte descriptor, 8 byte status and 1536 byte buffer for the packet itself.

This results in a total of 12400 byte that is used from the start of the configured Ethernet RAM.