This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM3354: Reset source issue with soft reset

Part Number: AM3354

Hi there 

i am facing the issue  with  getting the real reason of reboot.

i know There is a booting parameters structure that contains this information in  section 26.1.10.2 of the AM335X TRM.

which tells as below things.  

Current reset reason bit mask
(bit=1-event present)
[0] – Power-on (cold) reset
[1] – Global warm software
reset
[2] – Reserved
09h Reset Reason 1 [3] – Reserved
[4] – WDT1 timer reset
[5] – Global external warm reset

Other bits – Reserved

Note: ROM code does not
clear any of these bits.

Now Problem:

value of  the register  it goes like below

1: at Power cycle is  0x01 ( which is OK as its comming from  Power-on (cold) reset)

2: at Software  its is 0x03 ( which is also ok )

3: at watchDog, i got 0x13 ( which tell my Uboot this reboot is  due to WDT time out , which is also OK)

but now if i reboot (reset)  then also i alware gets it 0x13 which is wrong because this time its coming from a Global warm software reset So it should be 0x03 or atleast wdt bit should be Zero but i always find it 1 untill i do the power cycle.