Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12589 Discussions

Nios II dying after a few minutes running randomly

FrogWeapons
Novice
1,289 Views

I have a design and randomly the Nios II is dying.

--- Details---

- There is a system "heartbeat" counter which is an indication the Nios has stopped - when it does stop, it stops at the same time after reset (power on reset or JTAG reprogram) at about 4 minutes +/- 100ms.

-The Nios is dead; when the fail event has happened I can no longer connect to the Nios through JTAG. A reset is needed to reconnect.

- The surrounding FPGA logic is still functioning. Some of the peripherals I can still see functioning and I can view signals through signal tap when the Nios is dead.

-It happens randomly, most "sessions" go without issue. 

---- Things I know ---

- It is not power supply related as far as I can tell; it happens both from power on reset and JTAG load reset.

-The clocks and reset to the Nios look normal when its dead ( I can view them in signalTap).

 

Can anyone recommend other things to explore ? 

 

Thanks !

0 Kudos
5 Replies
BoonBengT_Intel
Moderator
1,272 Views

Hi @FrogWeapons,

Thank you for posting in Intel community forum, hope this message find you well.
Can we know what board are you using? And also the type of USB blaster cable is being used to connect to the board?
Also if convenient, perhaps you can share a screenshot of the design you have for us to better understand the situation.

Warm regards.
BB

0 Kudos
FrogWeapons
Novice
1,264 Views

Hi BB, the information I can give is:

- Arria V

- Quartus 16.1

- Using internal block RAM only for NIOS.

- Just as standard "Altera USB-Blaster" - although probably not too relevant as the failure event happens when connected or not connected !

We have a watchdog in the system, but disabling this has no effect - I also tried forcing an infinite loop to see it the watchdog was causing trouble.

Whatever is killing the NIOS seems to be killing the "jtag debug module" - see attached image "Nios lock"

Thanks.

0 Kudos
BoonBengT_Intel
Moderator
1,171 Views

Hi @FrogWeapons,

Apologies for the delayed in response, may I know how did you program your devices?
Here is some guide on programming the onchip memory which might provide some insight.
Did you managed to program your devices with the 'memory test' template and did the same issues occur?
On a separate note on watchdog, yes it will cause some issues when you are trying to run program in debug mode, hence do not enable watchdog timer if you are debugging. (details explanation can be found here)

Best Wishes
BB

0 Kudos
BoonBengT_Intel
Moderator
1,130 Views

Hi @FrogWeapons,

Hope this message find you well and good day, unfortunately as we do not receive any response from you to the previous clarification that we have provided. Do let us know if further doubts are available. This thread will now be transitioned to community support. If you have new queries, please feel free to open a new thread to get support from Intel experts. Otherwise, the community users will further help you with doubts in this thread.
 
Best Wishes
BB

0 Kudos
Int3lSystemsLearning
685 Views

community.intel.com/t5/Nios-V-II-Embedded-Design-Suite/Nios-stops-responding-to-interrupts/m-p/1500927#M52111

I'm having a similar issue, but don't know if I should post here or the link. My first time using the forums.

I've already posted all my data in the link feed

0 Kudos
Reply