Code is not working after few days

I have programmed my MCU before two days and everything worked fine. I am testing the code, so I was powering it and disconnecting it during these two days couple of times. Today part of my code stopped working. After reuploading the same code everything is working again. I am not using flash or EEPROM in any part of my code. What can cause these types of problems?

specs

It could be Code, Wiring or Power Supply!

But it is NOT a Bootloader Issue!

Hello,

Try to reproduce the problem, enable and disable part of your code and narrow the problem down.
Put traces in it, and see where it stops.
We have all been there, first it does not work, then it works sometimes and at the end you succeed or not, but to know why is the key to make progress.
Best regards,
Johi.

Thank you for tip. I will try put a Serial.print on some places :slight_smile:

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.