System Testing AC5, AC6, IAR and GCC Debugging Effects
First of all, I would like to thank everyone for their feedback on the last video. It was a very meaningful discussion. The performance of AC6 this time is astonishing; it can jump around even without optimization.【Experiment Purpose】The purpose is to test the debugging phenomena in the C environment with the same program code.【Experiment Version】IAR Version: 9.3xMDK Version: 5.3x, including AC5 and AC6Embedded Studio: Using GCC, Version V7.1X【Video Display】The review process on Tencent Video is a bit slow, so I won’t wait. Here’s the link on Bilibili:【Test Description】Tested IAR, all levels are normal:Embedded Studio set to maximum speed optimization Level 3, testing is normal:MDK AC5 tested O1 and O3, debugging is abnormal, still executing after entering return.MDK AC6 without optimization, priority set to O0, debugging jumps around, which is unreasonable. This cannot be blamed on optimization issues, using AC6.18..When set to O1 optimization, it can even execute in reverse order, animated effects: