Hello,
I am debugging an application using DSP/BIOS API calls and at some point in the message log the following error appeared:
SYS_error called: error id = 0x1 I am trying to find a table that describes what these error numbers mean, but haven't had any luck. I realize they must be somewhere... Thanks in advance for your help. Dan
SYS_error called: error id = 0x1
I am trying to find a table that describes what these error numbers mean, but haven't had any luck. I realize they must be somewhere...
Thanks in advance for your help.
Dan
Hi Dan,
The error codes for the SYS module are found in the module's header file sys.h, in your BIOS installation:
ti/bios/include/sys.h
I see the error code for 0x1 means that there is a memory allocation problem:
#define SYS_EALLOC 1 /* memory allocation error */
Steve
Steve,
Perfect!
Thanks.
Dan.
Im getting a code of 258, which is past the start of 'user codes'. Where does that come from? i am not making any explicit calls to post something. Some inherited code is making use of the macro SET_FAILURE_REASON and FID_HAL_C would come out to 258 (FID_BASE = 0x100). But I am not compiling with _DEBUG so SET_FAILURE_REASON should come out as null.
Hi Dave Winder10933,
Which version of BIOS are you using?
Are you sure these macros are part of BIOS?
Thanks,
Hi Steve
CCS is showing we are linking against 5.41.11.38
Sorry, MACROS are in failure.h in dsplink and i believe we are at version 1.61