Altera_Forum
Honored Contributor
19 years agoSetting breakpoints in SSRAM
I am due to receive a custom board soon which has just SSRAM and no SDRAM. We designed the board that way to reduce its complexity.
I am trying to use my 2c35 based Nios dev board to simulate this custom board to let me develop the software before the custom board arrives. When I change the linker set-up to put my software in SSRAM rather than SDRAM everthing works fine, except that if I set breakpoints in the IDE then the processor does not halt at the breakpoints: it just carries on. The map file shows that everything has moved correctly from the SDRAM to the SSRAM. Is there something different about SSRAM that stops me setting breakpoints? Do I need to do something like change the Nios CPU configuration to use hardware breakpoints instead of software? As soon as I change the linker script to build the software to run from SDRAM the breakpoints start working again! This is rather odd. Any help appreciated, Mike