Skip to content

Commit

Permalink
Update progalgspiflash.cpp
Browse files Browse the repository at this point in the history
Add Numonyx N25Q device 0x16 which is used on Digilent CMOD A7 artix7 fpga board.
  • Loading branch information
charkster authored May 13, 2021
1 parent 11b39b1 commit 44ab106
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions progalgspiflash.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,10 @@ int ProgAlgSPIFlash::spi_flashinfo_m25p_mx25l(unsigned char *buf, int is_mx25l)
fbuf[1], fbuf[2]);
switch (fbuf[2])
{
case 0x16:
pages = 16384;
sector_size = 65536;
break;
case 0x17:
pages = 32768;
sector_size = 65536;
Expand Down

0 comments on commit 44ab106

Please sign in to comment.