Nightmare of developers! Losing all the source codes


I’ve been working on this project with my clients on and off for almost 2 years. It was one of the projects I enjoyed working on. I can’t say what it does, but I can show you some photos here:

First prototype
version 3
version 1
version 2

The entire design progress, including PCB and firmware design, took a long time with feedback and adjustments, and it was designed from scratch by me.

One day, due to some OS issues with my laptop, I decided to reinstall the entire OS after 2 years. I made backups of a lot of things, including this project, or so I thought… Then, I proceeded to reinstall Ubuntu. However, when I wanted to check some source code recently, I found out that the repository of this project on Github WAS EMPTY!!!!!!!!!!!!!!

I couldn’t express my frustration; this couldn’t be true. How could I undo my life? After taking a walk to calm myself down, I simply accepted this mistake and looked forward to another approach to the same solution that I had planned a while ago.

Then, after about 2 weeks, a client asked if I could send them a few more, but I realized I only had 2 left. For a short moment, I thought maybe I could clone them by extracting the firmware from the completed one.

I found this link which guided me on how to read the firmware in binary (.bin), and then I flashed all the new boards with this binary file.

In summary, I’ve lost all my source code because I wasn’t careful. However, I found a way to at least ship the latest version which cannot be modified anymore (unless I start the code for the project from scratch again, which I probably won’t).

Leave a Reply

Your email address will not be published. Required fields are marked *