Forum Discussion
Altera_Forum
Honored Contributor
20 years agocan't join sw and hw to epcs
I'm trying to put sw and configuration logic together in the epcs4 using the nios2 IDE flash programmer. The configuration logic seems not ok in the epcs while sw boots ok. I'm sure that sofware is booting from epcs because when I start the configuration logic through jtag using sof, nios2 runs the software stored in epcs. But when I turn off and on again, the configuration logic from epcs doesn't start.
I've also tried using command lines sof2flash and elf2flash, but happens the problem in the same way. Someone has suggestions?2 Replies
- Altera_Forum
Honored Contributor
I've just solved!
Maybe I'm doing something wrong in flash programmer ide, or there is a bug. Now I can put logic configuration and software working together in the epcs, doing the following in the command line: 1) sof2flash --epcs --input=mylogic.sof --output=mylogic.flash 2) elf2flash --epcs --after=mylogic.flash --input=mysoftware.elf --output mysoftware.flash --boot=epcs_controller_boot_rom.flash 3) nios2-flash-programmer --epcs --base=base_epcs_controller --program mylogic.flash mysoftware.flash - Altera_Forum
Honored Contributor
Have a look at my EPCS guide:
http://via.dynalias.org/svn/uclinux/doc/trunk/epcs-ug.pdf (http://via.dynalias.org/svn/uclinux/doc/trunk/epcs-ug.pdf) It may help you out.