I just tried the other chip(0612) and it worked even though I tried programming it before!!
The blink sketch is working perfectly on it. I put back the (0548) chip and still it is not working, I checked the resistance between the vcc and gnd for both of them it is around 7.7 megs
Hah! Didn't expect that...
Maybe Atmel has changed the lettering on their chips (a 2005 chip is one of the very first ATtiny85s).
could it be that sth wen wrong with fuses of the other chip ?
They're both old chips and not from the same batch (one is from 2005, one is from 2006). I suspect they might be pulled from old devices for resale. In that case they could have had their fuse bits set to disable the RESET pin, to disable SPI programming...etc. There's a few different ways you can brick a chip.
To restore it you need a programmer that applies 12V to the RESET pin during programming (that's why it's called "High Voltage Programming"). After that you can clock instructions into the chip to reset the fuses (see the Memory Programming section of the datasheet). All you need is to change the Fuse High bits. After that you can go back to normal programming.
ie. Connect 12V to RESET while holding three pins LOW, clock 32 bits of data into the chip (use an Arduino!), remove the 12V.
The datasheet has the details.