Click here to Skip to main content
15,896,201 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i'm trying to read and write in chip thats depends on i2c protocol
its un eeprom for fax page counter i tryed hardly with ponyprog and chip resestter but also i can't fegure out any solution

What I have tried:

c#
i2c driver
microsoft.spot.hardware ;
Posted
Updated 31-Jan-18 1:42am

I would use a microcontroller (MCU) for that. That is (virtual, via USB) serial communication (UART) between PC and MCU and then I2C communication between MCU and EEPROM.
Using Arduino, would make that very simple (see, for instance Reading and Writing Serial EEPROMs - learn.sparkfun.com[^]).
 
Share this answer
 
v2
Comments
Zeyad Al-aamer 31-Jan-18 11:36am    
the problem is that chip donst provide like a normal eeprom i'll show u how its work
Zeyad Al-aamer 31-Jan-18 11:41am    
its exactly like here
http://testcopy.net/s3cc921-cable-reset-chip-schematic-and-diagram.html
In addition to solution 1 you can also use a PC I2C interface. These are quite cheap and have an USB interface which is usually accessed as virtual COM port. Such interfaces should provide an SDK with a library which can be also used with C# when using PInvoke.

If you just want to read / write to the EEPROM without using your own code, you can use PonyProg but you need the I2C interface hardware as described at PonyProg - Serial device programmer[^] which requires a parallel LPT port which is no longer present with recent PC systems.
 
Share this answer
 
Comments
Zeyad Al-aamer 31-Jan-18 11:41am    
thanks but if u want to knowexactly what i mean plz take a look for this diagram
http://testcopy.net/s3cc921-cable-reset-chip-schematic-and-diagram.html
Jochen Arndt 31-Jan-18 12:36pm    
That looks like it can be used as I2C interface provided that the software implements the I2C signal generation and knows how to talk to specific I2C devices.
But I don't know how PonyProg uses that interface and how the connected device (toner module) works.

If you have bought the hardware and have problems you have to ask the supplier for support.

You can buy the suggested interfaces starting at $10 which is much cheaper than $40.
Zeyad Al-aamer 31-Jan-18 13:31pm    
ok thanks

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900