Porting gcc Based eCos OS and PROFINET Communication Stack to IAR


KIPS Transactions on Computer and Communication Systems, Vol. 12, No. 4, pp. 127-134, Apr. 2023
https://doi.org/10.3745/KTCCS.2023.12.4.127,   PDF Download:
Keywords: PROFINET, eCos, IAR, gcc, Industrial Ethernet
Abstract

This paper describes how to port the eCos operating system and PROFINET communication stack developed based on gcc to the IAR compiler. The eCos operating system provides basic functions such as multi-thread, TCP/IP, and device driver for PROFINET operation, so there is no need to change it when developing PROFINET applications. Therefore, in this study, we reuse an eCos library built with gcc and it link with PROFINET communication stack that are ported to IAR complier. Due to the different of the gcc and IAR linker, symbol definitions and address of the constructors should be changed using the external tool that generates symbol definitions and address of the constructors from MAP file. In order to verify the proposed method, it was confirmed that the actual I/O was operating normally through PROFINET IRT communication by connecting to the Siemens PLC. IAR compiler has better performance in both the compile time and the size of the generated binary. The proposed method in this study is expected to help port various open sources as well as eCos and PROFINET communication stacks to other compilers.


Statistics
Show / Hide Statistics

Statistics (Cumulative Counts from September 1st, 2017)
Multiple requests among the same browser session are counted as one view.
If you mouse over a chart, the values of data points will be shown.


Cite this article
[IEEE Style]
J. H. Kim, "Porting gcc Based eCos OS and PROFINET Communication Stack to IAR," KIPS Transactions on Computer and Communication Systems, vol. 12, no. 4, pp. 127-134, 2023. DOI: https://doi.org/10.3745/KTCCS.2023.12.4.127.

[ACM Style]
Jin Ho Kim. 2023. Porting gcc Based eCos OS and PROFINET Communication Stack to IAR. KIPS Transactions on Computer and Communication Systems, 12, 4, (2023), 127-134. DOI: https://doi.org/10.3745/KTCCS.2023.12.4.127.