I have inherited a project that I'm trying to get working. Unfortunately,
the program flow sometimes goes to FXN_F_selfLoop.
The code here is as follows:
FXN_F_selfLoop: SB FXN_F_selfLoop,UNC
This is an unconditional branch to itself, so when it gets here, it's
basically running an infinite loop. Nothing appears to happen after this point
is reached.
I've tried googling FXN_F_selfLoop and very little has been written about
it.
The program does seem to be running the main function. It's somewhere
between execution of the main function and the DSP/BIOS start-up that this
problem is occurring.
The thing is that for some changes I make to the code, this point would be
visited sometimes. For other changes, it would be visited always. For still
other changes, it would not be visited, and the code would run normally. None of
these changes have any obvious connection with the DSP/BIOS.
I also believe I've seen the DSP/BIOS run for one or two seconds before
this point is reached, on occasion.
It suggests to me that some form of overload condition is being detected by
DSP/BIOS and a branch is being made to this location as a result. However, there
is nothing at all in the call stack that gives me any clues.
Thanks.