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

    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 ....

  2. #2
    Join Date
    Mar 2010
    Posts
    40


    Did you find this post helpful? Yes | No

    Default

    i still cannot display on the hyperterminal...still got any solution?

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


    Did you find this post helpful? Yes | No

    Default

    Darn...

    Check the pick with a one second blink to see if it is running at the expected speed?

    Using a 232 type chip between PIC and PC?

    Post the exact code and configs you are testing with.

    Maybe we will see some thing.
    Dave
    Always wear safety glasses while programming.

  4. #4
    Join Date
    Mar 2010
    Posts
    40


    Did you find this post helpful? Yes | No

    Default

    i testing with the code i post b4..i got connect to 232 using max232..i already test the mode with 84,8276

    INCLUDE "modedefs.bas"

    DEFINE OSC 20
    DEFINE LCD_DREG PORTA
    DEFINE LCD_DBIT 0
    DEFINE LCD_RSREG PORTB
    DEFINE LCD_RSBIT 5
    DEFINE LCD_EREG PORTB
    DEFINE LCD_EBIT 4
    DEFINE LCD_RWREG PORTB
    DEFINE LCD_RWBIT 6
    DEFINE LCD_BITS 4
    DEFINE LCD_LINES 2
    DEFINE LCD_COMMANDUS 2000
    DEFINE LCD_DATAUS 50

    TXD VAR PORTC.7 'AD0 TXD VDIP2 connect RX
    RXD VAR PORTC.6 'AD1 RXD VDIP2 connect TX
    Flow VAR PORTC.0 'AD2 RTS

    Start:
    HIGH RXD
    PAUSEUS 10
    SEROUT2 RXD,84,["ECS",13]
    HIGH RXD
    PAUSEUS 10
    SEROUT2 RXD,84,["IPA",13]
    HIGH RXD
    PAUSEUS 10
    SEROUT2 RXD,84,["A:",13] 'choose source disk
    HIGH RXD
    PAUSEUS 100
    SEROUT2 RXD,84,["DIR",13]
    GOTO Start

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


    Did you find this post helpful? Yes | No

    Default

    I would like to see you test a simple "hello world" to the PC without the VDIP involved.
    At this point we do not know where the problem is. Need to narrow it down.
    Dave
    Always wear safety glasses while programming.

  6. #6
    Join Date
    Mar 2010
    Posts
    40


    Did you find this post helpful? Yes | No

    Default

    i did not connect to the VDIP..just connect with max232...
    HIGH RXD
    SEROUT2 RXD,84,["ECS",13]

    and i change to
    HIGH RXD
    SEROUT2 RXD,84,["hello",13]

  7. #7
    Join Date
    Mar 2010
    Posts
    40


    Did you find this post helpful? Yes | No

    Default

    DEFINE OSC 20
    TXD VAR PORTC.7 'AD0 TXD VDIP2 connect RX
    RXD VAR PORTC.6 'AD1 RXD VDIP2 connect TX
    FlowIn VAR PORTC.0 'AD2 RTS

    StartDisk:
    RXD=1
    SEROUT2 VinRXD,84,["hello"]
    pauseus 1000
    GOTO StartDisk


    now i testing with this code...and i wan to ask is after i set the configuration bit..the hex code will become 24kb...and the pic16f873A program memory only 4k is this got problem?

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