Title :
PLC remote debugger development using GDB
Author :
Yang, Won-Yong ; Lee, Jong-Yeol
Author_Institution :
Div. of Electron. & Inf. Eng., Chonbuk Nat. Univ., Jeonju, South Korea
Abstract :
This paper presents the implementation of a debugger for a PLC with an in-house embedded processor by using GDB. Since GDB consists of target-independent and target dependent parts, we can reduce the amount of work required to implement a debugger by using the machine-independent part of GDB. Because remote serial protocol (RSP) used in communication with a target board in GDB is different from our PLC protocol, we design a protocol translator which translates RSP into our PLC protocol. The protocol translator also changes the response of the target into form of RSP. Since the stack management scheme depends on the target compiler, we also add new stack management routines.
Keywords :
embedded systems; program compilers; program debugging; program interpreters; programmable controllers; protocols; PLC protocol; PLC remote debugger development; in-house embedded processor; programmable logic controller; protocol translator; remote serial protocol; stack management scheme; target compiler; Embedded system; Graphical user interfaces; Kernel; Linux; Open source software; Programmable control; Protocols; Real time systems; Registers; Software debugging; GDB; Remote debugging; Remote serial protocol;
Conference_Titel :
SoC Design Conference (ISOCC), 2009 International
Conference_Location :
Busan
Print_ISBN :
978-1-4244-5034-3
Electronic_ISBN :
978-1-4244-5035-0
DOI :
10.1109/SOCDC.2009.5423826