FS4500 Watchdog Disable for Reprogramming

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

FS4500 Watchdog Disable for Reprogramming

832 Views
GGLee
Contributor I

Hi NXP Team,

We are using FS4500 with TC3xx Series.

 

For using reprogramming, we understand that Watchdog Disable is needed.

Below is the procedure we used.

First, call FS65_RequestReset (setting RSTB_REQ of SF_OUTPUT_REQUEST).

And, send WD_WINDOW to 0000(Disable, in INIT phase only).

Finally, Watchdog Refresh within 256ms.

 

Question 1: Are there any additional steps required?

Question 2: There are cases where MCU reset is necessary during the reprogramming procedure. In this case, can I use those Steps again?

 

Regards,

GGL.

0 Kudos
Reply
1 Reply

813 Views
TomasVaverka
NXP TechSupport
NXP TechSupport

Hi Gowoon,

1. Your current sequence is correct:

Enter INIT_FS by asserting RSTB_REQ
Set WD_WINDOW = 0b0000 to disable the watchdog (valid only in INIT_FS)
Perform one correct watchdog refresh within 256ms

We also recommend disabling FCCU monitoring to prevent unintended FCCU error detection during programming. This is done by writing IO_23_FS = 0 in the INIT_FSSM register.

Once programming is complete, issue another RSTB_REQ reset so that the new software starts and the watchdog becomes active again.

2. Yes, the entire sequence can be repeated at any time.

BRs, Tomas

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2315546%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EFS4500%20Watchdog%20Disable%20for%20Reprogramming%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2315546%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20NXP%20Team%2C%3C%2FP%3E%3CP%3EWe%20are%20using%20FS4500%20with%20TC3xx%20Series.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EFor%20using%20reprogramming%2C%20we%20understand%20that%20Watchdog%20Disable%20is%20needed.%3C%2FP%3E%3CP%3EBelow%20is%20the%20procedure%20we%20used.%3C%2FP%3E%3CP%3EFirst%2C%20call%20FS65_RequestReset%20(setting%20RSTB_REQ%20of%20SF_OUTPUT_REQUEST).%3C%2FP%3E%3CP%3EAnd%2C%20send%20WD_WINDOW%20to%200000(Disable%2C%20in%20INIT%20phase%20only).%3C%2FP%3E%3CP%3EFinally%2C%20Watchdog%20Refresh%20within%20256ms.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EQuestion%201%3A%20Are%20there%20any%20additional%20steps%20required%3F%3C%2FP%3E%3CP%3EQuestion%202%3A%20There%20are%20cases%20where%20MCU%20reset%20is%20necessary%20during%20the%20reprogramming%20procedure.%20In%20this%20case%2C%20can%20I%20use%20those%20Steps%20again%3F%3C%2FP%3E%3CBR%20%2F%3E%3CP%3ERegards%2C%3C%2FP%3E%3CP%3EGGL.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2315783%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20FS4500%20Watchdog%20Disable%20for%20Reprogramming%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2315783%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20Gowoon%2C%3C%2FP%3E%0A%3CP%3E1.%26nbsp%3BYour%20current%20sequence%20is%20correct%3A%3C%2FP%3E%0A%3CP%3EEnter%20INIT_FS%20by%20asserting%20RSTB_REQ%3CBR%20%2F%3ESet%20WD_WINDOW%20%3D%200b0000%20to%20disable%20the%20watchdog%20(valid%20only%20in%20INIT_FS)%3CBR%20%2F%3EPerform%20one%20correct%20watchdog%20refresh%20within%20256ms%3C%2FP%3E%0A%3CP%3EWe%20also%20recommend%20disabling%20FCCU%20monitoring%20to%20prevent%20unintended%20FCCU%20error%20detection%20during%20programming.%20This%20is%20done%20by%20writing%20IO_23_FS%20%3D%200%20in%20the%20INIT_FSSM%20register.%3C%2FP%3E%0A%3CP%3EOnce%20programming%20is%20complete%2C%20issue%20another%20RSTB_REQ%20reset%20so%20that%20the%20new%20software%20starts%20and%20the%20watchdog%20becomes%20active%20again.%3C%2FP%3E%0A%3CP%3E2.%26nbsp%3BYes%2C%20the%20entire%20sequence%20can%20be%20repeated%20at%20any%20time.%3C%2FP%3E%0A%3CP%3EBRs%2C%20Tomas%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2317501%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20FS4500%20Watchdog%20Disable%20for%20Reprogramming%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2317501%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20Tomas%20Vaverka%2C%3C%2FP%3E%3CP%3EThank%20you%20for%20confirming.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EAccording%20to%20the%20scenario%2C%20Watchdog%20Disable%20is%20activated%20normally.%3C%2FP%3E%3CP%3EHowever%2C%20if%20multiple%20resets%20are%20processed%20during%20the%20reprogramming%20process%2C%20Watchdog%20Disable%20may%20not%20work.%3CBR%20%2F%3EThis%20case%20only%20occurs%20during%20the%20first%20reprogramming%20after%20power%20on.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EBelow%20is%20the%20RSTB%20pin%20signal%20in%20normal%20cases.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22GGLee_0-1770949692374.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22GGLee_0-1770949692374.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F376716i626564983EB53A9F%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22GGLee_0-1770949692374.png%22%20alt%3D%22GGLee_0-1770949692374.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EAnd%20the%20following%20is%20a%20case%20of%20Watchdog%20reset%20occurs.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22GGLee_1-1770949718033.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22GGLee_1-1770949718033.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F376717iC0D34E8E843EE9C8%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22GGLee_1-1770949718033.png%22%20alt%3D%22GGLee_1-1770949718033.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3CP%3EPlease%20let%20me%20know%20if%20there%20is%20anything%20that%20can%20help%20if%20you%20have%20these%20symptoms.%3C%2FP%3E%3CBR%20%2F%3E%3CP%3ERegards%2C%3CBR%20%2F%3ELee.%3C%2FP%3E%3C%2FLINGO-BODY%3E