USB to USB flash Drive File Copier


Closed Thread
Results 1 to 40 of 223

Hybrid View

  1. #1
    Join Date
    Mar 2010
    Posts
    40


    Did you find this post helpful? Yes | No

    Default

    thx for your help..

    pic18f4550pin VDIP2pin RS232 pin

    RC.7 RX AD0 TXD PIN11
    RC.6 TX AD1 RXD
    RC.0 I/O AD2 RTS
    AD3 CONNECT TO GND


    GOT ANY IDEA WHERE GOES WRONG?
    Last edited by fokus_1116; - 8th March 2010 at 21:19.

  2. #2
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Another thing I forgot to ask that could be a concern.

    What are you using for an OSC at the PIC and how are the configuation bits set?
    Can you connect the PIC directly to Hyper-Terminal and receive text correctly ? If so then you know the PIC is running at the expected speed.

    Try inverted mode with out a 232 chip and then try true mode with a 232 chip.
    Doing these test should help find the problem.
    Dave
    Always wear safety glasses while programming.

  3. #3
    Join Date
    Mar 2010
    Posts
    40


    Did you find this post helpful? Yes | No

    Default

    i am using 20Mhz
    and may i know how to set the config bit for picbasic pro because
    '__config _XT_OSC & _WDT_OFF & _PWRTE _ON & _CP_OFF'
    content error when build it.

    how i try connect the tx pin of the pic to hyper terminal
    thank for your suggest..

  4. #4
    Join Date
    Mar 2010
    Posts
    40


    Did you find this post helpful? Yes | No

    Default

    is that just connect the TX pin of the pic to the max232 pin11 ? because i cant get the output from hyperterminal..

  5. #5
    Join Date
    Mar 2010
    Posts
    40


    Did you find this post helpful? Yes | No

    Default

    my configuration bits is set as the picture.. but still cant make the pic it display thing on the hyperterminal...still got any suggestion?
    Attached Images Attached Images  

  6. #6
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    The first thing we need to do is make sure the PIC is running at the speed you think it is, or know what speed it is running at.

    These USB chips can be confusing ( for me anyways ) when it comes to setting the PLL and all. Bruce has a good explanation here that I refer to.
    http://www.picbasic.co.uk/forum/show...85&postcount=4
    So if you set the configs as he has them the PIC should be running at 48MHz.
    DEFINE OSC 48

    To check the speed write a code that will blink an LED at one second on and one second off.

    Then refer to the PBP manual under SEROUT2. There it shows how to connect the chip to a PC. Send some text to a terminal.

    When this is all working we can "talk" to the VDIP.
    Dave
    Always wear safety glasses while programming.

  7. #7
    Join Date
    Mar 2010
    Posts
    40


    Did you find this post helpful? Yes | No

    Default

    for me also confuse for that part...so i change the pic 18f4550 to pic16f873A..this will more easy (i think)...now i try make it working on hyperterminal ....

Similar Threads

  1. USB CDC Communications for Dummies!
    By Squibcakes in forum USB
    Replies: 104
    Last Post: - 15th January 2014, 13:43
  2. How to drive the Vinculum VDIP1 in UART mode
    By BrianT in forum Code Examples
    Replies: 41
    Last Post: - 23rd May 2013, 12:34
  3. Simple USB Comms Problem
    By awmt102 in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 6th January 2010, 20:17
  4. USB-FTDI[UM232R] with PIC16f877a
    By bjox in forum USB
    Replies: 1
    Last Post: - 23rd February 2008, 22:40
  5. PICs and USB Flash Drives
    By The Master in forum USB
    Replies: 2
    Last Post: - 23rd October 2007, 10:23

Members who have read this thread : 0

You do not have permission to view the list of names.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts