Hello E2E-Forum,
i am new to this forum and this is my first Post.
I use TMDSEVM6657LS
Software:
DSPLIB C66x Ver. 3.1.0.0
MathLib C66x ver. 3.0.1.1
MCDSK PDK TMS320C6657 ver. 1.1.2.6.
SYS/BIOS ver. 7.21.1.07
XDAIS ver. 7.21.1.07
in main.c i only create 2 tasks (stepping through works fine)
in Task_1 i want to create a device:
DEV_Params Device_params;
Error_Block eb;
DEV_Params_init(&Device_params);
Error_init(&eb);
Device_params.devid=1;
//Device_params.initFxn=Uart_Init;
Device_params.initFxn=UartInit; /*Lösung funktioniert auch. Hier aufruf UartInit aus Platform_Lib */
Device_params.instance->name="UART_0";
hUart=DEV_create("/UART_0", &DGN_FXNS, &Device_params, &eb);
on stepping over Dev_Create i got the following exception:
[C66xx_0] B23=0x0
B24=0x20c4eb9 B25=0x2224210
B26=0x4721204c B27=0x3c184a1
B28=0x64a1106b B29=0xa209b050
B30=0x42490020 B31=0x0
NTSR=0x1000e
ITSR=0x0
IRP=0x0
SSR=0x0
AMR=0x0
RILC=0x0
ILC=0x0
Exception at 0x0
EFR=0x2 NRP=0x0
Internal exception: IERR=0x1
Instruction fetch exception
ti.sysbios.family.c64p.Exception: line 255: E_exceptionMin: pc = 0x00000000, sp = 0x0081b478.
To see more exception detail, use ROV or set 'ti.sysbios.family.c64p.Exception.enablePrint = true;'
xdc.runtime.Error.raise: terminating execution
Question is:
a) in which document can i find the meaning of above named codes?
b) what means e.g. RILC=0x0 ?
Int DEV_Instance_init(DEV_Object *obj, String name, Ptr fxns,
const DEV_Params *params, Error_Block *eb)
{
obj->name = name;
obj->fxns = fxns;
obj->initFxn = params->initFxn;
obj->devid = params->devid;
obj->deviceParams = params->deviceParams; <--- after further stepping through the code the exception occured here
return (DEV_postInit(obj, eb));
}
Thanks in advance for any answers.
regards Martin