Hi
I am using the TMS570LS0332 in conjunction with the TPS64381, using the TPS's watchdog. TI recommended (and I believe the HDKs are wired this way) connecting the reset line of the TPS to the nPORRST line of the Hercules. I need to know when I get a reset from the TPS, but in the start up code Halcogen generates, both a reset on that line and physically removing power as the same (set bit 15 of the SYSEST register).
How can I tell the difference between the two reset conditions?
Right now I am planning on putting a value at a known address in RAM and setting it to a specific value in my program. I'm assuming if power is lost it will lose its value, but if the nPORRST is pulled low it will retain its value (until the RAM is initialized).
Is this a valid approach? Is there a better way?
Also, can I create a section of RAM that I can prevent from being initialized?
Thanks,
David