How to go forward?


Closed Thread
Results 1 to 12 of 12

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

    The software that comes with PICKIT 1 only imports or exports a pre compiled hex file. So you will need MPLAB, but remember the PICKIT 1 will only work for a few chips (8 and 14 pins) so you may want to look at the PICKIT 2.

    Here is a link to instructions to set PIC BASIC up with MPLAB.
    http://www.melabs.com/support/mplab.htm

    I agree with mister_e, get the PRO version of PIC BASIC if you can.
    Dave
    Always wear safety glasses while programming.

  2. #2
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default

    Hello TheMadMan,
    Cheap JDM programmers available on eBay, just search for JDM programmer, I saw one with a start bid of 99 cents US, that is all I have ever used, works great using I C Prog 1.05D available free on the web. Write some small programs, compile with demo PBP until you get a feel for what you want to do.
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

  3. #3
    Join Date
    Oct 2007
    Posts
    16


    Did you find this post helpful? Yes | No

    Default

    Hi All
    Thanks for the feedback!

    <b><u>MicroCode Studio</u></b>
    Downloaded and installed it and played around a bit. Seems a bit buggy in that gives strange errors.
    &lt;Code&gt;<font color=blue><b>
    x var byte
    x = 1
    SELECT CASE x
    CASE 1
    y = 10
    CASE 2, 3
    y = 20
    CASE IS > 5
    y = 100
    CASE ELSE
    y = 0
    END SELECT
    </b></font>&lt;/Code&gt;

    Errors on the "SELECT CASE x" line.
    Copied and pasted straight out of the manual document.

    Also, does not give many of the most popular chips.
    List of chips available from the dropdown list is
    <font color=blue><b>
    12C671, 12C672, 12CE673, 12CE674
    14000, 14C000
    16C554, 16C558
    16C61, 16C62, 16C620, 16C620A, 16C621, 16C621A, 16C622, 16C622A, 16C62A, 16C62B, 16C63, 16C63A, 16C64, 16C642, 16C64A, 16C65, 16C65A, 16C65B, 16C66, 16C662, 16C67
    16C71, 16C710, 16C711, 16C712, 16C715, 16C716, 16C717, 16C72, 16C72A, 16C73, 16C73A, 16C73B, 16C74, 16C74A, 16C74B, 16C76, 16C77, 16C770, 16C771, 16C773, 16C774
    16C84
    16C923, 16C924
    16CE623, 16CE624, 16CE625
    16F627, 16F628
    16F73, 16F74, 16F76, 16F77
    16F83, 16F84, 16F84A, 16F870, 16F871, 16F872, 16F873, 16F874, 16F876, 16F877
    17C42A, 17C43, 17C44
    17C752, 17C756, 17C756A, 17C762, 17C766
    18C242, 18C252
    18C442, 18C452
    18C658, 18C858
    PS1, PS1_2K, PS2, PS2_2K, PS3, PS3_2K, PS4, PS4_2K</b></font>

    Maybe it was a faulty install or something, has anyone else had similar problems?

    Quote Originally Posted by mackrackit View Post
    ... but remember the PICKIT 1 will only work for a few chips (8 and 14 pins)
    I've heard that if you make up a 14 pin to 40 pin adapter board you can use the PICKit 1 to burn the 40 pin range. Is this true? If so, does anyone have the pin connections?

    Quote Originally Posted by Joe S. View Post
    Cheap JDM programmers available on eBay, just search for JDM programmer, I saw one with a start bid of 99 cents US, ...
    Looks like a nice unit - fancy chip holder - US$49.00 + postage is a bit steep when you are not in America and not earning US$.
    Found the circuit for the JDM Programmer (evidently done by Ludipino) at http://www.geocities.com/CapeCanaver...6/ludipipo.zip . Very low component count. 1 zener, 1 diode, 1 cap, 4 resistors, serial plug and ic socket. See it uses the fancy one - maybe thats the big price item.
    There is a warning that it doesnt like laptops and must be plugged directly into the com port.

    Found his site at http://www.jdm.homepage.dk/newpic.htm

    Question: looks like the programmer puts the incoming signal into pins 12 and 13. If I use these pins as input/output in my app/board, wont the signals be "programmed" into the PIC?

    Quote Originally Posted by Joe S. View Post
    works great using I C Prog 1.05D available free on the web.
    Site at http://www.ic-prog.com - now at version 1.05F.
    (All that raw machine code is frightening!)



    Quote Originally Posted by Joe S. View Post
    ...compile with demo PBP until you get a feel for what you want to do.
    Just how "cut down" is the demo compiler version?
    I do have access to a legal installation of PBP.

    Thanks to all for the feedback so far. I'm certain I will have many more "idiotic" questions but I'll keep them for later.

    All the best
    Aubrey
    (The more you learn, the more you realise how little you actually know)

  4. #4
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default

    Where is Y declared?

    Code:
    x var byte
    y var byte
    x = 1
    y = 0
    SELECT CASE x
      CASE 1
       y = 10
      CASE 2, 3
       y = 20
      CASE IS > 5
       y = 100
      CASE ELSE
       y = 0
      END SELECT
    Does this compile without errors?
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

  5. #5
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    PICKIT 1 is a ICSP programmer (In Circuit Serial Programming), it only use the PIC dedicated pin to program them. In each and every datasheet you'll find the information. Those you'll need

    MCLR/Vpp
    Vss
    PGD
    PGC

    Refer to PicKit 1 manual
    http://ww1.microchip.com/downloads/e...Doc/40051D.pdf

    page 41.

    As long your device is in the Pickit 1 list, you should be able to program it. Now, how's the support now for this one since Pickit 2 is on the market? i don't know.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  6. #6
    Join Date
    Oct 2007
    Posts
    16


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mister_e View Post
    MCLR/Vpp
    Vss
    PGD
    PGC
    Handy information
    Quote Originally Posted by mister_e View Post
    As long your device is in the Pickit 1 list, you should be able to program it. Now, how's the support now for this one since Pickit 2 is on the market? i don't know.
    Dont think the 16pin and larger will be there.
    Seems like using the PICKit 1 for anything bigger than 14 pins (and older generation types) is a non-starter.

    I'll have a look for a generic ICSP board circuit and make up the necessary adapters as I go.
    Maybe take the the "Ludipino JDM Programmer" circuit, make the necessary mods and build one for each pin configuration as I need it. There cant be <B>THAT</B> many variations can there.

    Dont think that Microchip are idiots. All chips in each pin-count range probably have PGD and
    PGC placed on the same pin.

    Having said that, I'll probably choose the chip that is the exception to the rule at some time or another and make some smoke.

    Thanks for the input mister_e.

    All the best.

    PS. Like the play on your name on your home page. ;>)
    Aubrey
    (The more you learn, the more you realise how little you actually know)

  7. #7
    Join Date
    Oct 2007
    Posts
    16


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by TheMadMan View Post
    Dont think that Microchip are idiots. All chips in each pin-count range probably have PGD and PGC placed on the same pin.
    I see that Microchip dont make any reference to the programing pins in pin reference drawing at the top of the document.
    You have to dig for it further down in the detailed list of each pin's functions.
    If (like me) you dont really know what you are looking for, you may miss it (as I did).
    Oh Well, live and learn.
    Aubrey
    (The more you learn, the more you realise how little you actually know)

  8. #8
    Join Date
    Oct 2007
    Posts
    16


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Bruce View Post
    Where is Y declared?
    OOPS!!!
    Red Face Moment.
    Bit pressed for time right now (5:06am local). Will give it a try.
    Thanks.
    Aubrey
    (The more you learn, the more you realise how little you actually know)

Similar Threads

  1. Forward Serial Data from pic to pc
    By Muller in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 2nd September 2008, 21:46
  2. NEWB Help HPWM coding
    By Seafurymike in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 1st January 2008, 21:52
  3. Serious Serial Situation Setbacks...
    By Dansdog in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 7th February 2007, 03:46
  4. What is the best way to make forward reverse
    By guanerrr in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 11th April 2006, 17:01
  5. Forward error correction
    By Ron Marcus in forum General
    Replies: 2
    Last Post: - 2nd June 2005, 15:12

Members who have read this thread : 0

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

Posting Permissions

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