On Tue, 2004-10-12 at 15:10, Ian Campbell wrote: > On Tue, 2004-10-12 at 11:44, Ian Campbell wrote: > > Thanks for this: I now have it detecting my ISP116x. The current version > > crashes in isp1362_start_chip which I haven't figured out yet. > > Turns out it is because of accessing ISP1362-only registers when > chip_type is ISP116x, which is "easy" enough to fix once I figure out > the differences :-)
I hope this can make your life easier.
-> All the differences refer to the way things should be for the isp1160
OK, here we go:
* HCFMREM and HCFMNUM are read-only
* In HCHWCFG:
1) bit 7 is EOT polarity
2) bit 9 is reserved
3) bit 12 is for both external resistors so bit 13 is reserved
4) bits 14,15 are reserved
* In HCDMACFG:
1) bit 1 selects between ITL / ATL, bit 2 is the DMA counter and bit 3
is reserved
2) bit 7 is reserved
* In HCuPINT:
1) bit 1 is ATL Int
2) bit 2 is EOT
3) bits 3,7,8,9 are reserved
* In HCCHIPID, HCCHIPID_MAGIC = 0x6100
* In HCBUFSTAT:
1) bit 2 is ATL full
2) bit 3 is ITL0 done and bit 4 is ITL1 done
3) bit 5 is ATL done
4) bits 6,8,9,10 are reserved
* New registers:
1) ITL Buffer Length, address:0x2a, 16 bit, RW
2) ATL Buffer Length, address:0x2b, 16 bit, RW
3) ITL0 Buffer Data, address:0x2d, 16 bit, R
4) ITL1 Buffer Data, address:0x2e, 16 bit, R
5) ITL Port, address:0x40, 16 bit, RW
6) ATL Port, address:0x41, 16 bit, RW
* All the registers that follow the definition of HCBUFSTAT, do not
exist for the isp1160. (ie, from HCDIRADDR reg, up to and including the
OTG registers)
Dimitris
signature.asc
Description: This is a digitally signed message part
