Hello,
I have just started exploring pynrfjprog api to be used for automation. I am wondering is there a possibility to load .elf file, so that the symbols instead of the address could be used to read and write from memory ?
Thank you.
Hello,
I have just started exploring pynrfjprog api to be used for automation. I am wondering is there a possibility to load .elf file, so that the symbols instead of the address could be used to read and write from memory ?
Thank you.
Hello,
The nrfjprog libraries does not include support for this as far as I can tell. However, you could try using something like 'pyelftools' to load the elf file and retrieve address information from the debug symbols.
Best regards,
Vidar
Hi Vidar,
Thanks for your reponse. 'pyelftools' offered a clean solution for parsing elf files.
Kind regards
I'm glad to hear that you were able to use the pyelftools package, thank you for the update!
Kind regards,
Vidar
I'm glad to hear that you were able to use the pyelftools package, thank you for the update!
Kind regards,
Vidar