Hi all,
Recently,i've debug the S32G274 and VR5510.I have some questions want to confirm.
Question1:The 8.12 Entering Debug mode using the VDDOTP pin- step4 in datasheet show "Apply VDDOTP = 0 V to turn on the device with the modified configuration." ,whether that means after meeting the debug entry startup sequence,when VDDOOTP drop-down to 0V, VR5510 is powered on and still in debug mode , all regulators (BUCK1、BUCK2、BUCK3、LDO1、LDO2、LDO3、HVLDO、VBOOST)are turning on?
Question2:If i make some changes in the OTP register on the debug mode,after leaving the debug mode,Whether the changes i have made on debug mode still vaild?
For example,i meet the debug mode entry startup sequence ,and then change the WD_INIT_TIMEOUT_OTP[1:0] in CFG_2_OTP to 11b,which means setting the watchdog init timeout value to 67s.After finishing the thing mention above,i power off the VR5510 and power on again.This time i let the VR5510 enter Normal mode,whether the change i made on debug mode still take effect on normal?
Looking forward to your reply.
Thanks and best regards!
Leo
Solved! Go to Solution.
Hello Leo,
I am pleased to contact you again.
1. I am afraid that during Debug mode all regulators remain off.
2. Note that the VR5510 provides a means of evaluating the device in Debug mode. After the OTP programming, you will not able to modify the OTP registers.
Have you considered using a device already programmed?
3. From the application note AN13182, follow steps in Section 5 "Getting Started" to understand the OTP programming procedure.
I hope this information helps.
Regards,
David
Hello Leo,
I hope all is great with you.
I hope this information helps.
Regards,
David
Hi David,
Thanks for your reply firstly,checking the answer you post,i still have someting want to confirm.
1、Base on my question 1,your answer is " I do recommend to connect the VDDOTP pin to GND to leave the debug mode. The regulators will be on and based on the OTP configuration.",whether that means all the regulators will always be off in the debug mode ,if i want the regulators to be on ,the only thing i can do is leaving the debug mode?Besides, after connecting the VDDOTP pin to GND to leave the debug mode,whether i should feed the watchdog?The demand we want is that let the 5510 enter debug mode so that it does not need to feed the watchdog,meanwhile,the regulators still be on.
2、Base on my question 2,you reply show that the OTP register value will be lost after power down and power on again.That means the change i make will only be vaild in debug mode.How can i change the OTP configuration permanently?The demand of i is change the watchdog init time to 67s but the default value may be 1s.
Hello Leo,
Thank you for using the NXP communities.
I hope this information helps.
Regards,
David
Hi David,
I am still confucing.Please help me to confirm.
1.Is there any way to let the regulators of VR5510 being on and does not need to care of the watchdog so that i can debug the MCU?
We use S32G-RDB2 to develop our program.VR5510 supply the power to S32G.During VR5510 in debug mode,all regulators are off.That means the power of S32G will be cut off.To let the S32G power on,i have to let the VR5510 enter normal mode.When i use the S32 Debug Probe to debug S32G,i may add some breakpoint to test my program.But this may cause the VR5510's watchdog timeout because the MCU is halt at breakpoint.After the watchdog of VR5510 timeout,it may enter fail-safe state and all regulators will be cut off.That means i can not debug the MCU.
2.If i use IIC to change the starting sequence of regulators through MCU,when will it come into effect and whether the changes will be vaild permanently?
3.How to perform an OTP programming?
Regards,
Leo
I have same doubts that you have. How to disable the watchdog to avoid the resets during breakpoints and debugging. @leo_liu2
Hello Leo,
I am pleased to contact you again.
1. I am afraid that during Debug mode all regulators remain off.
2. Note that the VR5510 provides a means of evaluating the device in Debug mode. After the OTP programming, you will not able to modify the OTP registers.
Have you considered using a device already programmed?
3. From the application note AN13182, follow steps in Section 5 "Getting Started" to understand the OTP programming procedure.
I hope this information helps.
Regards,
David
Hi David,
I get it.Thanks for your reply!
Regards,
Leo