Altera_Forum
Honored Contributor
9 years agoNIOS II Gen2 Hardware Breakpoints broken?
It appears that there may be an issue with NIOS II Gen2 Hardware Breakpoints.
On a MAX10 device, I have my program text in UFM, and Hardware Breakpoints set to 4 (using Quartus Prime 5.1.1). However, when attempting to debug this, the Eclipse debugger complains that it can't set the breakpoint, or break on main() -- it seems Eclipse wants to set a soft breakpoint in UFM flash memory rather than use the hardware breakpoint capability that has been configured in QSYS. I tried many different variations of the Gen2 core (e.g. flash accelerator enable/disable, cache on/off, etc.) but no joy. It's not clear to me if the Eclipse NIOS debugger V2 beta needs to used or not. At any rate, I've been able to confirm that the NIOS2 Gen2 program at least runs correctly out of UFM, but it can not be single stepped nor stopped on a hardware breakpoint. I replaced the Gen2 core with a NIOS II legacy core, and the hardware breakpoint became functional -- joy! So it appears that the issue is with the Gen2 core -- any insights or additional info would be appreciated, thanks. -Tom Rosenbauer