Forum Discussion
Hi
It seems like the bootloader is not copying the code over to the load address.
Could you double check the address that was used to create the hex fil is correct?
The Address of the base address and end address of the GSFI should be the value shown in the Address Map Tab in the Platform designer.
alt-file-convert -I elf32-littlenios2 -O hex--input=<ELF filename>.elf --output=<HEX filename>.hex --base=<address of GSFI AVL MEM> --end=<address of GSFI AVL MEM> --reset=<reset vector> --out-data-width=8 --boot=<Quartus installation directory>/nios2eds/components/altera_nios2/boot_loader_cfi.srec
After checking if that is correct we could try testing if the connection to the GSFI is working.
There is a simple project that you could create the test the connection. With that we could use system console to test the read/write to teh GSFI.
Regards
Jingyang, Teh
- Oliver_I_Sedlacek2 years ago
Contributor
Crap crap crap crap, I'm now in a world of pain. I went through everything and reprogrammed the configuration and now I can't run the code at all.
This is a complete disaster as I really, really need to code to run so my project is now in serious trouble.
I'm reverting from revision control, and that's not looking good either.