HydrogenAudio

CD-R and Audio Hardware => Audio Hardware => Topic started by: peter bach on 2014-10-26 21:37:24

Title: m-audio ap 192
Post by: peter bach on 2014-10-26 21:37:24
hi

i need a EEPROM r/w tool for m-audio ap 192
Title: m-audio ap 192
Post by: peter bach on 2014-10-28 09:35:17
please help
Title: m-audio ap 192
Post by: phofman on 2014-10-28 10:58:48
https://www.google.cz/search?q=audiophile19...LCxx+programmer (https://www.google.cz/search?q=audiophile192+eeprom&as_st=y&hl=cs&biw=1024&bih=486&source=lnms&sa=X&ei=c3VPVJfFIMfPaLnmgsgM&ved=0CAUQ_AUoAA&dpr=1#as_st=y&hl=cs&q=+eeprom+24LCxx+programmer)
Title: m-audio ap 192
Post by: peter bach on 2014-10-28 11:03:17
thx i will check
Title: m-audio ap 192
Post by: peter bach on 2014-10-30 09:13:55
sorry but i need EEPROM r/w tool like eparwa but for m-audio

in this post what i need but links not working :

http://www.hydrogenaud.io/forums/index.php...c=40999&hl= (http://www.hydrogenaud.io/forums/index.php?showtopic=40999&hl=)
Title: m-audio ap 192
Post by: phofman on 2014-10-30 09:56:26
The eeprom is in DIL8 socket, trivial to extract and program in any eeprom I2C programmer. That link to google search gave you many options.

Why do you need to reprogram the eeprom in your card?

That link to changing eeprom PCI ids to juli - what purpose does it serve? Juli is a completely different card with different clock infrastructure.

If you want to dwelve into details, compare http://git.kernel.org/cgit/linux/kernel/gi.../ice1712/juli.c (http://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/tree/sound/pci/ice1712/juli.c) with http://git.kernel.org/cgit/linux/kernel/gi.../ice1712/revo.c (http://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/tree/sound/pci/ice1712/revo.c)
Title: m-audio ap 192
Post by: peter bach on 2014-10-30 10:16:23
i re programed my m-audio card before with eparwa ( audiotrack sound card programing tool with another m-audio programing methods on dos but i found that i can't control any audio faders in m-audio drivers or in pro tools ... i did all that because my sound card was not found in windows as a device at all.
Title: m-audio ap 192
Post by: peter bach on 2014-10-30 10:44:07
i am using juli as an example only .. and fallen_angel ( how posted for juli in my link ) said that he can change the ( .ini ) file to work with m-audio
Title: m-audio ap 192
Post by: phofman on 2014-10-30 12:20:59
Both cards use the ICE1724 controller. If you change the PCI vendor/subvendor ID in .ini, the driver will "kick in". But that does not mean it will control your card correctly.

I participated on juli linux driver development as well as on a few other ICE1724 cards linux drivers. In your situation I would boot any live linux distribution and do some initial troubleshooting - first getting contents of /proc/asound/cardX/ice1724 which should list current contents of your eeprom. If needed we can eventually reconstruct the eeprom contents of AP192  from http://pastebin.ca/884589 (http://pastebin.ca/884589) and http://git.kernel.org/cgit/linux/kernel/gi...ice1724.c#n2368 (http://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/tree/sound/pci/ice1712/ice1724.c#n2368) .
Title: m-audio ap 192
Post by: peter bach on 2014-10-31 14:05:34
so .. how can i reconstruct the eeprom contents of AP192 step by step
please
Title: m-audio ap 192
Post by: saratoga on 2014-10-31 15:14:27
so .. how can i reconstruct the eeprom contents of AP192 step by step
please


Get the previous ROM you had, and flash it just like you did with the newer one.
Title: m-audio ap 192
Post by: DVDdoug on 2014-10-31 15:46:16
so .. how can i reconstruct the eeprom contents of AP192 step by step
please
I don't know...  And if you have to ask that question, you probably shouldn't be doing this...  The exact "steps" will depend on how your particular EEPROM progrmmer an it's supplied  software works, and on which bytes need to be changed, and the values they need to be changed to...

If you haven't done so already, I recommend you get a new (blank) EEPROM (or two) rather than messing directly with the original one.  In theory you can read & save the data, so you should be able to return it to it's original state if something goes wrong, but that's not a risk I would take.   

Maybe it's just time to buy a new interface...  That's how it is with computers...  I've got old hardware and old applications that don't work on Win7 or Win8, and at some point you just have to upgrade everything.  There are LOTS of nice USB or firewire audio interfaces (http://www.musiciansfriend.com/audio-interfaces/usb) available.

An EEPROM programmer is (probably) going to cost you more than a new interface.  Then in a few years when you want to use it again, your EEPROM programmer will be obsolete and won't work your new operating system, or won't work with whatever chip you are trying to program, etc.



---------------------
I program EPROMS, EEPROMS, flash chips, PLDs, etc., everyday (with a variety of programmers)...  But, I'm not the developer so I'm just copying from a file into the device.  I can edit the hex data if I wish, but that's not normally how it's done...  It's normally done on a development system, typically in C, and the development system compiles & links the code, and generates the "binary" file .   

And, since I don't have a clue about the soundcard's firmware I wouldn't know what bytes to change or what values to change them to anyway.
Title: m-audio ap 192
Post by: peter bach on 2014-10-31 17:35:44
ok thx
Title: m-audio ap 192
Post by: phofman on 2014-10-31 18:46:08
so .. how can i reconstruct the eeprom contents of AP192 step by step
please


First, you have to be capable of independent operation, google searching, not being afraid of using command line. I cannot type every single step, I will often give just links to tutorials. Everything has been already written on internet, no reason to type it again.

Your eeprom holds only configuration data for the ice1724 chipset. As you see in http://pastebin.ca/884589 (http://pastebin.ca/884589) , it provides only 19 bytes of usable data.

First we will take a look at your current eeprom contents, using the linux ice1724 driver.

Make a linux mint 17 live usb flash stick http://community.linuxmint.com/tutorial/view/744 (http://community.linuxmint.com/tutorial/view/744) . I would recommend to use mint 17 mate 32bit iso http://www.linuxmint.com/edition.php?id=159 (http://www.linuxmint.com/edition.php?id=159)

Once your usb flash is ready, boot from it (change drive boot order in bios) and look around the graphical environment. It will not touch your harddrive unless you specifically ask it (which you will not :-) ) We will not install the system, the live usb is enough for what we will need.
Title: m-audio ap 192
Post by: phofman on 2014-10-31 19:05:00
As of the programmer it is a matter of a few dollars. The eeprom is I2C controlled - that is why it is possible to reflash it just by the driver when it is located directly on the card. We could hack the ice1724 driver to flash the eeprom using the nd_vt1724_write_i2c method http://git.kernel.org/cgit/linux/kernel/gi...ice1724.c#n2290 (http://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/tree/sound/pci/ice1712/ice1724.c#n2290) just like the driver reads contents of the eeprom in http://git.kernel.org/cgit/linux/kernel/gi...ice1724.c#n2305 (http://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/tree/sound/pci/ice1712/ice1724.c#n2305) but that would be much more complicated than using a simple programmer.

IMO this programmer looks ok http://www.simandl.cz/stranky/elektro/eeprom/eeprom_a.htm (http://www.simandl.cz/stranky/elektro/eeprom/eeprom_a.htm) . Or any ready-made from the google link in one of the previous posts.