CoDeSys V3 Linux_E

2
CPU for the CoDeSys Linux Runtime: The processors x86, ARM and PowerPC are supported. CoDeSys V3 Overview Linux CoDeSys V3 Linux Runtime Overview Linux without Realtime: Linux with Realtime: Memory Requirements: Basically any distribution can be used. A customized Linux is necessary for embedded systems. Additional libraries for example for PCI bus support or PCAP for Ethernet are also required. All libraries are open source. CoDeSys V3 under Linux with realtime properties can only be used with the realtime kernel Preempt_rt patch from the OSADL organisation. RT Linux, RTAI Linux and Xenomai are not supported! The OSADL realime kernel is free of charge but it must be adapted to the particular hardware. Such an adaption is offered for example by Linutronix, Pengutronix or Denx. 3S-Smart Software Solutions GmbH does not offer said adaptation service! Before starting a project the hardware to be used should be considered suitable by the company who is to perform the adaptation! Remanent Memory (Hard disk, Flash): # # # # # # # # # # # Minimal: 16 MB (smaller on demand) Typical: 64 MB for runtime c : minimal 1MB for boot project and/or IEC program c : rest QT for target visualisation: 10MB (platform dependent) - smaller versions are possible with QT adaptions done by the Linux service companies. Minimal: 3 MB (minimal project) Typical: 32 MB WithTarget visualisation: 64 MB (minimum recommendation) for example: Targetvisu on ARM: 4,5 MB (minimal project) Typical: (any desired) kB For IEC-Program Data type RETAIN and RETAIN PERSISTENT ode ode RAM: Retain Memory (NVRAM, SRAM): Supported Fieldbuses / Fieldbus cards: EtherCAT with 3S configurator und 3S stack Sercos III Master (in development) Profibus Master (Hilscher EC1 or netX) with 3S configurator and Hilscher stack (released soon) Profinet Master (Hilscher netX) with 3S configurator and Hilscher stack CANopen Master (only with SocketCAN - Open Source driver for Philips SJA1000 Chip) others on demand # # # # # #

Transcript of CoDeSys V3 Linux_E

Page 1: CoDeSys V3 Linux_E

CPU for the CoDeSys Linux Runtime:

The processors x86, ARM and PowerPC are supported.

CoDeSys V3Overview Linux

CoDeSys V3 Linux Runtime Overview

Linux without Realtime:

Linux with Realtime:

Memory Requirements:

Basically any distribution can be used. A customizedLinux is necessary for embedded systems. Additionallibraries for example for PCI bus support or PCAP forEthernet are also required. All libraries are open source.

CoDeSys V3 under Linux with realtime properties canonly be used with the realtime kernel Preempt_rt patchfrom the OSADL organisation. RT Linux, RTAI Linux andXenomai are not supported!The OSADL realime kernel is free of charge but it mustbe adapted to the particular hardware. Such an adaptionis offered for example by Linutronix, Pengutronix or Denx.

3S-Smart Software Solutions GmbH does not offersaid adaptation service! Before starting a project thehardware to be used should be considered suitableby the company who is to perform the adaptation!

Remanent Memory (Hard disk, Flash):

#

#

#

#

#

#

#

#

#

#

#

Minimal: 16 MB (smaller on demand)Typical: 64 MBfor runtime c : minimal 1MBfor boot project and/or IEC program c : restQT for target visualisation: 10MB (platformdependent) - smaller versions are possible with QTadaptions done by the Linux service companies.

Minimal: 3 MB (minimal project)Typical: 32 MBWithTarget visualisation: 64 MB (minimumrecommendation)for example: Targetvisu on ARM: 4,5 MB (minimalproject)

Typical: (any desired) kBFor IEC-Program Data type RETAIN and RETAINPERSISTENT

ode

ode

RAM:

Retain Memory (NVRAM, SRAM):

Supported Fieldbuses / Fieldbus cards:

EtherCAT with 3S configurator und 3S stackSercos III Master (in development)Profibus Master (Hilscher EC1 or netX) with 3Sconfigurator and Hilscher stack (released soon)Profinet Master (Hilscher netX) with 3S configuratorand Hilscher stackCANopen Master (only with SocketCAN - OpenSource driver for Philips SJA1000 Chip)others on demand

#

#

#

#

#

#

Page 2: CoDeSys V3 Linux_E

3S-Smart Software Solutions GmbH · Memminger Str. 151 · DE-87439 Kempten · Tel. +49- 831-54031-0 · www.3s-software.com

We software Automation.

Important for CoDeSys: There must be adebugger!Debugger for ARM or PowerPC over GDB Server withthread-support!Debugging on the x86 platform is normally no problem.

Linux From Scratch (LFS) is a project that provides you withstep-by-step instructions for building your own customLinux system, entirely from source code:

What is the best way to build a Linux distribution for anembedded system in a reproducable way,caring aboutlong term maintenance and small footprint? PTXdist is aGPL licensed build system for userlands, started byPengutronix. It uses the Kconfig configuration systemfrom the Linux kernel. Although PTXdist (without patches)still fits on one disc, a whole root filesystem can be builtas easy as "ptxdist go":

More information:

Http://www.linuxfromscratch.org/

Http://www.pengutronix.de/software/ptxdist/index_en.html

Author:PhB/PW V1.05 - Date: 2009-01

List of combinations of compiler for different platforms(crosstool build results):http://www.kegel.com/crosstool/crosstool-0.43/buildlogs/

Websites for more information:www.pengutronix.dewww.linutronix.dewww.denx.de