Results 1 to 10 of 10

Thread: FAST - reprogamming on board

Hybrid View

  1. #1
    Join Date
    Sep 2008
    Location
    Baulkham Hills, NSW
    Posts
    2,242

    Default FAST - reprogamming on board

    I know very little about PICs.

    If were to skip the Solder Sockets and dirrect solder the PICs, can I use a IC Clip to connect my Pickit 3 and reprogram them?

    Will the surrounding ccts interfere with the progamming voltages?
    Matt

    You too can become a Supporting member of DIYC.
    Check it out here

    Baulkolites.com is going to close - my new site is MyNoelLights.com

  2. #2
    Join Date
    Oct 2008
    Location
    San Jose, CA
    Posts
    7,866

    Default Re: FAST - reprogamming on board

    Quote Originally Posted by Matt_Edwards View Post
    I know very little about PICs.

    If were to skip the Solder Sockets and dirrect solder the PICs, can I use a IC Clip to connect my Pickit 3 and reprogram them?

    Will the surrounding ccts interfere with the progamming voltages?
    They certainly can effect things - especially the ICSPDAT and ICSPCLK lines. I had a circuit where I was using the two lines with tie-ups with pushbuttons attached. The 'ol PICkit didn't like that at all... Luckily mine was on a proto board so I would use the clip to pull the PIC out, program it, then pop it back in. You may want to try your circuit out to make sure it can work first (or not).
    Brian

    Christmas in San Jose! - WEB - FB - VIDEOS
    Halloween in San Jose! - FB
    2013 Halloween Show - Homemade tombstones, Grave Crawler, 2x 3-axis skulls, 4x 1-axis skulls, Video Projection
    2013 Christmas Show - 5x E681-12, 1x Ren48LSD, 30x 42 TLS3001 pixels, 4x 50 GECE C9, 4x Rainbow Floods, 2x DIYC Floods, SuperPixelStar... - no AC stuff!

    Ignorance is Temporary - Stupidity is Forever...

  3. #3
    Join Date
    Feb 2009
    Location
    Plymouth, MN
    Posts
    8,038

    Default Re: FAST - reprogamming on board

    Quote Originally Posted by Matt_Edwards View Post
    If were to skip the Solder Sockets and dirrect solder the PICs, can I use a IC Clip to connect my Pickit 3 and reprogram them?
    Yes. I connected a spring test clip to my programmer and that's exactly how I reprogram chips -- clip it onto the PIC, flash it and verify it, and it works just great. The only issue you can run into is that depending on the board's design, sometimes a test clip won't fit in the space provided...
    dirknerkle

    The DIGWDF Store is the place to go for wireless stuff for Renard... controllers, adapters... or other junk that
    nobody else would probably ever make. It's all in stock right now at http://diychristmas.org/store

  4. #4
    Join Date
    Jun 2009
    Location
    Ottawa, Ontario, Canada
    Posts
    2,503

    Default Re: FAST - reprogamming on board

    Just tried this on a FAST (spring clip) and it's refusing to recognize the PIC properly. Keeps getting random device ID's returned from both PICKIT3 and PICKIT2.

    Going to pull the PIC and drop it in a cradle now. I suspect that there's intereference on the programming control lines.
    Last edited by LabRat; 04-30-2012 at 09:19 AM. Reason: Fix auto correction that changed PIC to BIG. (sigh)
    Standard Disclaimers apply:
    "Product may not appear as shown, your mileage may vary, I'm not a doctor nor do I play one on television, these are not the droids you seek"

  5. #5
    Join Date
    Jun 2009
    Location
    Ottawa, Ontario, Canada
    Posts
    2,503

    Default Re: FAST - reprogamming on board

    While I've only got a single sample size to pull from, I woulnd't recommend soldering your PIC directly to the board.
    In my (one) case, I had to pull the PIC and put it into a cradle in order to program it.

    Also observed, attempting to run the FAST with a programer attached resulted in interference that was clearly visible
    to the naked eye. It was PIN 13 from the PIC, and it was effectively being driven high, and thus causing visual artifects.
    Standard Disclaimers apply:
    "Product may not appear as shown, your mileage may vary, I'm not a doctor nor do I play one on television, these are not the droids you seek"

  6. #6
    Join Date
    Sep 2008
    Location
    Baulkham Hills, NSW
    Posts
    2,242

    Default Re: FAST - reprogamming on board

    LR,
    Excellent work.
    Now if I understood PIC better I would ask if the signal on pin 13 could be re assigned to another unused pin, like 2, 5 or 6?
    Cheers

  7. #7
    Join Date
    May 2007
    Posts
    4,182

    Default Re: FAST - reprogamming on board

    Quote Originally Posted by Matt_Edwards View Post
    LR,
    Excellent work.
    Now if I understood PIC better I would ask if the signal on pin 13 could be re assigned to another unused pin, like 2, 5 or 6?
    Cheers
    With firmware and PCB changes, yes.
    Phil

  8. #8
    Join Date
    Jun 2009
    Location
    Ottawa, Ontario, Canada
    Posts
    2,503

    Default Re: FAST - reprogamming on board

    *if* you were modifying the boards, I would recommend PIN 2, so that you could keep the serial RX line clear *just in case* you wanted to add serial input support in the future (Perhaps DMX control of trigger and fall rate?)
    Standard Disclaimers apply:
    "Product may not appear as shown, your mileage may vary, I'm not a doctor nor do I play one on television, these are not the droids you seek"

  9. #9
    Join Date
    May 2007
    Posts
    4,182

    Default Re: FAST - reprogamming on board

    The other possibility is to use header/shunts to isolate those pins when you're programming the part. It's less foolproof, but keeps the firmware version count down.
    Phil

  10. #10
    Join Date
    Jun 2009
    Location
    Ottawa, Ontario, Canada
    Posts
    2,503

    Default Re: FAST - reprogamming on board

    Very good point about FW versioning. Could get a bit ugly if there are too many versions of the HW out there.
    Standard Disclaimers apply:
    "Product may not appear as shown, your mileage may vary, I'm not a doctor nor do I play one on television, these are not the droids you seek"

Bookmarks

Posting Permissions

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