Thank you very much for the information.
I followed your recommendations. I replaced the Atmel MEGA168 and then I inspected the chip with 20x lens. After resoldered some joints, all looked correct.
Then I connected the power and the IR leds switched on, the LCD shown the same as before changed the chip, I mean, a line of black boxes. Finally I tried to read device signature with AVR Studio 4.16 Build 628 using Windows XP with STK500 and AVRISP programmers, showing allways the same error:
ISP Mode Error
A problem ocurred when executing the command. Make sure you are using the correct programming method. Current mode is ISP. See the command output for more info. …
I tried to execute avrdude command in Windows getting the following error:
D:\WinAVR-20090313\utils\bin>avrdude -p m168 -P COM9 -c avrispv2 -e -U lfuse:w:0
xF6:m -U hfuse:w:0xDC:m -U efuse:w:0x01:m
avrdude: stk500v2_command(): command failed
avrdude: stk500v2_command(): unknown status 0xc9
avrdude: stk500v2_program_enable(): cannot get connection status
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
avrdude: stk500_2_ReceiveMessage(): timeout
avrdude done. Thank you.
I soldered the ATMEGA168 manually. I have no access to a IR solder, so I am not sure if I over heated the chip.
This is a little bit frustrating situation because some students are waiting for the robot to continue with a project.
Any case, thank you very much for you time, for your fast and accurate answers and your attention.
If you have any suggestion about what I have to test now I will be very pleased to know.