Forum Discussion
Altera_Forum
Honored Contributor
17 years agoHow to write in EPCS
Hello, I am a newbie with Nios II. I'm doing a robotic project with a Cyclone and an EPCS4 flash memory. I've added an EPCS controller in my SOPC Builder system. I has to read...
Altera_Forum
Honored Contributor
17 years agoOk thank you !
It works very well ! Do you know how to read all the flah memory and save it into a file ? I have tried something but the result isn't very good : - I have a firmware of an another project. It's a .jic - with it I examine the EPCS - then I save it ino a .jic - I open the file with an Hex editor. - From the address 0x92, I can read something which looks like what I have written : a code, different of mine, is repeated 4 times. In other words, from address 0x92 I have this 16 bytes code 4 times : 00 80 40 c0 20 a0 60 e0 10 90 50 d0 30 b0 70 f0 insead of the number from 0 to F. A view of the hexa code : 00000090 : 01 00 00 80 40 c0 20 a0 60 e0 10 90 50 d0 30 b0 ...€@À `à.PÐ0° 000000a0 : 70 f0 00 80 40 c0 20 a0 60 e0 10 90 50 d0 30 b0 pð.€@À `à.PÐ0° 000000b0 : 70 f0 00 80 40 c0 20 a0 60 e0 10 90 50 d0 30 b0 pð.€@À `à.PÐ0° 000000c0 : 70 f0 00 80 40 c0 20 a0 60 e0 10 90 50 d0 30 b0 pð.€@À `à.PÐ0° 000000d0 : 70 f0 ff ff ff ff ff ff ff ff ff ff ff ff ff ff pðÿÿÿÿÿÿÿÿÿÿÿÿÿÿ I think it's what I write, but with an another codage, doesn't it ? Do you know how to read the good thing or a best way to do that ? Thanks again !