ICSP using a 16F84a to program 24CXX


Closed Thread
Results 1 to 27 of 27

Hybrid View

  1. #1
    Join Date
    Apr 2007
    Posts
    26


    Did you find this post helpful? Yes | No

    Arrow I did that, but it does not work

    Quote Originally Posted by skimask View Post
    If the programmer can do 24Cxxx types directly, then install a breakout header like you would for the PIC's ICSP, plug in and program like it was in the socket on the programmer.
    I did that, but it does not work.

    Do I need to do special coding (peek,poke,srout,...) to do an ICSP ?

    Somewhere in JDM programmer, it says the voltage goes upto 13v.

    I am no electronic geek - so do not understand much.

    Any clue what might be the problem ?

    Thanks
    Aftab

  2. #2
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by aftab View Post
    I did that, but it does not work.
    Do I need to do special coding (peek,poke,srout,...) to do an ICSP ?
    Somewhere in JDM programmer, it says the voltage goes upto 13v.
    I am no electronic geek - so do not understand much.
    Any clue what might be the problem ?
    Thanks
    Aftab
    You probably have to add another header or something to cutoff the outside signals going to the 24xxxx itself. You're probably trying to feed power/signals to the whole board, not just the 24xxx, PIC fires up, signals start interfering with each other, etc. Try pulling other chips out, etc.
    The JDM programmer voltage is only for the PIC (or maybe other MCU's). 13v would most likely kill a 24xxx.

  3. #3
    Join Date
    Apr 2007
    Posts
    26


    Did you find this post helpful? Yes | No

    Arrow http://ww1.microchip.com/downloads/en/DeviceDoc/31028a.pdf

    Quote Originally Posted by skimask View Post
    You probably have to add another header or something to cutoff the outside signals going to the 24xxxx itself. You're probably trying to feed power/signals to the whole board, not just the 24xxx, PIC fires up, signals start interfering with each other, etc. Try pulling other chips out, etc.
    The JDM programmer voltage is only for the PIC (or maybe other MCU's). 13v would most likely kill a 24xxx.
    PP 11 of this:
    http://ww1.microchip.com/downloads/e...Doc/31028a.pdf

    Shows some driver board - would that be helpful ?

    Thanks
    Aftab

  4. #4
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by aftab View Post
    PP 11 of this:
    http://ww1.microchip.com/downloads/e...Doc/31028a.pdf

    Shows some driver board - would that be helpful ?

    Thanks
    Aftab
    Have you got the datasheet for the 24xxx handy?

  5. #5
    Join Date
    Apr 2007
    Posts
    26


    Did you find this post helpful? Yes | No

    Question Trying

    Quote Originally Posted by skimask View Post
    Have you got the datasheet for the 24xxx handy?
    Hello,

    I have the data sheet for 24cxx.

    I think i2c uses very few commands to communicate. Like start,stop, ack, etc.

    I came across an article by Jonathan Zacharko in the board of Reynolds Electronics. It shows how to communicate with DS1624 using I2c(dont have the URL, I had googled it and printed in ms word without url). It is interesting.

    Just to start - I need to send a few bytes or just "A" to it and write it using the i2c protocol.

    Trying for that and will try to post my progress - meanwhile any suggestion would help me.

    Thanks - and thanks for so quick responses.
    Aftab.

    The URL is:
    http://www.rentron.com/PicBasic/i2c_communication.htm
    Last edited by aftab; - 3rd April 2007 at 11:06. Reason: found URL

  6. #6
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Now I guess I don't know what you really want...you start off talking about 24xxx eeproms and now throw a DS1624 into the mix.
    What do you really want here?

  7. #7
    Join Date
    Apr 2007
    Posts
    26


    Did you find this post helpful? Yes | No

    Smile It is 24CXX and DS1624 is just an example.

    Quote Originally Posted by skimask View Post
    Now I guess I don't know what you really want...you start off talking about 24xxx eeproms and now throw a DS1624 into the mix.
    What do you really want here?
    I only want to program 24Cxx. The DS1624 is just an example.

    I was able to program the 24C04 ic as shown in manual. But I cannot do it in ICSP mode. The example with DS1624 shows how to read/write(?) in ICSP mode(?).

    So, for now need to figure out how to program the 24Cxx using i2c commands - as i2cwrite does not seem to work in ICSP mode.

    Thanks
    Aftab.

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