Ashling* RiscFree* Integrated Development Environment (IDE) for Altera® FPGAs User Guide

ID 730783
Date 4/11/2025
Public
Document Table of Contents

2.3.4.3.2. Unable to Set Software Breakpoint

The Ashling RiscFree IDE setups breakpoints as software breakpoints by default. This behavior applies to the Set breakpoint at: feature in the Startup tab, stepping actions in the Debug Bar, and Toggle Breakpoints. You must perform the following setups to switch from software breakpoint to hardware breakpoint.

Setups Effects Related Breakpoint Features

Define the ROM memory region in Debugger tab > GDB Client Setup > Command.

RiscFree* IDE for Altera® FPGAs automatically switches to hardware breakpoint when it identifies any breakpoint within a Read-Only memory region.
  • Set breakpoint at: feature in Startup tab
  • Stepping actions in Debug Bar.
  • Any breakpoints within the Read-Only region

When adding breakpoints, click Toggle Hardware Breakpoint. Refer to Hardware Breakpoint.

Manually setup a hardware breakpoint. Any user-added breakpoints within the Read-Only region

Follow these steps when adding breakpoints:

  1. Click Toggle Breakpoint.
  2. Right-click on the breakpoint symbol.
  3. Navigate to Breakpoint Properties.
  4. In Common, change Type from Regular to Hardware.
Manually configure a software breakpoint into hardware breakpoint. Any user-added breakpoints within the Read-Only region
Figure 29. Defining ROM Memory Region

The following are the settings in this example:

  • Address 0 to 0x6FFFF is a Read-Only region. Ashling* RiscFree* IDE for Altera® FPGAs IDE automatically switched to hardware breakpoint when it identifies any breakpoint within this region.
  • Address 0x200000 to 0x21FFFF is a Read-Write region. The breakpoint in this region remains as software breakpoints.
Figure 30. Type Option in Breakpoint Properties