Altera_Forum
Honored Contributor
14 years agoStrange problem with EPCS
I have a strange problem with EPCS on one of my custom boards.
The device is connected to a EP3C40 fpga and I program it using Quartus programmer and SFL. I have a .jic file for this. The problem is: programmer stops with an error, it seems during erasing stepInfo: Erasing ASP configuration device(s)
Error: Operation failed
Info: Ended Programmer operation at Fri Aug 26 11:47:04 2011 Sometimes it seems jtag can load not even the SFL image: Info: Started Programmer operation at Fri Aug 26 12:00:13 2011
Info: Configuring device index 1
Info: Device 1 contains JTAG ID code 0x020F40DD
Info: Configuration succeeded -- 1 device(s) configured
Error: Flash Loader IP not loaded on device 1
Error: Operation failed
Info: Ended Programmer operation at Fri Aug 26 12:00:16 2011
I have another identical board which I can program successfully in this way. So I thought there was some problem with the board itself. I tested epcs signals but I can't see nothing wrong. And now the weird part: The Nios configured in my fpga features epcs programming capabilities, since this is used for remote update and for storing application data. Then I loaded the application with jtag and then I used Nios to program epcs: this way it works perfectly and I can erase/program it without errors. AFAIK the only difference is that my Nios application doesn't touch the first sectors where the factory image is stored, namely the area which .jic file is supposed to load. However epcs signals are still the same, so I'd exclude a problem on the pcb or with the epcs itself. Any hints will be greatly appreciated. Thank you.