Forum Discussion
Altera_Forum
Honored Contributor
21 years agoeCos from epcs
Hi all Does anybody know if eCos supports botting up from epcs instead of the on board flash device on ALtera's developement board (the 1c20 board) ? Looking at the templates tab under the ...
Altera_Forum
Honored Contributor
21 years agoMe again, monkeyboy
I've looked in the generated_app.mk file and saw that the elf2flash command there has the same syntax as the one in the ecos program_flash script, i.e: elf2flash --input=$(ELF) --flash=U59 --boot=`$(QUARTUS_ROOTDIR)/sopc_builder/bin/find_sopc_component_dir $(CPU_CLASS)`/$(BOOT_COPIER_EPCS) --outfile=$(EPCS_CONTROLLER_BOOT_ROM_FLASHTARGET_ALT_SIM_PREFIX)epcs_controller_boot_r om.flash --sim_optimize=$(ALT_SIM_OPTIMIZE) --epcs --base=0x0 --end=0x7FFFFFFF ; fi Meaning it uses both the epcs and the flash flags. When I run this command from the program_flash script I get an error saying that no reset address was specified in the command line or in the elf file. Since the command line looks the same as the one that does work, I am forced to cnoclude that for some reason, the elf file generated by the compiler when making the ecos software examples does not have a reset address written in it. Do you aggree ? Nir