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 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.
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.
15 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 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. - View Dependent Claims (2, 3, 4, 5, 6, 7, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20)
-
-
8. 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 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; replace the at least one instruction at which a breakpoint is to be set within the overlay memory with a breakpoint operation code; and enable a mapping of 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.
-
-
9. An integrated circuit comprising an embedded device executable program code and an interface for operably coupling to a debug tool;
- wherein the embedded device comprises;
at least one area of non-volatile memory comprising at least one instruction at which a breakpoint is to be set; at least one area of overlay memory 044 and a mapping module; wherein, in response to control via the interface the at least one area of is copied into the at least one area of the overlay memory and the at least one instruction is replaced with a breakpoint operation code and the mapping module 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.
- wherein the embedded device comprises;
Specification