Forum Discussion
Altera_Forum
Honored Contributor
21 years agoQuartus 4.2 and UBoot
Hi All, Has anyone noticed/experienced any problems when moving a UBoot build from Quartus 4.1/Nios 1.0 to Quartus 4.2/Nios1.1 ? Only I've got a system that was working fine under th...
Altera_Forum
Honored Contributor
21 years agoFurther to this it seems I can't manually get any code programmed into the epcs to work.
My epcs should contain the sof and uboot (or a test application) I carry out the following tasks to program the files into the epcs:@echo "Converting UBoot elf to FLASH file"
elf2flash --epcs --base=0x0 --end=0x7fffffff --flash=U59 --input=u-boot.elf
--output=u-boot.flash --boot=boot_loader_epcs.srec
@echo "Programming UBoot into EPCS on default JTAG device"
nios2-flash-programmer --epcs --input=u-boot.flash --sof=alteradk_flash_programmer.sof
@echo "Converting FPGA SOF to FLASH file"
sof2flash --epcs --flash=U59 --offset=0x0 --input=full_featured.sof --output=full_featured.flash
@echo "Programming SOF into EPCS on default JTAG device"
nios2-flash-programmer --relocate --epcs --input=full_featured.flash --sof=__NO_SOF_PLEASE__ Now this sequence is adapted from an earlier one that definitely worked (just updated with the new features such as __NO_SOF_PLEASE__) however when I reboot the fpga it successfully loads the sof and configures but point blank refuses to run my code. (I've also tried a simple non-hosted led flasher with no success either) Yet if I download uboot or the led program via nios2-download -g both programs work correctly. So does anyone have any suggestions as to what has changed in the epcs boot sequence that could be affecting my design? Thanks in advance!, (getting slightly desperate now)