i am having a bus fault somewhere in my code, i am trying to use addr2line to identify the source code line that it heppens at, for some reason it shows as if the adress is not valid.
what am i missing?
i am having a bus fault somewhere in my code, i am trying to use addr2line to identify the source code line that it heppens at, for some reason it shows as if the adress is not valid.
what am i missing?
Hi Shlomo
Your command do look correct. Just to be sure you are selecting the correct folder
1. Select your build config and open a terminal here
2. run arm-zephyr-eabi-addr2line.exe -e .\zephyr\zephyr.elf <your address>
Which version of NCS and toolchain are you using?
Regards
Runar
at the all it was that i had to use the r4 register and not r5.
do you know why sometime it's r5 and sometimes it's r4?
at the all it was that i had to use the r4 register and not r5.
do you know why sometime it's r5 and sometimes it's r4?