.elf of updated build not downloading to Nios V from RiscFree
I have made a "hello world" project using Quartus lite23.1, RiscFree 24.3 on a Cyclone IV.
The initial project works OK, but if i do an edit to the c soure file (hello world), the newly compiled elf-file is not downloaded to the Nios V, it runs the old version of the program.
I have verified that the .elf file in the build/Default folder is updated, so it has been recompiled..
Using niosv-download from niosv-shell works, then the new .elf is downloaded, but recompile and run from riskFree does not work.
Any suggestions?
Eivind
Thank You for Your reply.
Things has made a weird turn to the better..
I tried to recreate the situation before I did the edits in bsp_editor I mentioned in my previous post.
I started bsp_editor, opened the settings.bsp-file, checked enable_alt_load and enable_alt_load_copy_rwdata and generated bsp_settings again.
However, I did not get back to my previous situation. I was still in a situation where a reset would freeze the niosV, only a new run from RiscFree would get it running again.
To get out of this situation, I tried to generate a new bsp rather than editing the old one.
Voila:, everything works. If I edit the hello.c file, the newest version runs on then NIOS.
I think I am now in the situation where the old proverb "If it aint broken, dont fix it" applies.
We can consider this case closed.
Unfortunately, when I regenerated the new setting.bsp the old one was overwritten, and it it thus not possible to compare working and non-working versions.
Thank You again for Your help.
Best regards
Eivind