I would like to know is there anyway to read attiny10 hex file and reflash the code.
This we can do in PIC MCU . Can it be done in attiny 10 MCU
Use AVRDude. There are many great tutorials on it. The one at Adafruit is pretty good. It shows how to read the flash out and how to upload a hex file.