모든 하드웨어 중단점 사용

기술노트 31070

아키텍처:

ARM

컴포넌트:

debugger

업데이트:

2018-02-28 오전 1:55

Introduction

This Technical Note discusses how to take control over the usage of the hardware breakpoints.

Background

The number of hardware breakpoints can become a limitation when debugging in hardware. (An ARM7/9-core typically has 2 hardware breakpoints, while a Cortex-core typically has 4-8 hardware breakpoints.)

Wanted behavoir

All hardware breakpoint should be available for user-debugging. The C-SPY debugger shouldn't use any hardware breakpoints at all.

What to do

Disable the breakpoints that C-SPY sets.

Disadvantages

These debuger features will not be usable:

  • run to (main)
  • use the stack plugin
  • use the "C-SPY Debugger runtime interface" (for example the I/O window in C-SPY).

How to do it

version 6.20 and later

Perform the following actions:

  • Disable : Project > Options > Debugger > Setup > "run to"
  • Disable : Tools > Options > Stack > "Disable all checkboxes"
  • Select : Project > Options > General Options > Library configuration > Library low-level interface implementation > None

version 6.10 and 5.x

Perform the following actions:

  • Disable : Project > Options > Debugger > Setup > "run to"
  • Disable : Project > Options > Debugger > Plugins > "stack"
  • Select : Project > Options > General Options > Library configuration > Library low-level interface implementation > None

version 4.xx

Perform the following actions:

  • Disable : Project > Options > Debugger > Setup > "run to"
  • Disable : Project > Options > Debugger > Plugins > "stack"
  • Disable : Project > Options > Linker > Output > Format > "With runtime control modules"

All product names are trademarks or registered trademarks of their respective owners.

죄송하지만, 당사 사이트에서는 Internet Explorer를 지원하지 않습니다.보다 편안한 사이트를 위해 Chrome, Edge, Firefox 등과 같은 최신 브라우저를 사용해 주시길 부탁드립니다.