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.
_F28x_usDelay works in Debug mode but not in Release mode.
I am using the F2837xD source files in controlSUITE and an example project.
In F2837xD_Examples.h there is a DELAY_US defined and I am using that in the main code.
In release mode when the software gets to the delay assembly function (F2837xD_usDelay.asm) the debugger stops and says "No source available for 0x3fe493" and the disassembly shows a "ESTOP0" assembly command. The program works up to the delay assembly code.
I looked closer and there is a C2000 assembly command SB called with a zero offset and a conditional code of unconditional. I think this means the same as while(1) in c code. Isnt it branching to the same line forever?
Is there a workaround? I just need a delay function without creating it myself. Thanks.
right click on the project name in the CCS, go to build configurations and set active menu, there you should see the build options for the project.
Best Regards
Santosh Athuru