Forum Discussion
Altera_Forum
Honored Contributor
13 years agoThanks for the reply!
But I have ever the same problem. The Application image doesn't work. Here is my procedure: 1) I have changed the "boot_loader_epcs_bits_sii_siii_ciii.S" 2) run "make" 3) I have created the "epcs_controller_boot_rom.hex" with your code: --- Quote Start --- elf2hex --input="boot_loader_epcs_sii_siii_ciii.elf" --output="epcs_controller_boot_rom.hex" --base=0 --width=32 --end=1023 --record=4 --lower --- Quote End --- 4)In Quartus, I have selected "Update Memory Initialization File" and run the assembler: --- Quote Start --- Info (39025): Processed Memory Initialization File C:/Users/julien.egli/Atracsys/CI/firmware.atr.2Dcam/ODSP2b_DBC4GX150/dev/FPGA/2Dcam/sopc_2dcam_epcs_flash_controller_0_boot_rom_synth.hex --- Quote End --- 5) Created the Application image: --- Quote Start --- java -jar C:\altera\11.0\nios2eds\bin\sof2flash.jar --epcs --input="..\..\2Dcam.sof" --output="2Dcam_sof.flash" --verbose java -jar C:\altera\11.0\nios2eds\bin\elf2flash.jar --epcs --after="2Dcam_sof.flash" --input="..\2DCam\2DCam.elf" --output="2DCam_elf.flash" --offset 0 rem merge the two files copy /b /y 2Dcam_sof.flash+2DCam_elf.flash 2DCam.flash --- Quote End --- 6) Written the image at address "0x440000" in EPCS using "alt_write_flash" function 7)Then I reboot on the factory image and use the Remote Update controller to reconfig with the application image: Offset for reconfiguration image in flash: 0x110000 8)Then I start the reconfig of the FPGA Please, can you tell me if I do something wrong? Regards