Altera_Forum
Honored Contributor
12 years agoNIOS Software appears to restart
I built a first generation "larger than life" version of a product using an EP4CGX75 FPGA, and got my system and software running. I now have an ultra-miniature version of this using an EP4CGX15 part. On the new board, the code runs for a while and then "resets" at the exact same place every time and appears to start at the beginning of the program. The point at which the system crashes is different if I make code changes, but for a particular code build, it always stops at the same point and appears to start at the beginning of the code
I have created new QSYS files and have generated a new BSP file. I've deleted previous incremental compiles and the db directory. I've looked at the linker information and everything seems reasonable. The places at which the code crashes have what I would say is fairly innocuous code, e.g., printing the contents of a buffer, not writing to an array or variables. I've looked at the power supply and at the reset signal, and they look OK. Am using Quartus 12.1. (Would prefer not to switch tool versions in the middle of a project, but then again, I need to get this working...) Any thoughts on what would be a good strategy for debugging this? Thanks in advance.