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.

TMS570LC4357: FLA12 Idle State Parity Test

Part Number: TMS570LC4357

Hi experts,

We implemented the FLA12 Test of parity Logic. But when we try to test the idle state parity, nothing happens.
We tried what was suggested here: e2e.ti.com/.../tms570lc4357-flash-parity-override-register-how-to-set-a-port-to-idle-state PAR_OVR_KEY#

But even with Diag Mode 7 and Test Mode enabled nothing happens:

What we tried:

Fullscreen
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
volatile uint32_t flashRead;
/* Enable diagnostic mode and select diag mode 7 */
/* DIAG_BUF_SEL [10:8] [10:8] = 0 : Port A selected to flip data/ECC */
/* DIAG_BUF_SEL = 4: Port B selected to flip data/ECC */
flashWREG->FDIAGCTRL = 0x00050007U;
flashWREG->FPAR_OVR = 0x00010000U;
/* enables the parity checking on the access */
flashWREG->FPAR_OVR |= 0x00005A00U;
flashRead = *(volatile uint32_t *) 0x00000008U;
/* disable diagnostic mode */
flashWREG->FDIAGCTRL = 0x000A0007U;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

(Q1) When running this code, nothing happens. Can you me tell what we are doing wrong?

Thank you and best regards,
Max