This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Need Help!

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!

Parents
  • 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!

Reply
  • 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!

Children
No data