Option bit/byte in S32k312

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Option bit/byte in S32k312

ソリューションへジャンプ
1,416件の閲覧回数
shivakrishna
Contributor I

Hello NXP team,

i am working on S32k312 controller, in that i want to use option bit/Byte .

can you provide option bit information in that controller.

requesting to help me to provide the option bit/byte related register information 

0 件の賞賛
返信
1 解決策
1,374件の閲覧回数
davidtosenovjan
NXP TechSupport
NXP TechSupport

Can you please explain the context of this question? I'm not entirely clear what it's about.

Thanks

元の投稿で解決策を見る

0 件の賞賛
返信
5 返答(返信)
1,343件の閲覧回数
shivakrishna
Contributor I

Hello NXP team,

Op Bit(Operation bit) is required to avoid the Functional resets , while doing debug. as per my project requirement developed SWT and ExtWDG . but i cant do debug because once create any breakpoint , timer overflow shall be happen and system is going to reset. to avoid this condition in debug mode i need to check the Op Bit based on this i can decide is it debug or release .

0 件の賞賛
返信
1,313件の閲覧回数
davidtosenovjan
NXP TechSupport
NXP TechSupport

So you want to detect in your code, whether MCU is in debug mode or not.

I have found some solution here:

https://stackoverflow.com/questions/59765691/arm-cortex-m-detect-if-debugger-is-in-run-or-debug-mode

DHCSR register contains status fields, containing information about debug state.

davidtosenovjan_0-1693829915917.png

davidtosenovjan_1-1693829938836.png

 

 

0 件の賞賛
返信
1,290件の閲覧回数
shivakrishna
Contributor I

Hello NXP team, 

In S32K312 Datasheet DHCSR register not available. 

and how to control(disable) External watchdog in debug mode in S32K312 controller.

0 件の賞賛
返信
1,246件の閲覧回数
davidtosenovjan
NXP TechSupport
NXP TechSupport

DHCSR register is described in ARM documentation, specifically in the document
DDI0403E_e_armv7m_arm.pdf

as it is pointed by
DDI0489F_cortex_m7_trm.pdf

https://developer.arm.com/documentation/ddi0489/f/?lang=en

https://developer.arm.com/documentation/ddi0403/ee/?lang=en

 

0 件の賞賛
返信
1,375件の閲覧回数
davidtosenovjan
NXP TechSupport
NXP TechSupport

Can you please explain the context of this question? I'm not entirely clear what it's about.

Thanks

0 件の賞賛
返信