Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
20688 Discussions

MAX 10 - debugging NIOS II

Altera_Forum
Honored Contributor II
1,346 Views

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.
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
332 Views

Hi, 

 

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