Do you mean to say how to power the microcontroller using USB port. If so the answer is pins 1 and 4 of the USB port connector can be used for powering a microcontroller.
Hihi, I mean when I write code for AT89S51 by assembler ( or any code change to .hex) and then I want to charge by USB port ( not by print port as ISP of Khan Program). Anyone have schematic fo Microcontroll charge by USB port let share. thank a lot!
Actually i had an intention to try the programmer, but didnt get the Atmel device used in the project. You may contact the author for further doubts about the project. Good luck.