This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to know which instruction is in a Faulting instruction address

Good morning!

I am testing an application on Visual Studio Code + nRF Connect. I have a crash:

<err> os: Faulting instruction address (r15/pc): 0x0002c064

How can I know which C instruction or function is in this address? Any of the generated files? I have reviewed rom.json, but it only shows sizes, not addresses.

Thank you,

David.

Parents
  • Hi David,

    Which is your VS Code version? and which is you nRF Connect SDK version? Also, it would be helpful to know the entire error message.

    There are few ways to find the line from the address, and I guess this could be a query for the VSCode forum.

    Best Regards,

    Priyanka

  • Hi Priyanka:

    VS Code:

    Version: 1.67.2 (user setup)
    Commit: c3511e6c69bb39013c4a4b7b9566ec1ca73fc4d5
    date: 2022-05-17T18:15:52.058Z
    Electrón: 17.4.1
    Chromium: 98.0.4758.141
    Node.js: 16.13.0
    V8: 9.8.177.13-electron.0
    OS: Windows_NT x64 10.0.19044

    nRF Connect SDK:

    nRF Connect for VS Code v2022.6.22
    nRF Connect for VS Code Extension Pack v2022.5.1
    I will read your reference. Thank you,
    David.
Reply
  • Hi Priyanka:

    VS Code:

    Version: 1.67.2 (user setup)
    Commit: c3511e6c69bb39013c4a4b7b9566ec1ca73fc4d5
    date: 2022-05-17T18:15:52.058Z
    Electrón: 17.4.1
    Chromium: 98.0.4758.141
    Node.js: 16.13.0
    V8: 9.8.177.13-electron.0
    OS: Windows_NT x64 10.0.19044

    nRF Connect SDK:

    nRF Connect for VS Code v2022.6.22
    nRF Connect for VS Code Extension Pack v2022.5.1
    I will read your reference. Thank you,
    David.
Children
No Data
Related