On Thu, Feb 04, 2010 at 01:49:48AM +0100, Carl-Daniel Hailfinger wrote:
On 17.01.2010 01:55, Uwe Hermann wrote:
Here's the first draft. It does not yet work, the chip cannot be detected, all reads return 0x00 so far.
Note that the WE# pin is at 3.3V while the HPT card is powered, thus writes are _dis_abled, unless I'm mistaken. The WE# pin is connected to some pin of the HPT370A chip (probably a GPIO), so it can in theory toggle the WE# pin.
That would explain why you don't get any probe response. An interesting experiment would be to write some random image to the chip with a known good programmer (your mainboard?), then force read the chip in the HPT360. If that works, you only have to handle WE#. If it doesn't, there are deeper issues that need to be fixed.
Will check as soon as I find some spare time.
Following the policy of merging code early as long as users won't trip over it, change CONFIG_ATAHPT to default to no, and the patch is Acked-by: Carl-Daniel Hailfinger c-d.hailfinger.devel.2006@gmx.net
Thanks, r908. The code is disabled by default in the Makefile.
Uwe.