digi001
Full Member level 5
I am working on a DE2-115 dev board and have finished my design.
Now i need to program Flash memories so that my code will be non-viotile.
I have successfully converted the .sof file to .pof and programmed a Active Serial device EPS64.
However I cannot get the .elf file programmed in the ISSI 8MB Flash correctly. I followed the tutorial on terasic https://www.terasic.com.tw/cgi-bin/page/archive.pl?Language=English&CategoryNo=49&No=656
by creating a CFI flash controller ,creating a tri-state bus and setting the reset vector to cfi_flash. I am able to program the flash and everything seems ok, but the code is not running correctly.
Any idea why this could be happening? If i run as 'Nios II hardware' in eclipse the program works great, but if i flash the .elf file and recycle power I get strange things like half of the program works. My LCD display works, but the UART doesn't.
Any ideas?
Now i need to program Flash memories so that my code will be non-viotile.
I have successfully converted the .sof file to .pof and programmed a Active Serial device EPS64.
However I cannot get the .elf file programmed in the ISSI 8MB Flash correctly. I followed the tutorial on terasic https://www.terasic.com.tw/cgi-bin/page/archive.pl?Language=English&CategoryNo=49&No=656
by creating a CFI flash controller ,creating a tri-state bus and setting the reset vector to cfi_flash. I am able to program the flash and everything seems ok, but the code is not running correctly.
Any idea why this could be happening? If i run as 'Nios II hardware' in eclipse the program works great, but if i flash the .elf file and recycle power I get strange things like half of the program works. My LCD display works, but the UART doesn't.
Any ideas?