S32K Flash Watchdog DISABLE

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

S32K Flash Watchdog DISABLE

939 Views
kjy106906
Contributor IV

I have al questions.
I am doing Dataflash write using the c40 maininterface write function.
I am trying to dataflash write by setting high the PGM of the MCR and setting high the EHV of the MCR, but writing to Dataflash is not possible because WDI is set.
Why is MCRS's WDI SET?
Also, in this case, is there a way to clear the WDI of the MCRS before setting high the PGM and EHV of the MCR

or Can I disable the Flash WDI? (How can I control AMCR Register?)

Tags (2)
0 Kudos
Reply
3 Replies

922 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @kjy106906,

As per the RM (21.5.3 Program and erase watchdog timer), it can be disabled through the alternate MCR (AMCR[WDD]), however, this interface is used exclusively by the HSE_B.

To clear the flag, terminate the operation ERS = 0, PGM = 0.

danielmartynek_0-1705926364854.png

 

Regards,

Daniel

 

0 Kudos
Reply

918 Views
kjy106906
Contributor IV

Thank you very much. @danielmartynek 
But I didn't understand about "however, this interface is used exclusively by the HSE_B"
So how can I change the settings (Disable or timeout) of Flash WDI?

0 Kudos
Reply

866 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @kjy106906,

It can be disabled in AMCR, as already mentioned.

The Main interface (MCR) is allocated to the application cores whereas the Alternate interface (AMCR) is allocated to HSE_B (Hardware security engine).

All the HSE_B, HSE_FW information is available in Secure Files under NDA.

 

Best regards,

Daniel

0 Kudos
Reply