Hi,
a question about the same example from SDK:
it's not clear why when calling
ERM_DRV_GetErrorDetail(INST_ERM1, 0U, &addr);
addr does not contain the address of MEM_TEST_ADDRESS, that is the RAM location the code tried to access but other values.
Furthermore, if double error is generated, would the value of test be different according to the bit we set in channel config?
K.R.
Luca
EDIT:
Solved. When debugging and steppingafter enabling the ecc, the debugger reads back data from the RAM, and this triggers errors from other addresses than expected.
not stepping and placing breakpoints at the right place returned the expected address.
Hi,
as you can see from EVB schematics - the LEDs are permanently connected to VDD and you are grounding them by I/O pins:
Jiri