Programming IC2 24LC256


Closed Thread
Results 1 to 13 of 13

Hybrid View

  1. #1
    Join Date
    Aug 2005
    Posts
    95


    Did you find this post helpful? Yes | No

    Default

    What programmer are you using with winpic.
    Sphere....

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


    Did you find this post helpful? Yes | No

    Default

    Looks like Winpic800 is a bit buggy... it works well using IC-prog -D... using my very simple 3 resistor programmer. :P

    Have a great day.

    Cheers
    Squib
    Last edited by Squibcakes; - 19th September 2006 at 01:06.

  3. #3
    Join Date
    Aug 2005
    Posts
    95


    Did you find this post helpful? Yes | No

    Default

    I have a jdm myself, but I have used a SN7407 to buffer the signals to eliminate programing errors. Glad to see you sorted your problem.

    Sphere...
    Last edited by Sphere; - 19th September 2006 at 01:25.

  4. #4
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    Yo Squib,

    3 resistor programmer

    Is there a link to more info on this? I've spent almost $300 on 3 different programmers.

    Just feel like kicking myself in the ___, for not knowing.
    <br>
    DT

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


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Darrel Taylor
    Yo Squib,

    3 resistor programmer


    <br>
    DT, its kinda in my head, but based loosly on my simple programmer http://www.picbasic.co.uk/forum/showthread.php?t=703 the only difference is that VPP is not connected, so infact you only need two (2) resistors and a 5 volt supply.

    Here's a cut and paste from the top of my code.....

    ' TO PROGRAM THE 24LC256 MANUALLY USE ICPROG-D. SELECT THE AT24C256 CHIP
    ' CONNECT TO SERIAL PORT USING SIMPLE PROGRAMMER
    ' CONNECTIONS:
    ' PIN1:PIN4 TO GROUND
    ' PIN5 TO DATA (DTR via 4.7k) + (CTS)
    ' PIN6 TO CLOCK (RTS via 4.7k)
    ' PIN7 TO GROUND (FROM MAIN PCB AND SERIAL PORT GROUND)
    ' PIN8 TO VCC (FROM ext 5V)

    Cheers
    squib
    Last edited by Squibcakes; - 19th September 2006 at 04:17.

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


    Did you find this post helpful? Yes | No

    Default

    Here's a funny one,

    I was hoping to use both an LCD (4bit mode) and the above mentioned eeprom on a 16F88 chip.

    Unfortunately, SDA is on Portb.1 and SCL is on Portb.4.

    I'm using RA2:RA4 for the LCD contol lines...

    How can I simultaneously hook up the LCD data lines and the I2C eeprom to the PIC? I've tried and it doesn't work.

    I'm thinking the only way is to go a bigger PIC with more I/O pins.

    Cheers Squib.

  7. #7
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    Wow! Thanks Squib.

    That just might save me some time programming external EEPROMs for my boards. I've been doing it by writing a program for the PIC that it's attached to. Downloading the data to the EEPROM. Then loading the actual program that will run on the PIC. So I have to load 2 or three programs for each board.

    I'm feeling pretty dumb today. But tomorrow might be better.

    For the combo LCD/EEPROM, I can't think of a good way to do that. I think the LCD data might confuse the EEPROM. Just by chance, it might write something you don't want it to. Or worse, cause a short circuit condition since I2C is "open drain" and LCD data is "driven" high and low. But I can say that you aren't limited to the SDA/SCL pins of the PIC, unless you are using the hardware Synchronous Serial Port to interface with it. The I2CREAD/I2CWRITE in PBP can use any pin.

    Thanks again,
    &nbsp; Darrel

Similar Threads

  1. Data Programming Error at 0000
    By cpatnoi in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 22nd May 2009, 03:37
  2. Problems programming
    By Lionheart in forum General
    Replies: 4
    Last Post: - 7th December 2008, 16:51
  3. PIC programming algorithm - where is it to find?
    By flotulopex in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 24th June 2007, 18:31
  4. Some questions for programming
    By fnovau in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 5th July 2006, 16:04
  5. MELab Programming
    By tarr in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 22nd March 2006, 13:36

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