USB support features of PiCs...


Closed Thread
Results 1 to 8 of 8

Hybrid View

  1. #1
    Join Date
    Oct 2010
    Posts
    12


    Did you find this post helpful? Yes | No

    Post Re: USB support features of PiCs...

    Quote Originally Posted by scalerobotics View Post
    Yes, we still need a bootloader to be loaded into some of the code space of the chip. Otherwise, there will not be anthing telling d+ and d- how to communicate, which registers to use, what memory to use, where to write on the chip, how to listen to the PC, etc, etc, etc. Even the PicKit is pre-programmed with code, so it can communicate and write to the chips.

    It's kind of like this: Take your PC, then pull out the bios chip (can you even do that anymore?). Then try to start it up. Is it running? You still have a hard drive plugged in. All the hardware is there, but it doesn't work because nothing is telling them what to do.

    Just what is it you are trying to do?
    first of all, thank you for your care and patience.

    Actually i am not trying to do something, i am just trying to understand the point of using other integrated circuits (like 18f2550) in pickit programmer. i was thinking "if we can write programs on other pics by using bootloader on 18f2550, why cant we do it by our computer? 18f2550 is just an interface on pickit programmer board and we can create this interface virtually on our computer."

    but thnx to you understood the point.
    thnx everyone who had spent their precious time for my questions.

  2. #2
    Join Date
    Feb 2006
    Location
    Gilroy, CA
    Posts
    1,530


    Did you find this post helpful? Yes | No

    Default Re: USB support features of PiCs...

    Quote Originally Posted by grimmjow View Post
    i am just trying to understand the point of using other integrated circuits (like 18f2550) in pickit programmer. i was thinking "if we can write programs on other pics by using bootloader on 18f2550, why cant we do it by our computer? 18f2550 is just an interface on pickit programmer board and we can create this interface virtually on our computer."
    There are some programmers that almost do this. They use the parallel port on the computer to program the chip. But it still needs a little hardware to bring the chip up to programming levels, etc.

    Hopefully my bios example made some sense. Despite the chip having hardware, without code to set configure the chip, and code to tell the chip what to do with the hardware, nothing will happen.... Unless you have a programmer, like the pickit2 that puts a programming voltage to MCLR and send the bits into the chip using ICD programming port. Or load some software on the chip that sets up its hardware, and bootloader code that runs on the chip, letting it program its own code space.

    And by the way, there are many older chips that do not allow programming their own code space, so these will never be able to use a bootloader, and you must program them with a programmer.

    Walter

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