I know this is kind of an unusual question but I hope someone can help me with this.
My parents have an IPL laser machine which they use to treat friends and family.
My dad has the task of fixing the lightbulbs and my mom does the treatments.
This IPL machines use (USB)dongles which have the amount of shots on them.
Like, you could buy a dongle which has 100.000 shots (flashes from the light bulb on them) and when this dongle is empty,
my dad replaces the lightbulb.
These machines come from 2012 and the manufacturer does not sell these dongles anymore.
A friend of them has cracked the code and made these dongles for my parents for a small cost.
They were happy to pay him for that, however last year, the friend died in a car crash.
Long back story, but what I want to give my parents as a gift is the possibility to make these dongles themselves.
I still have one of the friend's home-made dongles with 100.000 flashes on them.
It is EXACTLY this device:
There is nothing attached to it or whatever, you just plug this device in the IPL laser machine and it gives you x amount of shots.
This made me think that I could copy the code of that dongle. It is really just a atmega8a, nothing more.
I have tried connecting the device to my computer and using AVRdude to download the files. However it keeps saying I need to update the bootloader,
which I can not do because I will loose the program.
I tried connecting an Arduino as ISP device to the flatcable, used AVRDUDESS (Windows GUI) and all I could do is download the Arduino code,
not the code from the USBISP(Atmega8a) device.
What I want to know, is it possible to copy the program from the USBISP(Atmega8a) and place it on another one?
If it is possible, how on earth would you do that?