|
From: Charlie M. <cjm...@gm...> - 2018-03-30 14:45:56
|
I managed to fix both issues fairly easily. The first was caused by a space
between -I and the bitfile. The second was a simple matter of adding a
couple of lines to the progalgspiflash.cpp. Diff below.
Thanks,
Charlie
Index: progalgspiflash.cpp
===================================================================
--- progalgspiflash.cpp (revision 793)
+++ progalgspiflash.cpp (working copy)
@@ -480,6 +480,10 @@
pages = 65536;
sector_size = 65536;
break;
+ case 0x20:
+ pages = 524288;
+ sector_size = 65536;
+ break;
default:
fprintf(stderr,"Unexpected N25Q size ID 0x%02x\n", buf[2]);
return -1;
On Mon, Mar 19, 2018 at 1:40 PM, Charlie Mraz <cjm...@gm...> wrote:
> Hello All,
>
> I have been attempting to program the SPI FLASH (Micron MT25QL512) hanging
> off my 7-series FPGA. I am having two problems.
>
> 1) Invoking xc3sprog and specifying the bitfile for indirect programming
> with -I doesn't seem to work at all. I get the message: JEDEC: ff ff 0xff
> 0xff.
>
> 2) If I load the ISF bitfile manually, then I get:
> JEDEC: 20 ba 0x20 0x10
> Found Numonyx N25Q Device, Device ID 0xba20
> Unexpected N25Q size ID 0x20
> ISF Bitfile probably not loaded
>
> I presume the 2nd issue is easily corrected, as it looks like the SPI
> interface is generally working, so I am going to start working on that one
> first. Any ideas on the first one? I don't mind the workaround for now, but
> I would like to resolve the issue eventually. Any advice would be
> appreciated.
>
> Thanks,
> Charlie Mraz
>
|