Forum Discussion
Altera_Forum
Honored Contributor
14 years agoHow to use an EPCS Flash
Hallo together, I'm actually trying to save data from NIOS II into an EPCS64 device. My system contains an EPCS controller. But now the confusion is complete, there are so many files for usin...
Altera_Forum
Honored Contributor
14 years ago --- Quote Start --- As I said in one of yesterday's posts M25PE16 and EPCS commands are faily compatible but the read indentification commands are different Since you are not willing to look at the datasheet (at least in order to know what the expected id should be), I'll explain here. EPCS use the command code 0xAB to read the silicon id (e.g. 0x14 for EPCS16) while on M25PE16 the same code is used for the release from power down command. Then, the hal driver function will get no id but only invalid data; actually they are all 1s, since the RDP command is not supposed to send any answer. The read-id command code for M25PE16 is instead 0x9F In conclusion, I guess I have to correct my previous statement: you can't get the silicon id but you probably will be able to read/write the flash device, since all other relevant commands are pretty compatible. --- Quote End --- Ok, I'm sorry if you are right. I maybe overlooked this in your last post. But I will investigate in this way the next days. If I have any news I will give a report here. Thanks!