05-19-2014 03:10 AM
i´m trying to flash a M25P128 16MB Flash device which is connected to a Spartan-6 XC6SLX9-2FTG256C via SPI with a .mcs-file that has 6MB and 4 bytes. When i try to "add SPI/BPI Flash" in IMPACT i get the following error:
According to "Introduction to Indirect Programming – SPI or BPI Flash Memory" Spartan 6 should support indirect flash programming up to 128MB with a M25P Flash device. Can anyone give me a hint what i´m doing wrong please.
05-19-2014 03:31 AM
Can you check if you are assigning the correct mcs file for the SPI flash attached to the spartan LX9 device.
can you attach the .prm file.
05-19-2014 03:49 AM
05-19-2014 03:59 AM
Check whether used Flash is supported in your used tools version or not. The help topics in impact tools has supported flash list
Please check the voltages. Also send send satatus register details
05-19-2014 05:00 AM
thanks for the fast replay. Programming the flash already worked with another file which was delivered by an open source project. So the flash is provieded with the right voltage i guess. But now i`m trying to follow this instruction to create my own flash image:
I did not use IMPACT PROM File Formatter to create the new .mcs-file but "HexEditor".
Reading the status register says this:
05-19-2014 05:12 AM
can you compare the working mcs file with the non working mcs file for the address the data(bin, signature and bootloader) stored are matching or not.
Also is the mcs file size is same for the working and non working file?
05-19-2014 05:37 AM
comparing the two files was not possible because the working one does not contain a AFPGA bitstream nor a SDB filesystem signature. But i tried to assign a .mcs file to the flash which was of a smaller size than the working .mcs file and i still got the error so i guess something went wrong during the creation of the custom .mcs file. So i think the error is not caused by IMPACt but by the creation of the file.
thank you for your help
05-19-2014 09:23 PM