Hello. I use am3352 cpu and Linux 3.2 TI.
I need some memory address, that not reset if am335x reboot by watchdog or software reboot.
I need it to detect if it first boot or reboot.
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.
Hello. I use am3352 cpu and Linux 3.2 TI.
I need some memory address, that not reset if am335x reboot by watchdog or software reboot.
I need it to detect if it first boot or reboot.
Hi Andrei,
The RTC timer has 3 scratchpad registers that are not affected by any reset source, except RTC reset.
Hi Biser. Thank you for support.
Please say name or address of this registers.
All of the information can be found in the TRM
This is your primary referance document. learn to love it :-)
http://www.ti.com/lit/pdf/spruh73
60h RTC_SCRATCH0_REG Scratch 0 Register (General-Purpose) Section 20.3.5.20
64h RTC_SCRATCH1_REG Scratch 1 Register (General-Purpose) Section 20.3.5.21
68h RTC_SCRATCH2_REG Scratch 2 Register (General-Purpose) Section 20.3.5.22