cancel
Showing results for 
Search instead for 
Did you mean: 

SPC560P60 after POR no ram init

Peter Vlna
Associate
Posted on June 11, 2018 at 10:33

Hello,

I have encountered problem with my SPC560P60. After power on reset I am stuck at ram init function waiting for POR flag in RGM. My SW distinguish between reset sources and if it is POR I am initializing SRAM.

But in this case I am doing POR and cannot see the corresponding flags after POR and my SW get stuck and reset by SWT.

Peter

#reset #spc56xp60 #rgm
This discussion has been locked for participation. If you have a question, please start a new topic in order to ask your question
3 REPLIES 3
Erwan YVIN
ST Employee
Posted on June 12, 2018 at 09:46

Hello Peter ,

Did you try to reset FES and DES ?

https://community.st.com/0D50X00009XkWgeSAF

Best regards

Erwan

Posted on June 12, 2018 at 21:54

Hi,

ehm, as I have wrote I am analyzing reset sources and if it was POR I am initializing RAM.

If I erase FES and DES what advantage this brings to me?

I know there was POR, as I did power on board, but your micro isn't reporting that in DES.

And therefore my SW crash as I have no RAM initialized.

Peter

Posted on June 13, 2018 at 11:23

Hello Peter ,

Could you check the others flags ?

'The F_POR flag is automatically cleared on a 1.2 V low-voltage detected or a 2.7 V lowvoltage

detected. This means that if the power-up sequence is not monotonic (i.e., the

voltage rises and then drops enough to trigger a low-voltage detection), the F_POR flag

may not be set but instead the <register>F_LVD12 or <register>F_LVD27_VREG flag is set

on exiting the reset sequence. Therefore, if the F_POR, <register>F_LVD12 or

<register>F_LVD27_VREG flags are set on reset exit, software should interpret the reset

cause as power-on.'

           Best regards

                              Erwan