FS26 CAN'T NOT RESET S32K3

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

FS26 CAN'T NOT RESET S32K3

2,319 Views
Wade0905
Contributor I

I am developing on the S32K314 with the FS26, using the RTD layer.
Currently, I am facing an issue with the FS26 can't reset MCU.
The FS26 successfully enters the NORMAL state, but when I intentionally stop feeding the watchdog, the RSTB pin is not pulled LOW, and the MCU is not reset.
Could you help me check what might be wrong? Thank you.

Please refer to the attached images for my configuration settings and the steps I used for the initialization.

 

SETTING1.pngSETTING2.pngSETTING3.pngCODE1.pngCODE2.pngCODE3.png

 

 

0 Kudos
Reply
6 Replies

2,112 Views
petervlna
NXP TechSupport
NXP TechSupport

Hello,

that is strange.

I had checked your registers:

If you read it back from FS26 is it really in normal mode?
Wade : Yes, I read FS_STATES by spi and it return 1011(normal).

1. your WDOG is not active

Wade : I read FS_I_WD_CFG by spi and it return 0101 1010 0001 0000 which same as my config.

petervlna_0-1764843020748.png

WD_FS_REACTION[1:0]

petervlna_1-1764843054702.png

Such config will trigger reset if the device is not in the debug mode.

2. you are in debug mode.

Wade : No, I read FS_STATES by spi and it return 1011(Not in DEBUG MODE).

That points to normal mode.

I am not sure what is happening at your side.

Can you check the reset line via scope, to see the reset is not pulled. Also do you see the same behaviour on NXP evaluation board?

What about debug pin, isnt it active?

By default, without any SBC configuration you reset is triggered, so there must be something in your SBC config which prevents reset to be executed from SBC to uC.

Did you tried our example SW for FS26 supplied with RTD package?

petervlna_2-1764846698425.png

Best regards,

Peter

 

0 Kudos
Reply

2,237 Views
petervlna
NXP TechSupport
NXP TechSupport

Hello,

Ok, thank you for explanation.

Besides, you also can see my configuration as attached, I select Debug mode exit.

OK, that is just checkbox in config GUI.

If you read it back from FS26 is it really in normal mode?

petervlna_0-1764660041119.png

I tried flashing a version without any FS26 initialization, and in that version the FS26 continuously resets the MCU.

If FS26 was not initialized the WDOG will issue reset and reset phase will automatically start again.

Initialization phase must be closed with a good watchdog refresh before the 256 ms timeout. In case no watchdog refresh or a bad watchdog is sent during the initialization phase, an RSTB pulse is generated and the fault error counter is incremented by 1. A new initialization phase is automatically started when RSTB is released. 

But debug mode is also held by debug pin active. But since the reset comes in case no init is done, I expect you do not have debug pin active.

However, when I flash back the version I provided to you (the software that includes the FS26 initialization), the FS26 no longer resets the MCU.

So, seems to me directly related to the code.

So there could be only 2 options I assume.

1. your WDOG is not active

2. you are in debug mode.

Otherwise the FS26 is issuing reset.

You can add check for FS26 mode Debug Mode Detection, to make sure after init of the SBC it is not in debug mode.

Also check  FS_I_WD_CFG 

petervlna_1-1764661359151.png

Best regards,

Peter

 

 

 

0 Kudos
Reply

2,210 Views
Wade0905
Contributor I

Hi Peter,

Please see my response in blue. Thanks.
Still haven’t found the root cause of why the watchdog does not trigger an MCU reset.


If you read it back from FS26 is it really in normal mode?
Wade : Yes, I read FS_STATES by spi and it return 1011(normal).

1. your WDOG is not active

Wade : I read FS_I_WD_CFG by spi and it return 0101 1010 0001 0000 which same as my config.

2. you are in debug mode.

Wade : No, I read FS_STATES by spi and it return 1011(Not in DEBUG MODE).

NORMAL & NOT IN DEBUG MODE.jpgNORMAL & NOT IN DEBUG MODE.jpgFS26_FS_I_WD_CFG_CODE.jpg

0 Kudos
Reply

2,166 Views
Wade0905
Contributor I

Hi Peter,

I missed one image in my previous post.
Please refer to it as well. Thank you.


FS_I_WD_CFG.jpg

0 Kudos
Reply

2,294 Views
petervlna
NXP TechSupport
NXP TechSupport

Hello,

Could you share if you are using NXP evaluation board or your custom board?

Make sure your FS26 is not in debug mode. In such case the WDOG is disabled and will not react on timeout.

Best regards,

Peter

0 Kudos
Reply

2,277 Views
Wade0905
Contributor I

Hi Peter,

Thanks for your response.

I am developing on a custom board, and I can confirm that the hardware has already exited DEBUG MODE.
I tried flashing a version without any FS26 initialization, and in that version the FS26 continuously resets the MCU.
However, when I flash back the version I provided to you (the software that includes the FS26 initialization), the FS26 no longer resets the MCU.

Besides, you also can see my configuration as attached, I select Debug mode exit.

Please help to check whether there are any mistakes in the FS26 initialization process. Thank you.SETTING4.png

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2252064%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EFS26%20CAN'T%20NOT%20RESET%20S32K3%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2252064%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI%20am%20developing%20on%20the%20S32K314%20with%20the%20FS26%2C%20using%20the%20RTD%20layer.%3CBR%20%2F%3ECurrently%2C%20I%20am%20facing%20an%20issue%20with%20the%20FS26%20can't%20reset%20MCU.%3CBR%20%2F%3EThe%20FS26%20successfully%20enters%20the%20NORMAL%20state%2C%20but%20when%20I%20intentionally%20stop%20feeding%20the%20watchdog%2C%20the%20RSTB%20pin%20is%20not%20pulled%20LOW%2C%20and%20the%20MCU%20is%20not%20reset.%3CBR%20%2F%3ECould%20you%20help%20me%20check%20what%20might%20be%20wrong%3F%20Thank%20you.%3CBR%20%2F%3E%3CBR%20%2F%3EPlease%20refer%20to%20the%20attached%20images%20for%20my%20configuration%20settings%20and%20the%20steps%20I%20used%20for%20the%20initialization.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22SETTING1.png%22%20style%3D%22width%3A%20969px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22SETTING1.png%22%20style%3D%22width%3A%20969px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22SETTING1.png%22%20style%3D%22width%3A%20969px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22SETTING1.png%22%20style%3D%22width%3A%20969px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22SETTING1.png%22%20style%3D%22width%3A%20969px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22SETTING1.png%22%20style%3D%22width%3A%20969px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F367935i4657B15BF27CF19C%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22SETTING1.png%22%20alt%3D%22SETTING1.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22SETTING2.png%22%20style%3D%22width%3A%20938px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22SETTING2.png%22%20style%3D%22width%3A%20938px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22SETTING2.png%22%20style%3D%22width%3A%20938px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22SETTING2.png%22%20style%3D%22width%3A%20938px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22SETTING2.png%22%20style%3D%22width%3A%20938px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22SETTING2.png%22%20style%3D%22width%3A%20938px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F367936iAA75740E8ACE2A53%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22SETTING2.png%22%20alt%3D%22SETTING2.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22SETTING3.png%22%20style%3D%22width%3A%20287px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22SETTING3.png%22%20style%3D%22width%3A%20287px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22SETTING3.png%22%20style%3D%22width%3A%20287px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22SETTING3.png%22%20style%3D%22width%3A%20287px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22SETTING3.png%22%20style%3D%22width%3A%20287px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22SETTING3.png%22%20style%3D%22width%3A%20287px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F367934i539188658DC7CB1E%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22SETTING3.png%22%20alt%3D%22SETTING3.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22CODE1.png%22%20style%3D%22width%3A%20925px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22CODE1.png%22%20style%3D%22width%3A%20925px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22CODE1.png%22%20style%3D%22width%3A%20925px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22CODE1.png%22%20style%3D%22width%3A%20925px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22CODE1.png%22%20style%3D%22width%3A%20925px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22CODE1.png%22%20style%3D%22width%3A%20925px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F367939iCB714049AD7230B9%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22CODE1.png%22%20alt%3D%22CODE1.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22CODE2.png%22%20style%3D%22width%3A%20620px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22CODE2.png%22%20style%3D%22width%3A%20620px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22CODE2.png%22%20style%3D%22width%3A%20620px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22CODE2.png%22%20style%3D%22width%3A%20620px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22CODE2.png%22%20style%3D%22width%3A%20620px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22CODE2.png%22%20style%3D%22width%3A%20620px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F367938i09F0CCB8F4F35DC9%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22CODE2.png%22%20alt%3D%22CODE2.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22CODE3.png%22%20style%3D%22width%3A%20743px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22CODE3.png%22%20style%3D%22width%3A%20743px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22CODE3.png%22%20style%3D%22width%3A%20743px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22CODE3.png%22%20style%3D%22width%3A%20743px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22CODE3.png%22%20style%3D%22width%3A%20743px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22CODE3.png%22%20style%3D%22width%3A%20743px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F367937i0C901D6BAC11061D%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22CODE3.png%22%20alt%3D%22CODE3.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2252608%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20FS26%20CAN'T%20NOT%20RESET%20S32K3%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2252608%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CSPAN%3EPeter%2C%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EThanks%20for%20your%20response.%3CBR%20%2F%3E%3CBR%20%2F%3EI%20am%20developing%20on%20a%20custom%20board%2C%20and%20I%20can%20confirm%20that%20the%20hardware%20has%20already%20exited%20DEBUG%20MODE.%3CBR%20%2F%3EI%20tried%20flashing%20a%20version%20%3CSTRONG%3Ewithout%20any%20FS26%20initialization%3C%2FSTRONG%3E%2C%20and%20in%20that%20version%20the%20FS26%20continuously%20resets%20the%20MCU.%3CBR%20%2F%3EHowever%2C%20when%20I%20flash%20back%20the%20version%20I%20provided%20to%20you%20(the%20software%20that%20includes%20the%20FS26%20initialization)%2C%20the%20FS26%20no%20longer%20resets%20the%20MCU.%3CBR%20%2F%3E%3CBR%20%2F%3EBesides%2C%20you%20also%20can%20see%20my%20configuration%20as%20attached%2C%20I%20select%20Debug%20mode%20exit.%3C%2FP%3E%3CP%3EPlease%20help%20to%20check%20whether%20there%20are%20any%20mistakes%20in%20the%20FS26%20initialization%20process.%20Thank%20you.%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22SETTING4.png%22%20style%3D%22width%3A%20994px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22SETTING4.png%22%20style%3D%22width%3A%20994px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22SETTING4.png%22%20style%3D%22width%3A%20994px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22SETTING4.png%22%20style%3D%22width%3A%20994px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22SETTING4.png%22%20style%3D%22width%3A%20994px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22SETTING4.png%22%20style%3D%22width%3A%20994px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F368083iD604E3D7D1508875%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22SETTING4.png%22%20alt%3D%22SETTING4.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2252300%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20FS26%20CAN'T%20NOT%20RESET%20S32K3%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2252300%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3C%2FP%3E%0A%3CP%3ECould%20you%20share%20if%20you%20are%20using%20NXP%20evaluation%20board%20or%20your%20custom%20board%3F%3C%2FP%3E%0A%3CP%3EMake%20sure%20your%20FS26%20is%20not%20in%20debug%20mode.%20In%20such%20case%20the%20WDOG%20is%20disabled%20and%20will%20not%20react%20on%20timeout.%3C%2FP%3E%0A%3CP%3EBest%20regards%2C%3C%2FP%3E%0A%3CP%3EPeter%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2253577%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20FS26%20CAN'T%20NOT%20RESET%20S32K3%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2253577%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20Peter%2C%3C%2FP%3E%3CP%3EPlease%20see%20my%20response%20in%20%3CFONT%20color%3D%22%230000FF%22%3Eblue%3C%2FFONT%3E.%20Thanks.%3CBR%20%2F%3EStill%20haven%E2%80%99t%20found%20the%20root%20cause%20of%20why%20the%20watchdog%20does%20not%20trigger%20an%20MCU%20reset.%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EIf%20you%20read%20it%20back%20from%20FS26%20is%20it%20really%20in%20normal%20mode%3F%3CBR%20%2F%3E%3CFONT%20color%3D%22%230000FF%22%3EWade%20%3A%20Yes%2C%20I%20read%26nbsp%3BFS_STATES%20by%20spi%20and%20it%20return%201011(normal).%3C%2FFONT%3E%3C%2FP%3E%3CP%3E1.%20your%20WDOG%20is%20not%20active%3C%2FP%3E%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3EWade%20%3A%26nbsp%3BI%20read%26nbsp%3B%3CSPAN%3EFS_I_WD_CFG%26nbsp%3Bby%20spi%20and%20it%20return%26nbsp%3B0101%201010%200001%200000%20which%20same%20as%20my%20config.%3C%2FSPAN%3E%3C%2FFONT%3E%3C%2FP%3E%3CP%3E2.%20you%20are%20in%20debug%20mode.%3C%2FP%3E%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3EWade%20%3A%20No%2C%20I%20read%26nbsp%3BFS_STATES%20by%20spi%20and%20it%20return%201011(Not%20in%20DEBUG%20MODE).%3CBR%20%2F%3E%3CBR%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22NORMAL%20%26amp%3B%20NOT%20IN%20DEBUG%20MODE.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22NORMAL%20%26amp%3B%20NOT%20IN%20DEBUG%20MODE.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22NORMAL%20%26amp%3B%20NOT%20IN%20DEBUG%20MODE.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22NORMAL%20%26amp%3B%20NOT%20IN%20DEBUG%20MODE.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22NORMAL%20%26amp%3B%20NOT%20IN%20DEBUG%20MODE.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F368321i7639AE0764FD3350%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22NORMAL%20%26amp%3B%20NOT%20IN%20DEBUG%20MODE.jpg%22%20alt%3D%22NORMAL%20%26amp%3B%20NOT%20IN%20DEBUG%20MODE.jpg%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22NORMAL%20%26amp%3B%20NOT%20IN%20DEBUG%20MODE.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22NORMAL%20%26amp%3B%20NOT%20IN%20DEBUG%20MODE.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22NORMAL%20%26amp%3B%20NOT%20IN%20DEBUG%20MODE.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22NORMAL%20%26amp%3B%20NOT%20IN%20DEBUG%20MODE.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22NORMAL%20%26amp%3B%20NOT%20IN%20DEBUG%20MODE.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F368322i097A8B3A9AE66489%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22NORMAL%20%26amp%3B%20NOT%20IN%20DEBUG%20MODE.jpg%22%20alt%3D%22NORMAL%20%26amp%3B%20NOT%20IN%20DEBUG%20MODE.jpg%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22FS26_FS_I_WD_CFG_CODE.jpg%22%20style%3D%22width%3A%20701px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22FS26_FS_I_WD_CFG_CODE.jpg%22%20style%3D%22width%3A%20701px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22FS26_FS_I_WD_CFG_CODE.jpg%22%20style%3D%22width%3A%20701px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22FS26_FS_I_WD_CFG_CODE.jpg%22%20style%3D%22width%3A%20701px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22FS26_FS_I_WD_CFG_CODE.jpg%22%20style%3D%22width%3A%20701px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F368323iA24F2B3F1931D4BB%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22FS26_FS_I_WD_CFG_CODE.jpg%22%20alt%3D%22FS26_FS_I_WD_CFG_CODE.jpg%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3CBR%20%2F%3E%3C%2FFONT%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2252908%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20FS26%20CAN'T%20NOT%20RESET%20S32K3%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2252908%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3C%2FP%3E%0A%3CP%3EOk%2C%20thank%20you%20for%20explanation.%3C%2FP%3E%0A%3CBLOCKQUOTE%3E%0A%3CP%3EBesides%2C%20you%20also%20can%20see%20my%20configuration%20as%20attached%2C%20I%20select%20Debug%20mode%20exit.%3C%2FP%3E%0A%3C%2FBLOCKQUOTE%3E%0A%3CP%3EOK%2C%20that%20is%20just%20checkbox%20in%20config%20GUI.%3C%2FP%3E%0A%3CP%3EIf%20you%20read%20it%20back%20from%20FS26%20is%20it%20really%20in%20normal%20mode%3F%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22petervlna_0-1764660041119.png%22%20style%3D%22width%3A%20602px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22petervlna_0-1764660041119.png%22%20style%3D%22width%3A%20602px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22petervlna_0-1764660041119.png%22%20style%3D%22width%3A%20602px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22petervlna_0-1764660041119.png%22%20style%3D%22width%3A%20602px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F368163i0BB191519CD6AD4D%2Fimage-dimensions%2F602x160%3Fv%3Dv2%22%20width%3D%22602%22%20height%3D%22160%22%20role%3D%22button%22%20title%3D%22petervlna_0-1764660041119.png%22%20alt%3D%22petervlna_0-1764660041119.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBLOCKQUOTE%3E%0A%3CP%3EI%20tried%20flashing%20a%20version%20%3CSTRONG%3Ewithout%20any%20FS26%20initialization%3C%2FSTRONG%3E%2C%20and%20in%20that%20version%20the%20FS26%20continuously%20resets%20the%20MCU.%3C%2FP%3E%0A%3C%2FBLOCKQUOTE%3E%0A%3CP%3EIf%20FS26%20was%20not%20initialized%20the%20WDOG%20will%20issue%20reset%20and%20reset%20phase%20will%20automatically%20start%20again.%3C%2FP%3E%0A%3CP%3E%3CEM%3EInitialization%20phase%20must%20be%20closed%20with%20a%20good%20watchdog%20refresh%20before%20the%20256%20ms%20timeout.%20In%20case%20no%20watchdog%20refresh%20or%20a%20bad%20watchdog%20is%20sent%20during%20the%20initialization%20phase%2C%20an%20RSTB%20pulse%20is%20generated%20and%20the%20fault%20error%20counter%20is%20incremented%20by%201.%20A%20new%20initialization%20phase%20is%20automatically%20started%20when%20RSTB%20is%20released.%26nbsp%3B%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3EBut%20debug%20mode%20is%20also%20held%20by%20debug%20pin%20active.%20But%20since%20the%20reset%20comes%20in%20case%20no%20init%20is%20done%2C%20I%20expect%20you%20do%20not%20have%20debug%20pin%20active.%3C%2FP%3E%0A%3CBLOCKQUOTE%3E%0A%3CP%3EHowever%2C%20when%20I%20flash%20back%20the%20version%20I%20provided%20to%20you%20(the%20software%20that%20includes%20the%20FS26%20initialization)%2C%20the%20FS26%20no%20longer%20resets%20the%20MCU.%3C%2FP%3E%0A%3C%2FBLOCKQUOTE%3E%0A%3CP%3ESo%2C%20seems%20to%20me%20directly%20related%20to%20the%20code.%3C%2FP%3E%0A%3CP%3ESo%20there%20could%20be%20only%202%20options%20I%20assume.%3C%2FP%3E%0A%3CP%3E1.%20your%20WDOG%20is%20not%20active%3C%2FP%3E%0A%3CP%3E2.%20you%20are%20in%20debug%20mode.%3C%2FP%3E%0A%3CP%3EOtherwise%20the%20FS26%20is%20issuing%20reset.%3C%2FP%3E%0A%3CP%3EYou%20can%20add%20check%20for%20FS26%20mode%26nbsp%3BDebug%20Mode%20Detection%2C%20to%20make%20sure%20after%20init%20of%20the%20SBC%20it%20is%20not%20in%20debug%20mode.%3C%2FP%3E%0A%3CP%3EAlso%20check%26nbsp%3B%E2%80%87FS_I_WD_CFG%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22petervlna_1-1764661359151.png%22%20style%3D%22width%3A%20806px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22petervlna_1-1764661359151.png%22%20style%3D%22width%3A%20806px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22petervlna_1-1764661359151.png%22%20style%3D%22width%3A%20806px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22petervlna_1-1764661359151.png%22%20style%3D%22width%3A%20806px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F368170iE5EE6C8457E19EF3%2Fimage-dimensions%2F806x133%3Fv%3Dv2%22%20width%3D%22806%22%20height%3D%22133%22%20role%3D%22button%22%20title%3D%22petervlna_1-1764661359151.png%22%20alt%3D%22petervlna_1-1764661359151.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EBest%20regards%2C%3C%2FP%3E%0A%3CP%3EPeter%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CBR%20%2F%3E%0A%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2254674%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20FS26%20CAN'T%20NOT%20RESET%20S32K3%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2254674%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20Peter%2C%3C%2FP%3E%3CP%3EI%20missed%20one%20image%20in%20my%20previous%20post.%3CBR%20%2F%3EPlease%20refer%20to%20it%20as%20well.%20Thank%20you.%3C%2FP%3E%3CP%3E%3CBR%20%2F%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22FS_I_WD_CFG.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22FS_I_WD_CFG.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22FS_I_WD_CFG.jpg%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F368491i9CF2E90F576C1EB0%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22FS_I_WD_CFG.jpg%22%20alt%3D%22FS_I_WD_CFG.jpg%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2255247%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20FS26%20CAN'T%20NOT%20RESET%20S32K3%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2255247%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3C%2FP%3E%0A%3CP%3Ethat%20is%20strange.%3C%2FP%3E%0A%3CP%3EI%20had%20checked%20your%20registers%3A%3C%2FP%3E%0A%3CP%3EIf%20you%20read%20it%20back%20from%20FS26%20is%20it%20really%20in%20normal%20mode%3F%3CBR%20%2F%3E%3CFONT%20color%3D%22%230000FF%22%3EWade%20%3A%20Yes%2C%20I%20read%26nbsp%3BFS_STATES%20by%20spi%20and%20it%20return%201011(normal).%3C%2FFONT%3E%3C%2FP%3E%0A%3CBLOCKQUOTE%3E%0A%3CP%3E1.%20your%20WDOG%20is%20not%20active%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3EWade%20%3A%26nbsp%3BI%20read%26nbsp%3B%3CSPAN%3EFS_I_WD_CFG%26nbsp%3Bby%20spi%20and%20it%20return%26nbsp%3B0101%201010%200001%200000%20which%20same%20as%20my%20config.%3C%2FSPAN%3E%3C%2FFONT%3E%3C%2FP%3E%0A%3C%2FBLOCKQUOTE%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22petervlna_0-1764843020748.png%22%20style%3D%22width%3A%20253px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22petervlna_0-1764843020748.png%22%20style%3D%22width%3A%20253px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F368606i36AA436FE43D838B%2Fimage-dimensions%2F253x58%3Fv%3Dv2%22%20width%3D%22253%22%20height%3D%2258%22%20role%3D%22button%22%20title%3D%22petervlna_0-1764843020748.png%22%20alt%3D%22petervlna_0-1764843020748.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EWD_FS_REACTION%5B1%3A0%5D%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22petervlna_1-1764843054702.png%22%20style%3D%22width%3A%20756px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22petervlna_1-1764843054702.png%22%20style%3D%22width%3A%20756px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F368607iB70BA7197545622C%2Fimage-dimensions%2F756x139%3Fv%3Dv2%22%20width%3D%22756%22%20height%3D%22139%22%20role%3D%22button%22%20title%3D%22petervlna_1-1764843054702.png%22%20alt%3D%22petervlna_1-1764843054702.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3ESuch%20config%20will%20trigger%20reset%20if%20the%20device%20is%20not%20in%20the%20debug%20mode.%3C%2FP%3E%0A%3CBLOCKQUOTE%3E%0A%3CP%3E2.%20you%20are%20in%20debug%20mode.%3C%2FP%3E%0A%3CP%3E%3CFONT%20color%3D%22%230000FF%22%3EWade%20%3A%20No%2C%20I%20read%26nbsp%3BFS_STATES%20by%20spi%20and%20it%20return%201011(Not%20in%20DEBUG%20MODE).%3C%2FFONT%3E%3C%2FP%3E%0A%3C%2FBLOCKQUOTE%3E%0A%3CP%3EThat%20points%20to%20normal%20mode.%3C%2FP%3E%0A%3CP%3EI%20am%20not%20sure%20what%20is%20happening%20at%20your%20side.%3C%2FP%3E%0A%3CP%3ECan%20you%20check%20the%20reset%20line%20via%20scope%2C%20to%20see%20the%20reset%20is%20not%20pulled.%20Also%20do%20you%20see%20the%20same%20behaviour%20on%20NXP%20evaluation%20board%3F%3C%2FP%3E%0A%3CP%3EWhat%20about%20debug%20pin%2C%20isnt%20it%20active%3F%3C%2FP%3E%0A%3CP%3EBy%20default%2C%20without%20any%20SBC%20configuration%20you%20reset%20is%20triggered%2C%20so%20there%20must%20be%20something%20in%20your%20SBC%20config%20which%20prevents%20reset%20to%20be%20executed%20from%20SBC%20to%20uC.%3C%2FP%3E%0A%3CP%3EDid%20you%20tried%20our%20example%20SW%20for%20FS26%20supplied%20with%20RTD%20package%3F%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22petervlna_2-1764846698425.png%22%20style%3D%22width%3A%20641px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22petervlna_2-1764846698425.png%22%20style%3D%22width%3A%20641px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F368617iE99E4917E4D75C46%2Fimage-dimensions%2F641x370%3Fv%3Dv2%22%20width%3D%22641%22%20height%3D%22370%22%20role%3D%22button%22%20title%3D%22petervlna_2-1764846698425.png%22%20alt%3D%22petervlna_2-1764846698425.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EBest%20regards%2C%3C%2FP%3E%0A%3CP%3EPeter%3C%2FP%3E%0A%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E