Method for setting breakpoints, and an integrated circuit and debug tool therefor
First Claim
1. A method for setting one or more breakpoints within executable program code of an embedded device, the method comprising:
- copying at least one area of non-volatile memory (NVM) of the embedded device, comprising at least one instruction at which a breakpoint is to be set, into at least one area of overlay memory to be memory-mapped by mapping hardware of the embedded device to cover the at least one area of NVM;
replacing within the at least one area of overlay memory the at least one instruction at which a breakpoint is to be set with a breakpoint operation code to be executed by at least one processor core of the embedded device; and
enabling the mapping hardware of the embedded device to map the at least one area of NVM, comprising the at least one instruction at which a breakpoint is to be set, to the at least one area of overlay memory during execution of the program code within the embedded device by the at least one processor core.
33 Assignments
0 Petitions
Accused Products
Abstract
A method for setting one or more breakpoints within executable program code of an embedded device is described. The method comprises copying at least one area of non-volatile memory (NVM) of the embedded device, comprising at least one instruction at which a breakpoint is to be set, into at least one area of overlay memory replacing within the overlay memory the at least one instruction at which a breakpoint is to be set with a breakpoint operation code, and enabling a mapping of the at least one area of NVM, comprising the at least one instruction at which a breakpoint is to be set, to the at least one area of overlay memory during execution of the program code within the embedded device.
31 Citations
20 Claims
-
1. A method for setting one or more breakpoints within executable program code of an embedded device, the method comprising:
-
copying at least one area of non-volatile memory (NVM) of the embedded device, comprising at least one instruction at which a breakpoint is to be set, into at least one area of overlay memory to be memory-mapped by mapping hardware of the embedded device to cover the at least one area of NVM; replacing within the at least one area of overlay memory the at least one instruction at which a breakpoint is to be set with a breakpoint operation code to be executed by at least one processor core of the embedded device; and enabling the mapping hardware of the embedded device to map the at least one area of NVM, comprising the at least one instruction at which a breakpoint is to be set, to the at least one area of overlay memory during execution of the program code within the embedded device by the at least one processor core. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18)
-
-
19. A debug tool for setting one or more breakpoints within executable program code of an embedded device, the debug tool being configured to:
-
copy at least one area of non-volatile memory (NVM) of the embedded device, comprising at least one instruction at which a breakpoint is to be set, into at least one area of overlay memory to be memory-mapped by mapping hardware of the embedded device to cover the at least one area of NVM; replace the at least one instruction at which a breakpoint is to be set within the at least one area of the overlay memory with a breakpoint operation code; and enable the mapping hardware of the embedded device to map the at least one area of non-volatile memory comprising the at least one instruction at which a breakpoint is to be set to the at least one area of overlay memory during execution of program code within the embedded device.
-
-
20. An integrated circuit comprising an embedded device having executable program code and an interface for operably coupling to a debug tool;
- wherein the embedded device comprises;
at least one processor core; a mapping hardware, at least one area of non-volatile memory (NVM) comprising at least one instruction at which a breakpoint is to be set; at least one area of overlay memory; and a mapping module; wherein, in response to control via the interface the at least one area of NVM is copied into the at least one area of the overlay memory to be memory-mapped by the mapping hardware to cover the at least one area of NVM and the at least one instruction is replaced with a breakpoint operation code and the mapping module, using the mapping hardware, maps the at least one area of NVM to the at least one area of overlay memory during execution of program code within the embedded device by the at least one processor core.
- wherein the embedded device comprises;
Specification