Unable to read flash id using SPIFI

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Unable to read flash id using SPIFI

1,441件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by jurrien on Thu Aug 27 04:53:27 MST 2015
Dear all,

Currently I am using the SPIFI driver for communication between an lpc1837 and a Micron flash chip (N25Q256). Due to the limited control over the driver I am considering to move to the SPIFI library provided by nxp. I have added the device to the supplied devices, however when the menufactory signature is read, it reads 0xFF for all 3 bytes. I did test the same software with a smaller flash chip of the same manufacturer (N25Q128) and here the right id is read. I have been trying the find a difference between the to datasheets, but could not find anything significant. Anyone an idea why the id bytes could be read as 0xFF?
Thanks,

Jurrien
ラベル(1)
0 件の賞賛
返信
4 返答(返信)

1,359件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by mc on Thu Nov 05 14:31:12 MST 2015
Hi avenuti,
You need dummy cycles if you read the device in Fast read mode. Alternatively, you can reduce SPIFI clock frequency to read data correctly without dummy cycles.
0 件の賞賛
返信

1,359件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by avenuti on Thu Nov 05 13:25:07 MST 2015
I'm having the same issue you described above. What do you mean by "include the required dummy cycles"?

Thanks.
0 件の賞賛
返信

1,359件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by jurrien on Fri Aug 28 02:09:15 MST 2015
I found the problem; I forgot the tell the spifi to include the required dummy cycles. Thanks for your response though.
Best regards,

Jurrien
0 件の賞賛
返信

1,359件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by mc on Thu Aug 27 06:35:53 MST 2015
Hi Jurrien,
Could you please post your code.You should get Manufacturer ID without any problem.
0 件の賞賛
返信