Forum Discussion
Altera_Forum
Honored Contributor
20 years agoHi seu_xugh,
The memory associated with the epcs_controller is read only. So just downloading code to this memory via the IDE will not work. And the flash programmer is used to program the eeprom on the epcs device, not the on-chip rom. > But when I try to set .text and .rodata to EPCS under system library properties, When you do this, you're telling the the IDE that you want your code to run out of the epcs controller boot rom. If this is what you really want, the flash programmer will not work either ... you'll need to modify the contents of your epcs_controller_boot_rom.hex file -- and you will no longer have the benefit of the boot code. In this case you may find it easier to simply use the asmi component and an onchip rom/ram. If you want to store your program in the epcs and have it automatically executed when the system boots, then you need to set your reset address to the epcs_controller, and leave your application .text, .data and other sections mapped to some ram. Regards, --Scott