This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
This instruction seems only for debug usage.
I would like to know, if no debug connection, will the program continue to execute?
//
// Define for emulation stop
//
#ifndef ESTOP0
#define ESTOP0 __asm(" ESTOP0")
#endif
Hello,
ESTOP0 is indeed used to pause the program while running during debug mode. It is literally an "Emulator STOP", as described by this thread: https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/121715/estop0-instruction#:~:text=The%20command%20asm(%22ESTOP0%22,emulator%20attached%20to%20your%20target.
I believe it should continue to execute if not running in debug mode, but let me know if there are any issues with this (you can always remove it if it's not necessary to your program).
Best regards,
Omer Amir