摘要 |
The disclosed technique relates to a method for debugging an embedded software in real time using a memory address and, more specifically, to a method for debugging a target system in a debugging processor in real time. The method comprises the steps of: allowing the target system to download symbol information generated by a compiler and store the symbol information in a memory; allowing the debugging processor to analyze the symbol information to acquire a memory address of the target system, in which a variable is stored; allowing the debugging processor to transmit a debugging packet for the variable to an interrupt service routine (ISR) of the target system through a communication interface; allowing the ISR to receive the debugging packet and read a value of the variable according to the debugging packet; and allowing the ISR to change the value of the variable according to the debugging packet. Thus, costs can be reduced and the entire resource of the embedded system can be saved by providing debugging in real time using the memory address without adding a debugging software. [Reference numerals] (110) Store symbol information; (120) Acquire a memory address; (130) Transmit a debugging packet; (140) Debugging; (AA) Start; (BB) End |