Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
8 years ago

MAX 10 - debugging NIOS II

All,

We're moving from CIII parts to MAX 10; both with NIOS designs inside. Whereas the CIII design has external SRAM which is used to debug the NIOS code, the MAX10 uses OCRAM to hold the program. The MAX10 is configured with the POF file (Quartus 17.0 lite) which contains both the SOF and HEX files, and runs fine (software bit bangs to a pin which is observed on a scope). The issue is I can't attach the debugger to the MAX10 - when I do I get an error on the verify of the download.

We're using AN730 Option 3 - Code in on chip Ram. But nowhere in AN730 or other searches have I found instructions on how to debug a NIOS design inside of a MAX10.

TIA.

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi,

    I assumed you're looking for ways to debug the Nios II software (for example placing a breakpoint) that run on OCRAM?