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.

TMS570LS3137: Trap issue observed in function Spi_DlcError()

Part Number: TMS570LS3137


In AUTOSAR_MCAL_TMS570LSx-05.30.00 in the module Spi_Dlc.c on line 859 (function Spi_DlcError()) there is a potential out-of-bound array access, which generates a data access trap:

It seems the Error_u32 value of 180hex (384dec, please see Spi_Debug_1.png) leads to an out-of-bounds data access of the *.Spi_RxBank and this generates the data access trap (please see Spi_Debug_2.png).

In the end the OS reports the trap via Os_TrapHookReturn.