Skip to main content
  • 产品
  • Evaluate our Software
  • 下载
  • Free Utilities
  • 购买
  • 支持
  • 关于我们
  • Search
    • Contact Us
    • Forum
    • Knowledge Base
    • Newsletter
    • RSS
  •   工作机会
  •   视频
  •   永续性
  • emNet
  • PPP/PPPoE
  • Technology
  • Add-Ons
  • Tools

PPP/PPPoE

The emNet PPP implementation is an optional extension which can be seamlessly integrated into your TCP/IP application. It combines a maximum of performance with a small memory footprint. The PPP implementation allows an embedded system to connect via Point to Point Protocol to a network.

Contact us
Downloads
Documentation
SEGGER emNet
  1. 1.Overview
    1. 1.1.Key features
  2. 2.Requirements
  3. 3.Relevant parts
  4. 4.PPP Resource Usage
  5. 5.PPPoE Resource Usage

Overview

The Point to Point Protocol is a link layer protocol for establishing a direct connection between two network nodes.

Using PPP, an emNet application can establish a PPP connection to a PPP server. The handshaking mechanism includes normally an authentication process. The current version of emNet supports the the following authentication schemes:

  • PAP - Password Authentication Protocol
Application layer

Application layer protocol:
SMTP

Transport layerTranport layer protocol:
TCP
Network layerNetwork layer protocol:
IP
Link layerLink layer protocol:
PPP, PPPoE

 

Key features

  • Low memory footprint
  • Support PAP authentication protocol
  • Support for PPP over Ethernet

Requirements

The emNet PPP implementation requires the emNet TCP/IP stack. Your modem has to be able to be configured to respond in the format "<CR><LF><Response>".

Relevant parts

The PPP module implements the relevant parts of the following Request For Comments (RFC).

RFC#Description
[RFC 1334]Direct Link: PPP Authentication Protocols
[RFC 1661]Direct Link: Point-to-Point Protocol (PPP)
[RFC 1994]Direct Link: PPP Challenge Handshake Authentication Protocol (CHAP)
[RFC 2516]Direct Link: A Method for Transmitting PPP Over Ethernet (PPPoE)

PPP Resource Usage

The ROM usage depends on the compiler options, the compiler version and the used CPU. The memory requirements of the PPP modules presented in the tables below have been measured on an ARM7 system. Details about the further configuration can be found in the sections of the specific example.

The resource usage of a typical PPP scenario without network interface and one modem connected via RS232 has been measured.

ROM Usage on an ARM7 System: The following resource usage has been measured on an ARM7 system using IAR Embedded Workbench V6.30.6, Thumb mode, no interwork, size optimization.

Add-onROM
emNet PPPApproximately 7.0 KByte

RAM Usage:

Add-onRAM
emNet PPPApproximately 0.5 KByte

PPPoE Resource Usage

The ROM usage depends on the compiler options, the compiler version and the used CPU. The memory requirements of the PPP/PPPoE modules presented in the tables below have been measured on an ARM7 and a Cortex-M3 system. Details about the further configuration can be found in the sections of the specific example. The resource usage of a typical PPPoE scenario with 1 WAN interface has been measured.

ROM Usage on an ARM7 System: The following resource usage has been measured on an ARM7 system using IAR Embedded Workbench V6.30.6, Thumb mode, no interwork, size optimization.

Add-onROM
emNet PPP used for PPPoEApproximately 7.0 KByte

ROM Usage on a Cortex-M3 System: The following resource usage has been measured on a Cortex-M3 system using IAR Embedded Workbench V6.30.6, size optimization.

Add-onROM
emNet PPP used for PPPoEApproximately 6.5 KByte

RAM Usage:

Add-onRAM
emNet PPP used for PPPoEApproximately 100 Byte

全球总部

德国: SEGGER Microcontroller GmbH

地址: Ecolab-Allee 5
40789 Monheim am Rhein, Germany
电邮: info@segger.com
电话: +49-2173-99312-0
传真: +49-2173-99312-28

网点分布

中国:哲戈微系统科技(上海)有限公司

地址: 中国上海市闵行区秀涟路133号
大虹桥国际A 栋218室
邮编201199
电邮: china@segger.com
电话: +86-133-619-907-60

通过ISO 9001认证

ISO 9001

30多年的嵌入式行业经验

First-class embedded software tools since 1992
  • 版本说明
  • 免责声明
  • 隐私策略
  • 沪ICP备2022005181号
  • 沪公网安备 31011202014525号
© 2025 SEGGER - 版权所有.

您即将离开 segger.cn 而访问境外网站,是否继续?