Forum Discussion
Altera_Forum
Honored Contributor
12 years agoThank you for your answer.
I try to make a custom bootloader, I found one example : http://www.alterawiki.com/wiki/epcs_bootloaders but I can't make it work. I use the C boot-loader from the example. First, I have a nano de0 board with an Spansion S25FL064P memory as EPCS. I never succeed to program it with Nios II Flash Programmer interface. But I use Nios II Flash Programmer to convert elf and sof file into flash format after that I convert with a script flash files to hex file and finally I create a jic file and I use Quartus programmer to program the EPCS. I created a projet in Eclipse with the boot-loader example. I charged another application (software) in the EPCS at the specific address where the bootload go find it. I succeed to run the boot-loader example and detect the presence of a program in the EPCS. But when the bootloader try to copy the program into ram it fall in an infinite loop in "the assembly code". Am I wrong ? Is it possible to debug the boot-loader as a "normal" program in eclipse or I need to put it in the EPCS ROM memory or on a on-chip memory ? Thank you for your help.