Nov 28, 2019
12:52 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nov 28, 2019
12:52 AM
Hello,
I am having the following problem:
I have the same code that I compile in 2 environments: Windows and Linux and I get .hex and .elf
Then I am debugging the elf file in Hightec IDE where I make a new project, the load the .elf and flash it on my Evaluation board.
The Windows generated .elf works no problem, I can flash it, start de debug, see the sources, step in the sources, set breakpoints etc
The Linux generated .elf after flashing it gives the error that it can't access the sources and I can't do anything.
Probably the problem is that in the .elf file, the source file paths are Linux specific, and then Windows can't resolve the paths or something like that, is there any way to solve this problem?
Or can I install in Linux some tool or IDE where I can load the .elf and then flash it on the Evaluation Board?
Thanks!
I am having the following problem:
I have the same code that I compile in 2 environments: Windows and Linux and I get .hex and .elf
Then I am debugging the elf file in Hightec IDE where I make a new project, the load the .elf and flash it on my Evaluation board.
The Windows generated .elf works no problem, I can flash it, start de debug, see the sources, step in the sources, set breakpoints etc
The Linux generated .elf after flashing it gives the error that it can't access the sources and I can't do anything.
Probably the problem is that in the .elf file, the source file paths are Linux specific, and then Windows can't resolve the paths or something like that, is there any way to solve this problem?
Or can I install in Linux some tool or IDE where I can load the .elf and then flash it on the Evaluation Board?
Thanks!
- Tags:
- IFX
5 Replies
Nov 28, 2019
01:44 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nov 28, 2019
01:44 AM
I am using the option -O3 -g3 both in Windows and Linux for generating the debug information ..., is there an additional option to generate non OS dependent source file links in the elf?
Dec 04, 2019
12:21 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dec 04, 2019
12:21 AM
I tried in the last days all the possibilities offered by the Hightec IDE, there are some options to map the paths from the elf to some other path on your local drive, but also this doesn't seems to work.
I would expect that at least I can flash the elf on the Evaluation Board and the software would run without Debug, but after I flash it it keeps on asking for the source files, and then stops into some trap ...
I would expect that at least I can flash the elf on the Evaluation Board and the software would run without Debug, but after I flash it it keeps on asking for the source files, and then stops into some trap ...
Dec 31, 2019
02:09 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dec 31, 2019
02:09 PM
You might try using relative paths instead of absolute paths.
I have not tried this personally.
I have not tried this personally.
Jan 02, 2020
08:30 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 02, 2020
08:30 AM
bbogdanmircea wrote:
I tried in the last days all the possibilities offered by the Hightec IDE, there are some options to map the paths from the elf to some other path on your local drive, but also this doesn't seems to work.
I would expect that at least I can flash the elf on the Evaluation Board and the software would run without Debug, but after I flash it it keeps on asking for the source files, and then stops into some trap ...
Are you sure that your project includes a valid boot mode header? Even if it can't find the source files, it should still run.
I'm not surprised there's no way to overcome the elf path difference - I doubt mixing linux forward slashes and Windows backslashes is going to work.
Jan 10, 2020
01:42 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 10, 2020
01:42 AM
This incompatibility between Linux and Windows is really annoying, especially when you have an already working setup for Linux that you want to try on an Evaluation Board that can be debugged only in Windows ...
Of course probably the setup can be replicated in Windows, but it would much easier just to be able to load the .elf file generated from Linux ...
Of course probably the setup can be replicated in Windows, but it would much easier just to be able to load the .elf file generated from Linux ...