MPC5748G SWT

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

MPC5748G SWT

跳至解决方案
1,784 次查看
徐工2024
Contributor II

Hi:
Question: Is there a limit to the number of SWT overflows?
I would like to ask some questions about SWT. The situation I have encountered now is that I do not feed the dog to SWT, but after the program is reset by SWT for 15 times each time, the development board will be in a state of constant reset, and only after the development board is restarted can it be run again. For this limit of times, is there a corresponding register that can be checked? I am a novice, read for a long time without the relevant description, finally my English is very poor, hope someone can help me.
thank you

标记 (1)
0 项奖励
回复
1 解答
1,765 次查看
petervlna
NXP TechSupport
NXP TechSupport

Hello,

Question: Is there a limit to the number of SWT overflows?

There is no such limit, if you do not set it in SWT Control Register (SWTx_CR):

petervlna_0-1739949853538.png

program is reset by SWT for 15 times each time, the development board will be in a state of constant reset,

Ok, that is clearly enabled destructive reset escalation on default 0xF. 

petervlna_2-1739950077377.png

petervlna_3-1739950144625.png

Best regards,

Peter

 

 

 

在原帖中查看解决方案

0 项奖励
回复
3 回复数
1,766 次查看
petervlna
NXP TechSupport
NXP TechSupport

Hello,

Question: Is there a limit to the number of SWT overflows?

There is no such limit, if you do not set it in SWT Control Register (SWTx_CR):

petervlna_0-1739949853538.png

program is reset by SWT for 15 times each time, the development board will be in a state of constant reset,

Ok, that is clearly enabled destructive reset escalation on default 0xF. 

petervlna_2-1739950077377.png

petervlna_3-1739950144625.png

Best regards,

Peter

 

 

 

0 项奖励
回复
1,757 次查看
徐工2024
Contributor II

Hi,
Thank you so much, Peter, for solving my problem.
Best regards,

Mir Xu-2024

0 项奖励
回复
1,769 次查看
徐工2024
Contributor II

This is my configuration

2024_0-1739928327851.png

 

 

0 项奖励
回复
%3CLINGO-SUB%20id%3D%22lingo-sub-2046324%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EMPC5748G%20SWT%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2046324%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E4%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%BD%E4%B9%85%E9%83%BD%E6%B2%A1%E6%9C%89%E7%9B%B8%E5%85%B3%E7%9A%84%E6%8F%8F%E8%BF%B0%EF%BC%8C%E6%9C%80%E5%90%8E%E6%88%91%E7%9A%84%E8%8B%B1%E6%96%87%E5%BE%88%E5%B7%AE%EF%BC%8C%E5%B8%8C%E6%9C%9B%E6%9C%89%E4%BA%BA%E8%83%BD%E5%B8%AE%E5%8A%A9%E6%88%91%E3%80%82%3CBR%20%2F%3E%E8%B0%A2%E8%B0%A2%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2047079%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9AMPC5748G%20SWT%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2047079%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E4%BD%A0%E5%A5%BD%EF%BC%8C%3CBR%20%2F%3E%E9%9D%9E%E5%B8%B8%E6%84%9F%E8%B0%A2%E4%BD%A0%EF%BC%8C%E5%BD%BC%E5%BE%97%EF%BC%8C%E8%A7%A3%E5%86%B3%E4%BA%86%E6%88%91%E7%9A%84%E9%97%AE%E9%A2%98%E3%80%82%3CBR%20%2F%3E%3CSPAN%3E%E6%AD%A4%E8%87%B4%EF%BC%8C%3C%2FSPAN%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%E5%92%8C%E5%B9%B3%E5%8F%B7X-2024%3C%2FP%3E%3C%2FLINGO-BODY%3E