Winbond W25Q80BV Support spifilib LPCLink2 Board

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Winbond W25Q80BV Support spifilib LPCLink2 Board

1,025 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by RedBarnDesigner on Wed Aug 06 01:02:23 MST 2014
Hi,

Does anybody have a working example of reading/programming the Winbond W25Q80BZ SPIFI FLASH device fitted on the LPCLink2 board?

I followed the procedure outlined in the PDF accompanying the latest libspifi 0.6 beta library and the device seems to register okay but when I call the spifiGetHandleMemSize as per the example, the code 'hangs'. It appears that the device is not detected. I tried swapping the JEDEC Device ID bytes over 0x4014 to 0x1440 but that made no difference.

A working example would speed things up for me. Any help gratefully received. Since this is the device fitted to the LPCLink2 board and I am using two LPCLink2 boards to do some LPC4370 development, I guess that a working example would be generally useful.

Thanks in anticipation.
Labels (1)
0 Kudos
11 Replies

837 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by rockyh on Thu Aug 28 07:59:17 MST 2014
Thank you. We are using W25Q80BV. I think that I just made an error and copied "BZ" from a previous post.
0 Kudos

837 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by mc on Wed Aug 27 08:59:00 MST 2014
Hi rockyh,
Yes, this flash algorithm can program/erase W25Q80B and W25Q80DV. What is W25Q80B[color=#f03]Z[/color]? Can you please share datasheet?
0 Kudos

837 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by rockyh on Wed Aug 27 07:49:54 MST 2014
It is Keil uVision 4.22.  I have "SPIFI on LPC18xx/43xx @ 14000000, Ext. Flash SPI, 64M" Programming Algorithm selected.
0 Kudos

837 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by mc on Tue Aug 26 09:42:43 MST 2014
Hi Rockyh,
Which IDE are you using with Keil uLink2?
0 Kudos

837 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by rockyh on Tue Aug 26 08:02:15 MST 2014
I choose the W25Q80BZ to be used on our boards, and our plan for prototype board is programming it with Keil ULINK2. I think their flash algorithm uses the SPIFILIB to program devices, but perhaps an older version...(does older version of SPILIB work to program this device?) Has anybody that has worked with this flash device on SPIFI used Keil Ulink to program it?
Thanks
0 Kudos

837 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by RedBarnDesigner on Tue Aug 26 07:04:30 MST 2014
Yes, I can confirm that the device boots okay. I have done some more work on this and have got some code "more or less" working. I can program 2 out of 10 bytes successfully. I am attaching the exported zip archive so if someone could take a look and tell me where I am going wrong - I would be grateful. The Winbond W25Q80BV does not support the clear status command or some of the status bits so I have modified the library.
0 Kudos

837 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by rockyh on Fri Aug 15 13:11:18 MST 2014
Ok, Thank you.
I think I understand that its just that SPIFILIB cannot program W25Q80 in version 6. When do you anticipate update to SPFILIB?
0 Kudos

837 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by mc on Fri Aug 15 12:04:21 MST 2014
Hi rockyh,
Yes.
0 Kudos

837 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by rockyh on Fri Aug 15 08:26:46 MST 2014
mc,
Is the 4330 Boot ROM able to boot from W25Q80?
Thanks
0 Kudos

837 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by rockyh on Fri Aug 15 08:26:44 MST 2014
mc,
Is the 4330 Boot ROM able to boot from W25Q80?
Thanks
0 Kudos

837 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by mc on Fri Aug 08 17:31:00 MST 2014
Hi RedbarnDesigner,
The spifilib version 06 does not support W25Q80BZ. We are working on that and will release new version.

We have an example with old spifi lib(No source available). Please find attached an old spifi lib example for LPC1830 Xplorer board based on old CMSIS.

You can use it on LPC4370.
0 Kudos