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.

TDA4VM: exception event IDs

Part Number: TDA4VM

Hi

The list of exception event IDs is needed for implementation, but it is not listed in the TRM.

Please provide it immediately.

I am currently having trouble with Page Fault exceptions, so I would like to know these IDs alone first.

Thanks and Best regards,

HaTa.

  • Please be more specific.

    It is not clear from your description.

    Are you talking about Interconnect Exception or CPU exception.

    If you are asking CPU exception, which CPU are you asking?

  • The functions set in these files (csl_c7x_events.h or csl_c7x_events.asm) ,

    such as CSL_c7xEvtIntRegister (or CSL_c7xIntEvtRegister), require the argument evt_num.

    This evt_num needs to be set to the ID of the exception you want to handle.

    However, there is no list in the TRM to indicate what ID is the exception.

    Also, according to the header of the function, I set evt_num in 64 different ways, and I was

    able to confirm that the handler can be called when an exception occurs.

    However, I don't know what I need to do when exiting that handler.

    I cannot return to the original function where the exception occurred, and EVM stops.

    I would like a sample of how to properly set up an exception handler.

  • HaTa,

    Please see the exception ID in the attached xls file. 

    C7x_IERR_mapping.xlsx

    thanks,

    Kai

  • HaTa, 

    Now, let me try to answer your questions:

    I cannot return to the original function where the exception occurred, and EVM stops.

    I would like a sample of how to properly set up an exception handler.

    From the xls I shared, can you tell me what exception you hit? If it is a page fault and you don't have a page fault handler to handle the "paging", C7x might keep hit page fault after page fault then quit eventually. 

    Thanks,

    Kai

  • Hi Kai

    Thanks for sharing the materials.

    I can now understand the handling of many exceptions.

    However, there is no mention of normal exceptions, so we would like to have materials with introductions to these.

  • Dear HaTa,

    Could you explain a little more with an example of what type of exception do you call normal exceptions? 

    Thanks,

    Kai