As the title states:
I have an FPGA and SOC design done and the RBF generated. I can program the FPGA with the SOF file and the LEDs toggle as expected.
The following steps were performed in ARM DS2020.1
I vaguely remember something of scatter files, but not sure how all this fits together.
How can I use my .ld linker script (as provided by intel/altera)??
Where is the FPGA .rbf file supposed to be loaded??
Some help would be greatly appreciated.
After removing some rust from my brain, I found some errors in my debug script and progressed past the preloader to the point in the debug script where it tries to load the application.
The following error is produced. I googled it but have not found indication on how to fix.
+loadfile "$sdir/Debug/MillenArcnetLogger.axf"ERROR(CMD16-IMG88): # in D:\_Projects\MillenArcnetLogger\sw\hps\application\debug_setup.ds:40 while executing: loadfile "$sdir/Debug/MillenArcnetLogger.axf"! Failed to load "MillenArcnetLogger.axf"! Unsupported ELF File (EI_CLASS=ELFCLASS64, e_machine=EM_AARCH64)ERROR(CMD656): The script D:\_Projects\MillenArcnetLogger\sw\hps\application\debug_setup.ds failed to complete due to an error during execution of the script
Removing more rust from brain and checking old notes....
I used a Scatter file instead of linker script.
Recompiled the project using the Arm Compiler 5
Then the application loads and stops in the main loop as expected.
REMAINING OPEN QUESTION:
How to load the FPGA .rbf file during debug startup?
HI Mikkie, you may have better luck getting a reply on the Intel forum:community.intel.com/.../soc-fpga-embedded-development-suite