Forum Discussion
Hi Alex
I am using the hwlibs examples located here:
https://www.rocketboards.org/foswiki/Documentation/HWLib#Running_Cyclone_V_HWLib_Example
Please find the binaries attached.
If you could also send me your copy that would be great.
I see that the steps that you are using is slightly different from mine.
The steps of creating the binary, i am using the command below:
"arm-eabi-objcopy -O binary application.elf application.bin"
The application should be in .elf instead of .axf.
You can change the Makefile line 54 to "ELF := application.elf".
Regards
Jingyang, Teh
- CAlex2 years ago
Contributor
Hi,
Sure, I'll attach my code to you, one is for arm ds, and another is for sdimage.
Meanwhile I'll try to use elf instead of axf, although I think there is no difference between two binaries.
Reguards.
- CAlex2 years ago
Contributor
Hi,
Update
Your temp is working pretty well, but my helloworld didnt work.
Ive tried the elf version,yet the result is the same.
Could you share your build sequence?
Reguards.
- CAlex2 years ago
Contributor
Hi,
Update 2
I used the objdump to check the elf file,it shows the entry address is 0x0100_0060,
and your elf is 0x0010_0080(which make sence for it need 0x40 header from mkimage),
I didnt change the linker file or other settings except the "." from 0x0010_0040 to 0x0100_0040,
if MY ASSUMPTION is correct,the start address of my elf should be 0x0100_0080 INSTEAD OF 0x0100-0060.
Do you know why is that?
Reguards.
- CAlex2 years ago
Contributor
Hi,
Update 3
The start address problem is duel to the interrupt vector.
So the main problem is not the different start address of the elf file.
Reguards.