Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can I use a Map file? I don't have access to the ELF. #98

Open
smarley2 opened this issue Dec 4, 2024 · 5 comments
Open

Can I use a Map file? I don't have access to the ELF. #98

smarley2 opened this issue Dec 4, 2024 · 5 comments
Labels
enhancement New feature or request

Comments

@smarley2
Copy link

smarley2 commented Dec 4, 2024

Version/Branch:

main

Operating system:

Windows 11

Debug probe:

ST-Link

Microcontroller:

STM32G4

Details:

My Issue/Question:

Hi, I only have access to the Map file.
Can I use it instead of the ELF?

Screenshots/Video:

No response

@klonyyy klonyyy added the enhancement New feature or request label Dec 4, 2024
@klonyyy
Copy link
Owner

klonyyy commented Dec 4, 2024

Hello, is there a particular reason why only *.map file is available (asking out of curiosity)? I think it's possible eventually, but for now my plan is to develop some other features. We can see how much interest is in this topic from other users.

@smarley2
Copy link
Author

smarley2 commented Dec 4, 2024

Hello, is there a particular reason why only *.map file is available (asking out of curiosity)? I think it's possible eventually, but for now my plan is to develop some other features. We can see how much interest is in this topic from other users.

ok, I will talk with the software team and see if they can provide the Elf.
I was looking on the server where the sw is compiled and the files are available.

@smarley2
Copy link
Author

smarley2 commented Dec 4, 2024

Hello, is there a particular reason why only *.map file is available (asking out of curiosity)? I think it's possible eventually, but for now my plan is to develop some other features. We can see how much interest is in this topic from other users.

one more question, do I need to ask the sw team to compile it with SWO enable?

@klonyyy
Copy link
Owner

klonyyy commented Dec 4, 2024

For Variable Viewer you only need SWDIO/SWCLK so a minimal SWD connection. If you'd like to use Trace Viewer the SWO pin has to be configured - the trace registers are going to be set up by the MCUViewer.

@smarley2
Copy link
Author

smarley2 commented Dec 4, 2024

For Variable Viewer you only need SWDIO/SWCLK so a minimal SWD connection. If you'd like to use Trace Viewer the SWO pin has to be configured - the trace registers are going to be set up by the MCUViewer.

ok, I'm not sure yet, the idea is to debug a control loop that run in 8khz and I want to see some 32bits variables from it in time during operation. I will try with Variable Viewer first to now request change on the sw at the moment.
Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants