Forum Discussion
.elf of updated build not downloading to Nios V from RiscFree
- 1 year ago
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
Thank you for your reply.
I have not had any progress lately.
1. I do not get any error messages when downloading new elf-file from riscFree. I have not been able to find any error message in any .log-file. It just does not give the NIOS the latest elf. Using niosv-download from niosv-shell works perfectly.
2. I do not know how to select reset signal after download option. I do not get an automatic reset after download, I need to do a reset from hardware (Push-button) to make the program on Nios to start running again. This applies whether I try to download from riscFree or using niosv_download. I have tried adding the -r option to niosv-download without sucess.
3. I do not know what boot method the nios is using? How do I tell and where do I change it?
Best regards
Eivind