Tool/software: Code Composer Studio
Hi,
I am currently looking into the boot process of TMS320F28377D and there are a few things that bother me. I wish you guys could shed some lights on it.
1. It is my understanding that if the debugger is connected and the device is being debugged, the device will enter emulation boot and end up in wait boot(for an unprogrammed device). So my question is that in this state, does the debugger take the application directly to the entry point no matter where it has been allocated in the memory? For example if I set up the entry point to be a random symbol such as "c_start", is the debugger going to set the PC the address of this symbol under this condition?
2. When the device is running on itself, after reset the device will start the standalone boot which will boot the device to flash(if boot to flash was chosen) and start the application at address 0x80000. Under this condition, the entry point set in the CCS is useless. Is my understanding correct?
3. In the auto-run debug option of CCS, auto-run to main is chosen. It is my understanding that this will set a breakpoint at main(). So when the device is being debugged, are all the interrupts, for example watchdog reset, going to be blocked by the debugger before main()? In other words, if watchdog has overflown before main(), for example during the execution of _c_int00, is there going to have a watchdog reset serviced by the device?
Please help me with the confusion according to the question number. Any ideas would be appreciated.
Many thanks.
Regards,
John