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.

PROCESSOR-SDK-AM64X: SDL ESM (Software Diagnostics Library - Error Signaling Module)

Part Number: PROCESSOR-SDK-AM64X

Hi,

The ESM module is supposed to have 1024 error event inputs, I think that is 32x32, but I can't seem to figure out how or where they are defined.

In the example, it sets an error for group 1 bit 3, but what exactly is that? 

Also, how does the group and bit number matchup? Are there 32 groups of 32 bits?

Thank you,

static SDL_ESM_config esm_config =

{
.esmErrorConfig = {1u, 8u}, /* Self test error config */
.enableBitmap = {0x00000380u, 0xfffffffbu, 0x7fffffffu, 0xffffffffu,
0xffffffffu, 0xffffffffu, 0xffffffffu, 0xffffffffu,
0xffffffffu, 0xffffffffu, 0xffffffffu, 0xffffffffu,
0xffffffffu, 0xffffffffu, 0xffffffffu, 0x00000000u,
0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u,
0xffffffffu,0x00000000u, 0x00000000u, 0x00000000u,
0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u,
0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u,
},
/**< All events enable: except clkstop events for unused clocks
* and PCIE events */
.priorityBitmap = {0x00000380u, 0xfffffffbu, 0x7fffffffu, 0xffffffffu,
0xffffffffu, 0xffffffffu, 0xffffffffu, 0xffffffffu,
0xffffffffu, 0xffffffffu, 0xffffffffu, 0xffffffffu,
0xffffffffu, 0xffffffffu, 0xffffffffu, 0x00000000u,
0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u,
0xffffffffu,0x00000000u, 0x00000000u, 0x00000000u,
0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u,
0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u,
},
/**< All events high priority: except clkstop events for unused clocks
* and PCIE events */
.errorpinBitmap = {0x00000380u, 0xfffffffbu, 0x7fffffffu, 0xffffffffu,
0xffffffffu, 0xffffffffu, 0xffffffffu, 0xffffffffu,
0xffffffffu, 0xffffffffu, 0xffffffffu, 0xffffffffu,
0xffffffffu, 0xffffffffu, 0xffffffffu, 0x00000000u,
0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u,
0xffffffffu,0x00000000u, 0x00000000u, 0x00000000u,
0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u,
0x00000000u, 0x00000000u, 0x00000000u, 0x00000000u,
},
/**< All events high priority: except clkstop for unused clocks
* and PCIE events */
};

esmErrorConfig.groupNumber = 1;
esmErrorConfig.bitNumber = 3;
retVal = ESM_error_insert (SDL_ESM_INST_MAIN_ESM0, &esmErrorConfig);

Thank you,