Forum Discussion
Problem writing the NIOS II program to the EPCS controller.
- 1 year ago
Hi @Megavolt91,
Thank you for posting in Intel community forum, hope all is well and apologies for the delayed in response.
Thanks for the details explanation, appreciate the effort on explaining the situation, it definitely helps us to understand the situation and others too.
Just to clarify, you are able to program to Nios II configuration to EPCS controller now and Nios II is also starting up. However there is confusion in the addresses?
Note: Nios II has been deprecated and no longer supported, hence perhaps it is advised to moved to Nios V, however we would try our best to clarify on your situation.
Best Wishes
BB
Now the code loaded by my bootloader is work. I see that the interrupt do not work in this case. That is, the code
3. //usleep(500000);
if(Strob)
does not work
4. usleep(500000);
//if(Strob)
Work
EPCS FirmWare Begin At: 0x23869
Read EPCS adr: 0x23869 Lenth: 0x1308
Read EPCS adr: 0x2386d CPU Memory adr: 0x8008000
Record N: 0 At EPCS Address: 0x23871 - 0x24b78 Length: 0x1308 Will be copied to CPU Adress: 0x8008000 - 0x8009308
Check Result...Ok
Read EPCS adr: 0x24b79 Lenth: 0x5d4
Read EPCS adr: 0x24b7d CPU Memory adr: 0x80098dc
Record N: 1 At EPCS Address: 0x24b81 - 0x25154 Length: 0x5d4 Will be copied to CPU Adress: 0x80098dc - 0x8009eb0
Check Result...Ok
Read EPCS adr: 0x25155 Lenth: 0x0
Last EPCS Free Address: 0x25159
Copy Succses. Copy Records: 2
Reset Address: 80081b8