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

    Arrow ICSP using a 16F84a to program 24CXX

    Hello,

    I want to program an I2C (24CXX) using 16F84a.

    I want to write "Hello World!" to 24CXX.

    Using a JDM programmer(from Olimex) I could program the 24c in ICSP using my computer's serial port.

    Using the example that is there in the manual , I could program the 24C using all 8 pins with instructions going out to 24C from 16F84a. But how do I do a ICSP(In Circuit Serial Programming) of 24C ?

    If this is the wrong place to ask the question -- where should I ask it ?

    Sincerely
    Aftab.

  2. #2
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by aftab View Post
    Hello,

    I want to program an I2C (24CXX) using 16F84a.

    I want to write "Hello World!" to 24CXX.

    Using a JDM programmer(from Olimex) I could program the 24c in ICSP using my computer's serial port.

    Using the example that is there in the manual , I could program the 24C using all 8 pins with instructions going out to 24C from 16F84a. But how do I do a ICSP(In Circuit Serial Programming) of 24C ?

    If this is the wrong place to ask the question -- where should I ask it ?

    Sincerely
    Aftab.
    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.

  3. #3
    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

  4. #4
    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.

  5. #5
    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

  6. #6
    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?

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 : 1

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