Firstly , we design the circuit of embedded residential gateway hardware platform based on embedded microprocessor , including series port circuit module ( for communication within residential network ) , network interface module ( for communication with internet ) and memory module , etc .