Forum Discussion
Altera_Forum
Honored Contributor
21 years agoHow to write eCos application on flash?
Hi! I have generated the eCos package, and an application. I've been running it with the IDE environment and the "Run"command, since now. Now I have to write it to flash. The idea is...
Altera_Forum
Honored Contributor
21 years agoWhat it's doing is that the program_flash script is generating a .flash file, which is in effect a bootloader followed by a collection of address/data pairs for the elf file. This then gets programmed into flash, on reset the bootloader copies the code into ram.
One thing which may be tripping you up is that the flashprogrammer programs it's own SOF (FPGA config file) once you've run this, you need to reprogram your hardware