so this i the first time in my 4 yrs arduino usage that the arduino is not able to upload sketches to atmega.
i have been using the original one and i even one powers it directly to 12v 10a which resulted in only the ic being burnt(Ps. the power of original).this happened 3 months ago and since was urgent i bought my first uno clone from a local shop.
so just yesterday i was using the clone with a custom shield which converts female headers to male and has l293d mounted which need jumpers to connect to uno digital pins only the vin and ground are connected to it over copper layer.
i uploaded the stepper example and disconnected the clone from computer and gave it 12v 1a dc supply to uno and not shield.
it did work correctly but resulted in burning the ic but what really happened is the uno's rx tx got burnt what i think since even after replacing the ic i can't upload though that ic works with usb ttl and original uno.