please update progalgspiflash.cpp
int ProgAlgSPIFlash::spi_flashinfo_m25p(unsigned char *buf)
and include:
case 0x80:
fprintf(stderr, "Found Micron M25PE Device, Device ID 0x%02x%02x\n",
fbuf[1], fbuf[2]);
switch (fbuf[2])
{
case 0x15:
pages = 65536;
sector_size = 65536;
break;
default:
fprintf(stderr,"Unexpected M25PE size ID 0x%02x\n", buf[2]);
return -1;
}
break;
tested and wfm on LogiPi 1.2 Spartan6 fpga board with Micron M25PE16 flash
apologies that this is not in the form of .diff.
I could not access svn.sourceforge and my files are most likely to be out of date.
~:"
...
jonathan> tested and wfm on LogiPi 1.2 Spartan6 fpga board with Micron
jonathan> M25PE16 flash
Will decipher you patch, apply and upload when SF svn is up again.
Bye
--
Uwe Bonnes bon@elektron.ikp.physik.tu-darmstadt.de
Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------