S32K Design studio Example EIM

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

S32K Design studio Example EIM

1,624 次查看
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.

标记 (3)
2 回复数

1,466 次查看
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 项奖励
回复

1,466 次查看
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