Hi,
I am using the TMS570LS0332 and Halcogen 4.2.
I see in sys_startup.c that it checks for different reset conditions. However, it looks like the if statement below is true whether power is cycled or if the nPORRST line is driven low. Is there any way to tell the difference between the two?
if ((SYS_EXCEPTION & POWERON_RESET) != 0U) { /* USER CODE BEGIN (12) */ /* USER CODE END */ /* clear all reset status flags */ SYS_EXCEPTION = 0xFFFFU; /* USER CODE BEGIN (13) */ /* USER CODE END */ /* Workaround for Errata CORTEXR4 66 */ _errata_CORTEXR4_66_(); /* USER CODE BEGIN (14) */ /* USER CODE END */ /* continue with normal start-up sequence */ }
Thanks,
David