8 years, 2 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?

1 Answer

8 years, 2 months ago.

In the last 3-4 days I have had to use the (compile all) option to get a usable bin file, you may want to try doing the same.

I both make a compile all and a build without success. Now I'm installing a linux box to use offline compiler.

posted by Samuele Zanin 15 Feb 2016