USB to USB flash Drive File Copier


Closed Thread
Results 1 to 40 of 223

Hybrid View

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


    Did you find this post helpful? Yes | No

    Default

    Most that use Pic Basic are probably writing the code using Micro Code Studio, you can use any text editor though MCS is pretty good.

    When the code is written and the compile button is clicked MCS starts PBP which is a comand line program. PBP will turn the BASIC code into Assembly code. Then either PM or MPASM starts, this is selectable. PM or MPASM will turn the Assembly file into a HEX file.

    The HEX file is what gets written to the PIC.

    To get the HEX into the PIC a piece of hardware called a programmer is used. There are many to pick from. The programmer will have software to control the flow of data into the PIC and read back what was written to verify the code on the PIC.

    Now the PIC is ready to power up and run.

    What all do you have so we can help you get started with some learning code?
    Dave
    Always wear safety glasses while programming.

  2. #2
    Join Date
    Nov 2009
    Posts
    72


    Did you find this post helpful? Yes | No

    Default

    i have downloaded the pbp compiler but its just in a demo, it can only compile 30 lines. do you know any alternative compiler?

    as for the materials that i have, i have here a pic16f877a and a programmer module for that pic. the vdip2 that i have ordered will be arriving soon.

  3. #3
    Join Date
    Nov 2009
    Posts
    72


    Did you find this post helpful? Yes | No

    Default

    please correct me if i'm wrong,

    i will burn the program to the pic, then, i will connect the pic to the vinculum using uart mode. then the pic will be the one to issue commands to the vinculum and there is no need for the 232 connections. is that right?

    also, how i'm i going to apply the vinculum command sets such as WRF and CLF ? will the compiler be able to understand them?

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


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by newbie View Post
    please correct me if i'm wrong,

    i will burn the program to the pic, then, i will connect the pic to the vinculum using uart mode. then the pic will be the one to issue commands to the vinculum and there is no need for the 232 connections. is that right?

    also, how i'm i going to apply the vinculum command sets such as WRF and CLF ? will the compiler be able to understand them?
    Have you read the code examples posted here? How to read and write are both here.

    As for a compiler, PBP is the only one I will recommend.
    Practice blinking LEDs with the demo version and other small things first. Then try something bigger later.

    You will not be able to make this work as a first project even if you had the full version of PBP.
    Dave
    Always wear safety glasses while programming.

  5. #5
    Join Date
    Nov 2009
    Posts
    72


    Did you find this post helpful? Yes | No

    Default

    about the shorts programs like the blinking leds, i have done that already. i already know how to program and burn in pic micro controller. my only problem is to connect it to the vdip, since this is my only first time to use the vinculum so.. was i right with this statement? :

    "i will burn the program to the pic, then, i will connect the pic to the vinculum using uart mode. then the pic will be the one to issue commands to the vinculum and there is no need for the 232 connections"

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


    Did you find this post helpful? Yes | No

    Default

    I thought you said this was your first project...

    If you know all the basics and read the examples you would have seen that the RS232 chip is not needed if you are bit banging the serial.
    Dave
    Always wear safety glasses while programming.

  7. #7
    Join Date
    Nov 2009
    Posts
    72


    Did you find this post helpful? Yes | No

    Default

    sorry for the misunderstanding...what I meant was this is my first project using the vinculum not the pic.

    can you please tell me what you know about controlling the vinculum using a pic microcontroller. i need to know more info about this topic.

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