We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I am implementing a World Time Clock Panel with the 8051 micro-controller, and i am going to use keil uvision3 to download the program to the flash through the USE interface(ATMEL 8051 do not support USE interface ,SO i use FT232BM for USB --> RS232 converting ). But I don't not how to target the hardware (USB interface) by using KEIL. Could anyone tell me how the setting of the KEIL are please?
sorry for my poor English!
i dont kown how to set the KEIL in order to download the program to the AT89C51 controller used USB as the communication interface. Pls help! THX!
Surely, the fact that it's USB is irrelevant?!
Your USB-to-RS232 adaptor appears to the PC as just another COM port - so you just proceed exactly as if you were using a real COM port!
Or do you not know how to use a real COM port, either?
that is true, however there are more posts around, in various fora, than I care to count, stating that most USB to serial adapters are totally unusable for ISP and download the program to the flash must mean ISP. The concensus is that only USB to serial adapters based on the FTDI chip will perform ISP.
At forum.flashmagictool.com/index.php there is a thread listing some/a brand(s) using the ftdi chip that works.
Erik
Thanks all of you! This is the datasheet i refer to wrapping my USB to RS232 circuit. pdf1.alldatasheet.com/.../FT232BM.html
what changes do i need to do to initial the USB to RS232. My previous codes to initial the serial port are: void init_serial() { TMOD = 0x20; //Timer T1 using mode 2 TH1 = 500; TL1 = 500; TR1 = 1; //start count PCON = 0x80; //SMOD = 1 SCON = 0x50; //mode 1, Baud rate=9600kpbs }
do i need to write another funtion to initial the USB port? is there any ducuments or example codes i can refer to ?
kindest regard!