TI's tech support told me to post this question here =) could anybody help please?
Booting fails at low temp, -40C. At 3PSW, CPSW_SOFT_RESET(0x02D03008 : CPSW Soft Reset Register), when we write 1, it processes reset and becomes 0 when completed. At -40C, at 1(reset) it waits until reset is completed (until 0) and so booting fails. NDK's cpgmacMacOpen seems where it fails.]
(cpsw3g_core.c)
#define CPSW3G_SOFT_RESET_COMPLETE = (0x0u <<0) #define CPSW3G_SOFT_RESET_BIT = = (0x1u ><<0) static void cpgmacMacOpen(Cpsw3gPort *hPort) { ...... regs->GMAC[instid].GMAC_SOFT_RESET = CPSW3G_SOFT_RESET_BIT;
while(regs->GMAC[instid].GMAC_SOFT_RESET != CPSW3G_SOFT_RESET_COMPLETE)
{
}
......
}