S32K Design studio Example EIM

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S32K Design studio Example EIM

879 Views
tkdwofl
Contributor III

i want to know that Value is '1' high or '0' low because program ex. is incorrect.

why!!! LED is off when value is '1'.....

i don't understand....

 

Please help me..

 

i don't speak English well.

Thanks for taking my question.

Tags (3)
2 Replies

721 Views
Catosh
Contributor IV

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.

0 Kudos

721 Views
jiri_kral
NXP Employee
NXP Employee

Hi, 

as you can see from EVB schematics - the LEDs are permanently connected to VDD and you are grounding them by I/O pins: 

pastedImage_1.png

Jiri