Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
8 years, 10 months ago.
Changes in on line compiler
Hi, I have a strange problem.
On 05/02/2016 I compiled my program and copied to a LPC1768. It workerd correctly and I give the system to my customer. Fridaty 12/02/2016 I recompiled the program to do some further tests on another LPC1768 I have in office for tests. Module resets due to watchdog. Sourcers are the same. After a few debug I discovered it does not exits a loop like this:
while (condition) { printf("Begin\n"); if (anothercondition) { print("Then\n"); condition = false; } else { print("Else\n"); do something } }
On console I got a few times: Begin Else Begin Else Begin Else ... Begin Begin Begin Begin Begin
like if the if statement does not exists.
This firmware analyse data received from ethernet, wich is sent from another device. Format data is always the same and the parsing function works well since this summer.
Someone changed anything on online compiler options (optimisation flags?) so it give me a problematic firmware?