From: Pascal_Olive on
Hello,

I have a design based on a EP2SGX30 FPGA, with a CFI Flash connected
to it, in order to store the functional program.

I'm trying in vain to program this Flash (Numonyx TE28F320J3D75) using
the Altera flash programmer.

I followed the instructions given in the User's Guide, and the
programmer is reading the CFI table correctly, but when it comes to
actual programming, it stops at 0%, with the following message :

Program failed
Error code : 4 in .....nios2flashprogrammer.exe ....

In parallel, we have been running read and write tests on the flash
and they are passing.

Thus we suspect that something is wrong with the flash programmer...
would you have any idea of what we need to check and what we can do to
have a bit more visibility of what's going on within this soft ?

Thanks in advance for your help,

Pascal.
From: Rob on
What version of the programmer are you using? When Numonyx took over
from Intel they changed the programming. If you download the latest
programmer from Altera, I think 9.1 you should be all set.

Pascal_Olive wrote:
> Hello,
>
> I have a design based on a EP2SGX30 FPGA, with a CFI Flash connected
> to it, in order to store the functional program.
>
> I'm trying in vain to program this Flash (Numonyx TE28F320J3D75) using
> the Altera flash programmer.
>
> I followed the instructions given in the User's Guide, and the
> programmer is reading the CFI table correctly, but when it comes to
> actual programming, it stops at 0%, with the following message :
>
> Program failed
> Error code : 4 in .....nios2flashprogrammer.exe ....
>
> In parallel, we have been running read and write tests on the flash
> and they are passing.
>
> Thus we suspect that something is wrong with the flash programmer...
> would you have any idea of what we need to check and what we can do to
> have a bit more visibility of what's going on within this soft ?
>
> Thanks in advance for your help,
>
> Pascal.