Other Parts Discussed in Thread: BQ79616
Tool/software:
Hello CCS devs,
I came across a bug in CCS regarding the optimizer. I am using the BQ79616 Example Code from TI and when the optimizer was being used, the debugger would repeat lines and ultimately ruin the code since it is very dependent on timing. The first clip I am providing is with the optimizer on level 3 (the default I had when I ran into the issue). The second clip is with the optimizer turned off and shows how the compiler should behave.
In the video without optimizer, it can be seen that the debugger doesn't jump back up. I have no idea what causes this behavior but Ki recommended I made a seperate post for it.
Cheers,
Jeremy