/var/www/restricted/ssh/stm32/www/stm32circle/ STM CircleOS forum / CAN FIFO overflow causes complete lockup, incl. independent watchdog

Username:     
Password:     
             

Forum
  • Index
  •  » STM32 primer
  •  » CAN FIFO overflow causes complete lockup, incl. independent watchdog

# 1   2009-09-17 18:43:35 CAN FIFO overflow causes complete lockup, incl. independent watchdog

kubark42
Member
Registered: 2009-02-13
Posts: 46

CAN FIFO overflow causes complete lockup, incl. independent watchdog

That was a frustrating forever trying to diagnose the problem. It turns out that if you read a couple registers from the CAN FIFO, but don't release the FIFO, that the entire Primer2 locks up and won't reboot, not even from a watchdog overflow. Definitely not what I would expect it to do, and not what the $1 indicates, either!

Whoops.

Offline

 

# 2   2009-09-18 10:15:21 CAN FIFO overflow causes complete lockup, incl. independent watchdog

Francis
Administrator
From: France-Grenoble
Registered: 2007-07-09
Posts: 890

Re: CAN FIFO overflow causes complete lockup, incl. independent watchdog

I have seen such situations only when 'looping' exception occur.
With the latest RIDE+RKit-ARM, the peripheral views have been completed, and are refreshed dynamically (on the fly). It is helpful to debug such issues.

Offline

 

# 3   2009-09-22 15:26:31 CAN FIFO overflow causes complete lockup, incl. independent watchdog

kubark42
Member
Registered: 2009-02-13
Posts: 46

Re: CAN FIFO overflow causes complete lockup, incl. independent watchdog

I'm using the RIDE7 that I downloaded two weeks ago. Is this not the latest?

I unfortunately cannot debug this in situ, as I cannot place the computer next to the CANbus.

Last edited by kubark42 (2009-09-22 15:26:47)

Offline

 

# 4   2009-09-23 12:09:36 CAN FIFO overflow causes complete lockup, incl. independent watchdog

Francis
Administrator
From: France-Grenoble
Registered: 2007-07-09
Posts: 890

Re: CAN FIFO overflow causes complete lockup, incl. independent watchdog

If it is the latest, you can open the peripheral views and see the contents refreshed dynamically (on the fly). Perhaps it could help you. But, of course, you need to be connected while debugging...

Offline

 

# 5   2009-09-30 14:41:07 CAN FIFO overflow causes complete lockup, incl. independent watchdog

kubark42
Member
Registered: 2009-02-13
Posts: 46

Re: CAN FIFO overflow causes complete lockup, incl. independent watchdog

What's the latest one? I downloaded Ride 7.24.09.0251 and RKit-ARM 1.22.09.0254, and I cannot see any of the bxCAN registers. The register window is there in the list, but when I open it, the window is empty.

Offline

 

# 6   2009-10-01 07:27:08 CAN FIFO overflow causes complete lockup, incl. independent watchdog

Francis
Administrator
From: France-Grenoble
Registered: 2007-07-09
Posts: 890

Re: CAN FIFO overflow causes complete lockup, incl. independent watchdog

You are right... a bug. We'll send you a patch.

Offline

 

  • Index
  •  » STM32 primer
  •  » CAN FIFO overflow causes complete lockup, incl. independent watchdog

Board footer