From: N_Cook on
So perhaps dig out win95 disc , make up the 7405 bridge, fire up iicuni and
from the Ezusb pdf ,fro

5.7 Serial EEPROM Present,FirstByte is 0xB0
Table 5-7. EEPROM Data Format for"B0"Load

0 0xB0
1 VendorID(VID)L
2 VendorID(VID)H
3 ProductID(PID)L
4 ProductID(PID)H
5 DeviceID(DID)L
6 DeviceID(DID)H
7 Notused

and
digital mixer VID 0B45 , PID_0001&MI_00
perhaps just loading hex version of
B0450B01000000 into the first 7 bytes instead of the current corrupted
087910B004BCC0.....

(I'm unsure about device ID at the moment)
is enough to start the ball rolling to do a firmware upload for the mixer




From: Franc Zabkar on
On Mon, 24 May 2010 08:35:10 +0100, "N_Cook" <diverse(a)tcp.co.uk> put
finger to keyboard and composed:

>So perhaps dig out win95 disc , make up the 7405 bridge, fire up iicuni and
>from the Ezusb pdf ,fro
>
>5.7 Serial EEPROM Present,FirstByte is 0xB0
>Table 5-7. EEPROM Data Format for"B0"Load
>
>0 0xB0
>1 VendorID(VID)L
>2 VendorID(VID)H
>3 ProductID(PID)L
>4 ProductID(PID)H
>5 DeviceID(DID)L
>6 DeviceID(DID)H
>7 Notused
>
>and
>digital mixer VID 0B45 , PID_0001&MI_00
>perhaps just loading hex version of
>B0450B01000000 into the first 7 bytes instead of the current corrupted
>087910B004BCC0.....
>
>(I'm unsure about device ID at the moment)
>is enough to start the ball rolling to do a firmware upload for the mixer

If all you want to do is to verify that the EEPROM data are intact,
then wouldn't it be simpler to just compute a checksum over the
contents?

Could you upload the PROM dump so that we could have a look at it?

- Franc Zabkar
--
Please remove one 'i' from my address when replying by email.
From: N_Cook on
Franc Zabkar <fzabkar(a)iinternode.on.net> wrote in message
news:9hrpv5p18m4bof22f4v1g401q36haha6aj(a)4ax.com...
> On Mon, 24 May 2010 08:35:10 +0100, "N_Cook" <diverse(a)tcp.co.uk> put
> finger to keyboard and composed:
>
> >So perhaps dig out win95 disc , make up the 7405 bridge, fire up iicuni
and
> >from the Ezusb pdf ,fro
> >
> >5.7 Serial EEPROM Present,FirstByte is 0xB0
> >Table 5-7. EEPROM Data Format for"B0"Load
> >
> >0 0xB0
> >1 VendorID(VID)L
> >2 VendorID(VID)H
> >3 ProductID(PID)L
> >4 ProductID(PID)H
> >5 DeviceID(DID)L
> >6 DeviceID(DID)H
> >7 Notused
> >
> >and
> >digital mixer VID 0B45 , PID_0001&MI_00
> >perhaps just loading hex version of
> >B0450B01000000 into the first 7 bytes instead of the current corrupted
> >087910B004BCC0.....
> >
> >(I'm unsure about device ID at the moment)
> >is enough to start the ball rolling to do a firmware upload for the mixer
>
> If all you want to do is to verify that the EEPROM data are intact,
> then wouldn't it be simpler to just compute a checksum over the
> contents?
>
> Could you upload the PROM dump so that we could have a look at it?
>
> - Franc Zabkar
> --
> Please remove one 'i' from my address when replying by email.

The first block of the corrupted EEPROM is
(Maybe decoded erroneously as serial converted to parallel via 2x 4015 and
clock divided by 16 by 4 stages of a 4020 and loaded into Logic analyser on
negative going transitions). It is consistent thats all I can say

S0000 087910B004BCC04B070420001828C000F0B20401604111AEF581030420009615
S0010 C000D0B1AD01101000BC73400464889710084002B051000105803CB5254284CA
S0020 A81C6CE1823C0B08290280542CE0554003A40FC5FE151F0111480548848751F0
S0030 200105200F06040004000208BF06707309BE20C10DA42100A205CB010A5B8A05
S0040 906006122000140440020640810431103D6C04074853B50AD4E40C80C04102B3
S0050 436B386004064283542878DE4F001215980429902F04943044A9028DD0040B1C
S0060 80C90C21E1793A04440519E08208EF2281CE00081A34E1012B3C1D0771C55262
S0070 E0804E500215DA050BA02E0380D340B8B02B0102200AF0B80C908AC801489037
S0080 49E9970078E46F005811C02E02C0AE00111101022442F0EA0EC004C01EBCB888
S0090 AD3C21005B795703E946060246C10124C1432278451778E9F1C2050487D70608
S00A0 4080C33B8001C81501024020B106604074F981800ACA0C0418403C403340F48A
S00B0 441CF0F08008F93B9B022D200502000072E06C800C04800008D8004081570102
S00C0 1060040260D7FE405E0108B0805D08405BE700C90304E00A72B9021453183C78
S00D0 08004406070225E007011008110220429E58A5227422100E7808808820891EB9
S00E0 C31A2E0CE85501BE00E005022DC0020C071DB91AB80A60203CFE41C7DA102F00
S00F0 FA210E0180818F7281570260204184AA075EC88914BCCA298800B52079F2274F
S0100 F4E44F9EE2C99E3CC9933A79952779F2274FF4E44F9EE2C99E3CC9933A799527
S0110 79F2274FF4E44F9EE2C99E3CC9933A79952779F2274FF4E44F9EE2C99E3CC993
S0120 3A79952779F2274FF4E44F9EE2C99E3CC9933A79952779F2274FF4E44F9EE2C9
S0130 9E3CC9933A79952779F2274FF4E44F9EE2C99E3CC9933A79952779F2274FF4E4
S0140 4F9EE2C99E3CC9933A799027010023C250006100E0D500BC1900087880070390
S0150 20600C044381640D8CB8899038100D87790221E41206400080948F8210118F3A
S0160 802478E4136BBD30A05706F801800A08AE0010301B74E26AE02806927E949A28
S0170 780818711154031227A8E4E60E9F20610A9E89133871152771E2274EE4C44E9C
S0180 C2899A3889133871152771E2274EE4C44E9CC2899A3889133871152771E2274E
S0190 E4C44E9CC2899A3889133871152771E2274EE4C44E9CC2899A38891338711527
S01A0 71E2274EE4C44E9CC2899A3889133871152771E2274EE4C44E9CC2899A388913
S01B0 3871152771E2274EE4C44E9CC2899A3889133871152771E2274EE4C44E9CC289
S01C0 9A38881004010020000000000000240002E081043190373C4D4071DE258F42C4
S01D0 4082184801240BA8BA7E7D400674476EA5E0041EC2210E87E141B86418C07A06
S01E0 B683D0EA2F194278519F20000A06F11737CE3080FB6CE4DF02D5DE02E903A87D
S01F0 1DC50690E06CEF10A81E16D09EBAC15B28781001110831418B18C8034E0006A0
S0200 00C2A0153C0111800068803A0001184899258840821990F04D122002146640C2
S0210 2A4906033AB308001087610A518C780647840200401D31100800380048043127
S0220 881A0051022081003310A406A0D3016A20E00B04A381F434409E08C005016920
S0230 2A0D80A504AE40001C084F03C02B807A18320612110004E887511C080001D061
S0240 A50610600574C7A8C2E080110C0981843A03AB1E00A11BE54085907A051CCC21
S0250 9E8EDA6B1F4828072C0CD2A3E0700E4172D45E03F2A88F62AC073F83030FF002
S0260 4F400694C23FD2310872CD250702402E3B1C6040741981809ACB2707100020BE
S0270 A0E07D2CC381228481B402A12F57F835107A2001CC246099422C808013C3385A
S0280 E1377CE2E26EEFF8000AC8C180AB00F3240905E0690000CF0D00810EACE1823C
S0290 08203A5F00F01000040014D8AF4E42E5040080211B6AC52379006084BE5CE097
S02A0 00F4000840BA2B7064977840206DCD24C3810214800810480A19B0511A38D442
S02B0 468A250668B4C70D0809B1222963242035A66EDE62DEEC888A9680981B3760F3
S02C0 397535266E8ACE4D200400002A2800010830540210A009000000000400090209
S02D0 8000104000010060221A2080000000000A208001603001042000050660000004
S02E0 40820000000008400101710001026401020448002200B8000010002500400108
S02F0 20400E0040802A00840008C000180080011220404C1C80001048000000000002
S0300 2020220E20C0482C8080110981040017000010A0000040000204C20102388905
S0310 10102401900050020040049400000A2080003830000061000402804404040080
S0320 02108904282000012080090040C004284081000001001810050A204022128040
S0330 0004800022008400087001240060010660410C2400100000800060800004F7EF
S0340 0100018000060000FF12E01F9140010000000000000000000000000000001842
S0350 0108D594CA582902344035A505060000060CC6800A1880010404408000080000
S0360 000000000058000000000000B0F20000C0879A38020D2E500000000000000000
S0370 0000000000002040040010200102001C00053B7AB0670000000000000A000000
S0380 00441840007A0340000067CF0000000000000000000000000000000000000000
S0390 4B9982911210A9430020302E00000000000000008540004B58C250600A4AA041
S03A0 0618D280121B96723A008707F0F00416E0E17FFFFD073F58C1C2961630F9C9BF
S03B0 FEFDEF1FFF60070B581AC4EA56FFFDF7BF7FFB831F2C60691F82FA433F1DFCF7
S03C0 52FF87EC58D07081023220000A60A1C00011078318300D876001162DDA61813C
S03D0 0880055828704004C220060CC3A1B8004317D718201B046000160CDC10813108
S03E0 C03F0000030000F80B00A9011300B0022A55A003007685A5009400C07FB00080
S03F0 0000F00F00000B0000FE0F00EC0101002260C5840090060C00803F00C0000718
S0400 E000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF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FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
S05F0 FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
S0600 FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
S0610 FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
S0620 FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
S0630 FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
S0640 FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
S0650 FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
S0660 FFFFFFFFFFFFFFFFFFFFFEFFFFFFFEFFFFFFFEFFFFFFFFFFFFFF418C0B000D8A
S0670 000000FC0B00000000000020000020000000000000000000EAA2000050240000
S0680 200000000000001400000018000000200000200000000000000000000100394D
S0690 AC477CE817A9F8EAA81EEC215EA202AABB7FACD349750340EF0041C322FC9404
S06A0 EA933D619895098733A40624079F8200CE1301903E78AD7611004007FBC00E1A
S06B0 04800E3881AB320005574978250F87E8C712F0C81E0391EBB94BA9843AF20782
S06C0 7230098FCA89011D69980024798569F20282F0000700F0C09E23D0992D3C94A7
S06D0 7800800540F00112E0915F3600F8000000000000000000000000000000000000
S06E0 000005007FBE3102052A4DCB020C09ADDA1300156D7548E406CF2B60240106C0
S06F0 DF0300A2820795107D12054305A0CE1FE8C0DE80000000000000000000000000
S0700 00000000000000000000FD077FFFF7EFFFFEEFDFFEFDDFBF00F8000000000066
S0710 0000001E0000000000000000800025407F000260000000C00000008080020000
S0720 000000000000000000000601D1A0301A000000000000010078F0070FF0E00F1E
S0730 E0C10000FD177FFFF7EFFFFEEFDFFEFDC0BF0000000000000000000000000000
S0740 00000000000000000000000000000000000000009001191000191000010000A0
S0750 00000B0FF6518E3CABC2BA5491A711EF9761130A000CFED18FBCE191A229B586
S0760 24F7244278FCEF1FC2BD8FBC19A01B571C226375B7AC2098225A8610D190B1C2
S0770 2D3CE9863AF28647E4F0471E00D04E3C4B91BC215D2059F8248E24E4880AA820
S0780 5A09E0A3137C1D41220724EF24E44FDCFA89453F61E0380C15877AE200071908
S0790 4D022218DF800868105A702009042001B2F04F001CE49B0B404A803910100402
S07A0 46404A088009027C800012109A0258543CAC334005000D0D020C102E11100011
S07B0 C0E37901258F04E8008F10C84E2D8890027111870078470E726A4D8472258E88
S07C0 0B108100104001B8A70EEA140ED702B0029DB81A0001108002003340F4020005
S07D0 E8B8D3000A082E7E103001BB50400544474C06080E35E1913A28A1863AF22786
S07E0 14D40B4FE20D50B9C0113B0780444212A521A5C06A5094099E83C123A0621D54
S07F0 78E6038FC504011246C114BC8800000101803AF21780BA44000A0640009ED2C2



From: Franc Zabkar on
On Wed, 26 May 2010 17:14:34 +0100, "N_Cook" <diverse(a)tcp.co.uk> put
finger to keyboard and composed:

>Franc Zabkar <fzabkar(a)iinternode.on.net> wrote in message
>news:9hrpv5p18m4bof22f4v1g401q36haha6aj(a)4ax.com...
>> On Mon, 24 May 2010 08:35:10 +0100, "N_Cook" <diverse(a)tcp.co.uk> put
>> finger to keyboard and composed:
>>
>> >So perhaps dig out win95 disc , make up the 7405 bridge, fire up iicuni
>and
>> >from the Ezusb pdf ,fro
>> >
>> >5.7 Serial EEPROM Present,FirstByte is 0xB0
>> >Table 5-7. EEPROM Data Format for"B0"Load
>> >
>> >0 0xB0
>> >1 VendorID(VID)L
>> >2 VendorID(VID)H
>> >3 ProductID(PID)L
>> >4 ProductID(PID)H
>> >5 DeviceID(DID)L
>> >6 DeviceID(DID)H
>> >7 Notused
>> >
>> >and
>> >digital mixer VID 0B45 , PID_0001&MI_00
>> >perhaps just loading hex version of
>> >B0450B01000000 into the first 7 bytes instead of the current corrupted
>> >087910B004BCC0.....
>> >
>> >(I'm unsure about device ID at the moment)
>> >is enough to start the ball rolling to do a firmware upload for the mixer
>>
>> If all you want to do is to verify that the EEPROM data are intact,
>> then wouldn't it be simpler to just compute a checksum over the
>> contents?
>>
>> Could you upload the PROM dump so that we could have a look at it?
>>
>
>The first block of the corrupted EEPROM is
>(Maybe decoded erroneously as serial converted to parallel via 2x 4015 and
>clock divided by 16 by 4 stages of a 4020 and loaded into Logic analyser on
>negative going transitions). It is consistent thats all I can say
>
>S0000 087910B004BCC04B070420001828C000F0B20401604111AEF581030420009615

ISTM that your EEPROM dump must be in error.

According to section 5.6 (page 83) of the technical reference, the
first byte of the serial EEPROM can either be 0xB0 or 0xB2. If it is
anything other than these, or if an EEPROM is not present, then the
EZ-USB chip identifies itself with a VID of 0x0547 (Cypress
Semiconductor) and a PID of 0x2131 (EZ-USB).

Otherwise, if byte 0 is 0xB0, then the chip enumerates with the
VID/PID stored in the EEPROM. The host (ie your PC) then downloads
code into the EZ-USB's RAM and starts the 8051 CPU. The serial EEPROM
in this case would only need to store 7 bytes, so chips such as the
24LC00 would be used.

If byte 0 is 0xB2, then the EZ-USB core loads the EEPROM data into
EZ-USB RAM.

The datasheet states that ...

Serial EEPROM data can be loaded into two EZ-USB RAM spaces only.
� 8051 program/data RAM at 0x0000-0x1B40.
� The CPUCS register at 0x7F92

This suggests to me that the maximum ROM size need only be 6976 bytes
(= 0x1B40).

- Franc Zabkar
--
Please remove one 'i' from my address when replying by email.
From: N_Cook on
Franc Zabkar <fzabkar(a)iinternode.on.net> wrote in message
news:raj906lcq7av8at5l32a9o860us8fhj55h(a)4ax.com...
> On Wed, 26 May 2010 17:14:34 +0100, "N_Cook" <diverse(a)tcp.co.uk> put
> finger to keyboard and composed:
>
> >Franc Zabkar <fzabkar(a)iinternode.on.net> wrote in message
> >news:9hrpv5p18m4bof22f4v1g401q36haha6aj(a)4ax.com...
> >> On Mon, 24 May 2010 08:35:10 +0100, "N_Cook" <diverse(a)tcp.co.uk> put
> >> finger to keyboard and composed:
> >>
> >> >So perhaps dig out win95 disc , make up the 7405 bridge, fire up
iicuni
> >and
> >> >from the Ezusb pdf ,fro
> >> >
>
> The datasheet states that ...
>
> Serial EEPROM data can be loaded into two EZ-USB RAM spaces only.
> . 8051 program/data RAM at 0x0000-0x1B40.
> . The CPUCS register at 0x7F92
>
> This suggests to me that the maximum ROM size need only be 6976 bytes
> (= 0x1B40).
>
> - Franc Zabkar
> --
> Please remove one 'i' from my address when replying by email.

Could well be in error. Old bit of homebrew and have not used the logic
analyser for 10 years. Until I find time to cobble together the 7405 cct and
check with a X24C04 (plenty to hand) writing and reading known code via pc
and logic analyser I cannot be certain. Its a back-burner job