Forum Discussion
Altera_Forum
Honored Contributor
12 years agoEpcs with locked sectors
Hello, this is my first post on this forum, so, first at all, best regards to everybody. I want ask you for help about locked EPCS. Symptoms are as follow: when I try to erase or program...
Altera_Forum
Honored Contributor
12 years agoSo, as I wrote before, I was forced to solve this in dirty way. I made small VHDL module to unlock EPCS. And it's work.
If somebody will be interested to do this, then he must do as follow. In new, empty project set Cyclone to use EPCS pins as normal IO. Then you need to send two commads. Do exactly, as it is on followed pictures (they are from Altera document: "Serial Configuration (EPCS) Devices Datasheet" - cyc_c51014.pdf) First: https://www.alteraforum.com/forum/attachment.php?attachmentid=9113 Then for one clock set nCS to "1". Next send: https://www.alteraforum.com/forum/attachment.php?attachmentid=9114 Here is byte called "Status register". You should put there value 0x00. And that's all. I check this also to lock back EPCS (with "status register" = 0x1C). It's work. I'm sure that, there is some easier way to do this, but I don't know how. For now, this is OK.