This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

unknown exception @DEV_Create

Other Parts Discussed in Thread: MATHLIB, TMS320C6657, SYSBIOS

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

  • Welcome to the TI E2E forum. I hope you will find many good answers here and in the TI.com documents and in the TI Wiki Pages (for processor issues). Be sure to search those for helpful information and to browse for the questions others may have asked on similar topics (e2e.ti.com). Please read all the links below my signature.

    We will get back to you on the above query shortly. Thank you for your patience.

  • This is keystone forum in which we will support device/peripheral/MCSDK related queries and issues. From the code i understand that the some invalid memory pointers has been passed as parameters to create DEV.

    Please refer the section E3 of SYS/BIOS user guide for configuring the device table,

    Please post your follow up questions on TI-RTOS forum for faster response.

    Thank you.

  • Thanks for your answer Raja.

    I will post in the other forum.

    Regards martin