发明名称 Method for setting breakpoints, and an integrated circuit and debug tool therefor
摘要 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.
申请公布号 US9575758(B2) 申请公布日期 2017.02.21
申请号 US201013879240 申请日期 2010.11.22
申请人 NXP USA, INC. 发明人 Robertson Alistair;Maiolani Mark
分类号 G06F9/44;G06F9/00;G06F9/30;G06F11/36 主分类号 G06F9/44
代理机构 代理人
主权项 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.
地址 Austin TX US