jedec probe problem

thierry
2003-01-01T13:11:03Z

my flash is hy29lv160 in word mode and buswidth is 16 bit.
I use jedec_probe_chip() to detect my flash.
According to the data sheet of my flash,I set:
cfi->addr_unlock1 = 0x555;
cfi->addr_unlock2 = 0x2aa;
but when it execute:
cfi_send_gen_cmd(0xaa, cfi->addr_unlock1, base, map, cfi, CFI_DEVICETYPE_X16, NULL);
cfi_send_gen_cmd(0x55, cfi->addr_unlock2, base, map, cfi, CFI_DEVICETYPE_X16, NULL);
cfi_send_gen_cmd(0x90, cfi->addr_unlock1, base, map, cfi, CFI_DEVICETYPE_X16, NULL);
cfi->mfr = jedec_read_mfr(map, base, osf);
it stop after the third cfi_send_gen_cmd and can't read the manufacture code.
Can someone point out my mistake?
Thanks!

Thierry Zhong