Browse Prior Art Database

Debugger apparatus for handling unlimited software breakpoints in ROM using cache memory entries

IP.com Disclosure Number: IPCOM000245160D
Publication Date: 2016-Feb-15
Document File: 2 page(s) / 128K

Publishing Venue

The IP.com Prior Art Database

Abstract

This paper describes a software method for handling the increasing number of preset breakpoints between successive debugging sessions of the same application using minimal hardware resources, thus maximizing hardware resources left for user. This method takes the advantage of using cache memories.

This text was extracted from a Microsoft Word document.
At least one non-text object (such as an image or picture) has been suppressed.
This is the abbreviated version, containing approximately 55% of the total text.

Debugger apparatus for handling unlimited software breakpoints in ROM using cache memory entries

Abstract

This paper describes a software method for handling the increasing number of preset breakpoints between successive debugging sessions of the same application using minimal hardware resources, thus maximizing hardware resources left for user. This method takes the advantage of using cache memories.

   

Introduction

The traditional methods of debugging ROM based applications are using hardware resources but these are limited resources and should generally be left for specific user operations.

The alternative approach is to use software breakpoints in ROM, but this implies additional flash memory operations which are time consuming and a complex handling mechanism, both affecting the overall debugger performance.

 

Method described in this paper uses cache entries to install software breakpoints at ROM memory addresses. This implies that it works only on systems with instruction cache available.

Debugger Apparatus

The Debugger Apparatus supporting this functionality deals with setting breakpoints in ROM (flash) memory by writing the software breakpoint in flash memory.

After the breakpoint is hit it uses one cache entry in order to execute the initial code, replaced by software breakpoint, and steps over it, without altering the flash content. Properties of the apparatus are:

•         Inserts all preset breakpoints as software breakpoints in application code when debug session starts

•         U...