Patent ID: 7607044

Claim:
A method, comprising: monitoring an execution of a program by a processor of an electronic circuit, the electronic circuit being connected to a device for debugging the program using a connection external to the electronic circuit, the monitoring including: executing a part of the program, the executing producing first data; collecting, within the electronic circuit, second data monitoring the execution of said part of the program; transmitting the second data to the device for debugging the program via the connection, wherein the connection includes a serial connection, and wherein the transmitting the second data includes: serializing, using a first serialization unit, the second data within the electronic circuit; transmitting the serialized second data to the device for debugging the program; and restoring the second data within the device for debugging the program; serializing, using a second serialization unit, the first data produced by the executing step; and clocking the first serialization unit with a clock unit that is also used to clock the second serialization unit.