Hi!
I am new to this forum, but was reading a lot and also looking for my problem, but didnt find anything useful.
Maybe someone can help me to solve this problem.
I made a little board (i etched it myself with soldermask, but these are my first boards, so not best quality but came out very good and should work)
It came out pretty good, this little board is the second one, first one was with same chip but different circuit which didnt work also.
Because of the problems i made this little board to see if it works without anything else. Purpose of this board was to see if i can program this chip.
I made a few attachments, there is a second layer which is ground only with two vias. The 8 MHz crystal is on the bottom side with two 22pF on the left side of the chip.
6 Pin ISP header on the bottom right, GND and VCC on the bottom left side of the ISP header. VCC is 5 Volt. (4 IOs which are unused at the moment)
I expect Pin 1 to be on the top left where the dot is on the chip. If this is not correct, then of course it wont work.
(I produced 4 boards, another one i soldered the chip 180° rotated, same result, so i tested allready another orientation

)
There might be too much solder on the pins (i was out of smaller solder wire so it was hard to put less there), but i checked it, there are no solder joints and everything looks ok.
I used a logic analyser to see if the protocol is working. The pictures are attached also. The 0xAC 0x53 0x00 0x00 to enable programming for ATMega48 are included, just not in the beginning, but later on i see it. At the first or second 0x00 the chip should repeat 0x53 which is not there. Programmer is a version of USBASP and works on a arduino leonardo. ISP connections are same as on the leonardo, but of course different pins as it is also a different package.
As far as i know, the 8 MHz are not neccessary at factory fuse settings, but these chips are from china and this could be an issue with fuses, but there is a crystal, so the fuse settings should be ok.
Any other reasons why my chip is not responding?
Right now i am out of ideas.