Quantcast
Channel: Forum - Recent Threads
Viewing all articles
Browse latest Browse all 1583

Need help diagnosing a system hang (CMSIS-RTX, Custom board)

$
0
0

I have an application built using the "CMSIS_RTOS_RTX_RSK_GCC" package as a base.

It's been modified to run on our custom board and for the most part, has been working well.

Using: e2studio 4.3.0.008 and the KPIT GNUARM-NONE-EABI Toolchain v14.02.

Recently, though, I seem to have introduced a bug (or "inspired" an existing bug) and the system occasionally goes into the ditch.  I've never been able to run my code in the e2studio debugger, so I'm relying on sending debug messages out one of the serial ports - or pulsing a GPIO line that I can watch on a scope.

I've ruled out errant Data or Prefetch Aborts, so I'm guessing it has to do with an ISR either firing at an inopportune moment - or not being serviced properly.

Can anyone suggest ways to narrow this down?  I'm fairly familiar with the internals of ARMs, but I've not spent much time (yet) with this particular processor.

Any pointers would be appreciated.

Thanks!


Viewing all articles
Browse latest Browse all 1583

Trending Articles