Forum Discussion

Eivind's avatar
Eivind
Icon for New Contributor rankNew Contributor
11 months ago
Solved

.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...
  • Eivind's avatar
    Eivind
    10 months 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