Other Parts Discussed in Thread: SFRA, C2000WARE
Tool/software:
Hi Experts,
I am working on a proof of concept (PoC) using the C2000Ware_MotorControl_SDK_5_03_00_00 with the F2800137 microcontroller. Currently, I am attempting to enable SFRA (Software Frequency Response Analyzer) for tuning purposes. I followed the configuration steps provided in this link: https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1274712/tidm-02010-error-and-warnings-after-enabling-sfra?tisearch=e2e-sitesearch&keymatch=SFRA%20dmpfc#
Once I clicked on connect button on SFRA GUI, we received Interrupt_illegalOperationHandler for line "(*SFRA_GUI_cmdDispatcher[SFRA_GUI_cmdPacket[0]])();" of function SFRA_GUI_cmdInterpreter, below are the call stack
Value of SFRA_GUI_cmdDispatcher is below
and value of SFRA_GUI_cmdPacket is below:
Observations:
SFRA_GUI_cmdDispatcher: It is an array with 16 elements.
SFRA_GUI_cmdPacket[0]: Its value is 240, which attempts to access the 240th index of SFRA_GUI_cmdDispatcher. Since the array has only 16 elements, this results in an out-of-bounds access causing the exception.
Please help me to solve this issue, and also let me know in case of further details are required.