Preventing erroneous activation of debug mode (SM_047 in the S32 Safety manual)

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

Preventing erroneous activation of debug mode (SM_047 in the S32 Safety manual)

跳至解决方案
375 次查看
Matthias_LEHMANN
Contributor III

Hello,

I'm a bit confused about SM_047 in the S32 Safety Manual. The cookbook (examples for implemting the assumptions from the safety manual, downloaded as draft from another post) says that this assumption is fulfilled if it is ensured that no debugging device is connected (essentially a process barrier, maybe also a physical one if the correspondint pads are not accessible). However, the following sentence states that debugging should also be disabled in the field. Is this already achieved by not connecting any debugging devices (i.e. essentially by the first sentence) or does this second sentence imply that an additional HW-barrier is also required? Specifically, the safety manual states that JTAG-TMS should be pulled low. If that's the case however, it looks like it's not possible to programm the controller anymore? We use SWD-DIO to programm the controller during production. Once fully assembled, the controller is in its casing and this interface is physically not accessible anymore. Would that satisfy the assumption, even if JTAG-TMS is not permanently pulled low by a resistor?

What's the recommended solution to prevent erroneous activation of debug mode in the field, but at the same time allow debugging and programming the controller during production?

Best regards

Matthias

\\// Matthias
0 项奖励
1 解答
356 次查看
aarul
NXP Employee
NXP Employee

Hi

The JTAG TMS pin should be pulled high as indicated in latest Safety Manual - Rev6. I believe pulling it high should not impact your debugger connection during production.

Please let us know if this is still an issue.

Regards

-Aarul

在原帖中查看解决方案

2 回复数
350 次查看
Matthias_LEHMANN
Contributor III

Thanks aarul, the implementation hint in Rev 6 of the safety manual now suggests the opposite solution compared to Rev 5, which makes more sense and makes implementation straightforward. Your answer and the corrected safety manual now close this topic - thanks again.

\\// Matthias
0 项奖励
357 次查看
aarul
NXP Employee
NXP Employee

Hi

The JTAG TMS pin should be pulled high as indicated in latest Safety Manual - Rev6. I believe pulling it high should not impact your debugger connection during production.

Please let us know if this is still an issue.

Regards

-Aarul