TMDX570LC43HDK: TMS570LC43 stuck in init while debugging

Part Number: TMDX570LC43HDK
Other Parts Discussed in Thread: HALCOGEN

Hi. I have a TMDX570LC43HDK and I created a super simple program with just a while loop. I also used the HALCogen tool to generate GIO drivers, but I'm not using them at the moment; I just copied the generated source and include in the CCS workspace. 

The code compiles and the code downloads ok, but it never runs to main when I hit debug. From what I see, it gets stuck in _c_int00 -> esmGroup3Notification because it hits this error: 

/* Check if there were ESM group3 errors during power-up.
         * These could occur during eFuse auto-load or during reads from flash OTP
         * during power-up. Device operation is not reliable and not recommended
         * in this case. */
        if ((esmREG->SR1[2]) != 0U)
        {
           esmGroup3Notification(esmREG,esmREG->SR1[2]);               
        }

The esmGroup3Notification is essentially a forever while loop. 

In the debugging session, if I click restart, it goes to main(), which is I was hopping it would do in the first place. 

Any ideas what's going on? I have attached my simple program to this thread. 

Thank you.

Alin

HWG2.zip