I am using uvision2. May i know how can i programme my microcontroller through USB port instead of Serial port? What is the setting that i should perform? Please help Thank.
If you're using a part with on-chip USB, check the datasheet to see if it's possible. If it is possible, check the manufacturer's support materials for details. If you're using a part without on-chip USB, then you will have to add an external USB support chip. Probably the simplest way to do this is just to buy a commercial USB-to-RS232 adaptor: this will appear to the 8051 as just a standard RS232 connection, and to the PC as just another COM port - so the fact that there's actually USB involved is completely transparent!
Thanks for your reply. I am using an on chip USB Microcontroller. I am using ATmel at89c5131. The problem I faced now is that I don't know how to set the uvision2 software to programme my microcontroller through USB port. It seems that the "get started and creating applications" file provided by KEIL mostly deal with serial port. Thank you.
uvision is used to create programs to run on your microcontroller. To copy that program into the internal flash of the microcontroller you need to download software called 'Flip' from the Atmel website. I do not know whether it can be done via USB with this particular chip.
Yes, the current FLIP and BATCHISP version supports USB. See also: http://www.keil.com/forum/docs/thread4724.asp http://www.keil.com/flash/utilities.asp