Forum Discussion
Hi
You could add the nios2 executable to the on chip ram in your design.
After you verify the behavior of your nios2 executable (.elf) using the debugger.
You could convert the elf into a hex file and place the hex file as an initialization file.
Using the command below to convert elf to hex
nios2-elf-objcopy -O ihex file.elf output_file.hex
Initialization of On chip ram
Regards
Jingyang, Teh
Page 13
Please read my question very carefully.
My code is fully developed and works. It does not fit in on chip RAM, it's just too big. It is therefore placed in external RAM and if I download and run from Eclipse it all works.
I need the system to run independantly so I read the documentation on using the bootloader to copy code from configuration memory to external RAM and then run.
It doesn't work and I don't know how to debug the problem.