ICSP using a 16F84a to program 24CXX


Closed Thread
Results 1 to 27 of 27

Hybrid View

  1. #1
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by aftab View Post
    That was great !
    Jeeze...finally. I've been a bit off on explanations/corrections/help/etc for a few weeks now. It's about time I got something right. (my 'lab' is under reconstruction due to exterior water intrusion, read that as flooded out...I haven't programmed a PIC in over 2 months!!!). I think I'm suffering from withdrawl...

    Anyways...get those resistors fitted and let us know what happens...

  2. #2
    Join Date
    Apr 2007
    Posts
    26


    Did you find this post helpful? Yes | No

    Arrow Continued

    Quote Originally Posted by skimask View Post
    Jeeze...finally. I've been a bit off on explanations/corrections/help/etc for a few weeks now. It's about time I got something right. (my 'lab' is under reconstruction due to exterior water intrusion, read that as flooded out...I haven't programmed a PIC in over 2 months!!!). I think I'm suffering from withdrawl...

    Anyways...get those resistors fitted and let us know what happens...
    Hi,

    It worked with the resistors connected. I tried different combination of resistors 1.5,2.2 .. 15k. You guys are correct.

    However, the separate circuit board -- the one that I connect with 3 wires when I program it using Olimex JDM board & ponyprog on PC- does not work with the stand alone 16f84. Ponyprog uses i2c commands like start,..write...stop. The source code for ponyprog 1 is available, but not for version 2. And interestingly ICprog does not work with 24CX but it can program the 16f84a.
    ---|............................|------
    PC.|--------JDM------->|24CXX
    .....|--------board----->|on a circuit
    ---|--------ICSP------->|board

    I shall try to get an idea by connecting a dataq data logger and see what happens to voltages across the three wires.

    If you have a look at the olimex JDM board, there is a led onboard that lits up while reading/writing. While writing to 24CX with ponyprog the led is brighter than when I tried to prgram with ICprog. It means ponyprog can drive the voltage higher - perhaps by repeated/delayed pulse sending to the JDM board; and ICprog cannot do that(chaning the delay in ICprog did not help).

    I shall post my results of datag logging - provided I can do that.

    Is there a way to attach picture with messages ?

    cheers.
    Aftab.

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


    Did you find this post helpful? Yes | No

    Default

    Yes just click on 'manage attachment' and upload your files.
    Steve

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

  4. #4
    Join Date
    Oct 2003
    Location
    Australia
    Posts
    257


    Did you find this post helpful? Yes | No

    Exclamation

    Hi guys,

    You can use ICPROG to do this very easy.. see this post from last year...

    http://www.picbasic.co.uk/forum/show...ghlight=EEPROM

    Cheers
    Squib

Similar Threads

  1. Presetting Configuration Fuses (PIC Defines) into your Program
    By Melanie in forum FAQ - Frequently Asked Questions
    Replies: 82
    Last Post: - 15th December 2013, 09:54
  2. 24Cxx copier with PIC 16F84A
    By the_kid25 in forum Schematics
    Replies: 7
    Last Post: - 28th October 2013, 09:05
  3. Replies: 1
    Last Post: - 23rd May 2009, 09:22
  4. Making Program Code Space your playground...
    By Melanie in forum Code Examples
    Replies: 15
    Last Post: - 19th July 2008, 08:26
  5. Novice 16F83A BLINK LED program help
    By owali in forum mel PIC BASIC Pro
    Replies: 14
    Last Post: - 25th July 2007, 05:02

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