File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,8 @@ var DefaultDeviceIdentifier = DeviceIdentifierFunc(func(id JedecID) Attrs {
4646 return GD25Q16C ()
4747 case 0xC84017 :
4848 return GD25Q64C ()
49+ case 0xEF4014 :
50+ return W25Q80DV ()
4951 case 0xEF4015 :
5052 return W25Q16JVIQ ()
5153 case 0xEF4016 :
@@ -380,6 +382,25 @@ func W25Q80DL() Attrs {
380382 TotalSize : 1 << 20 , // 1 MiB
381383 StartUp : 5000 * time .Microsecond ,
382384 JedecID : JedecID {0xEF , 0x60 , 0x14 },
385+ MaxClockSpeedMHz : 80 ,
386+ QuadEnableBitMask : 0x02 ,
387+ HasSectorProtection : false ,
388+ SupportsFastRead : true ,
389+ SupportsQSPI : true ,
390+ SupportsQSPIWrites : false ,
391+ WriteStatusSplit : false ,
392+ SingleStatusByte : false ,
393+ }
394+ }
395+
396+ // Settings for the Winbond W25Q80DV 2MiB SPI flash.
397+ // Datasheet:
398+ // https://www.winbond.com/resource-files/w25q80dv%20dl_revh_10022015.pdf
399+ func W25Q80DV () Attrs {
400+ return Attrs {
401+ TotalSize : 1 << 21 , // 2 MiB
402+ StartUp : 5000 * time .Microsecond ,
403+ JedecID : JedecID {0xEF , 0x40 , 0x14 },
383404 MaxClockSpeedMHz : 104 ,
384405 QuadEnableBitMask : 0x02 ,
385406 HasSectorProtection : false ,
You can’t perform that action at this time.
0 commit comments