Hi tato,
You’re seeing two separate issues:
- BSP @ 0x02000000 fails because Nios V requires the reset vector to be exactly the base of the chosen reset memory region (your GSFI avl_mem base not equal to 0x02000000). Refer :5.10. Summary of Nios V Processor Vector Configuration and BSP Settings
- JIC packaging @ 0x02000000 fails because the first 32 bytes there are reserved (Option Bits), so app.hex starting at 0x02000000 may overlaps.
Could you try:
- If GSFI base is 0x01000000, start HEX at 0x01000000. Refer :5.10. Summary of Nios V Processor Vector Configuration and BSP Settings
- If you must use 0x02000000, start HEX at 0x02000020 to avoid the Option Bits area. Verify with the generated .map and avoid HEX overlap errors. Refer: 2.3.1.4.3. Defining Address Span Extender Linker Memory Device
Also, make sure GSFI parameters match your flash and configuration mode. Refer: Nios® V Boot Option
Regards,
Fakhrul