strange behavior on my prog !

Thank you Mellis...

i'll try your link.

a question: can we change the atmega16 for an atmega32 :
in the datasheet, the pin are the same... with 2K ram ?
have to burn the bootloader...

regards

eric