Photon : flash firmware repeated continuously. [SOLVED]

Hi,
after upload a firmware this morning.(compile and flash ok with cloud on my photon module)
after some correct loop of program, the dashboard log this message:"spark/flash/status " with value failed and then re-flash in automatic the firmware …
then loop and log correctly some messages (3,4,5 loop of program) and then repeat the error status…(this error is repeated continuously).

Resolved!

At beginning of the file there are these two lines:
PRODUCT_ID(94);
PRODUCT_VERSION(1);

after commented them all works fine.