nrF52840 get disassembled code from hex file

Hi, 

I am using nrf52840, nrf SDK16.0.
we have created hex file using embuild. whenever hard fault occurs, we are storing had fault stack details in non-initialized memory. After reset i.e on por we are sending hard fault stack details through Ble.
so we need to extract PC, PSR, and other hard fault details from the hex file generated using embuild. can we get this details?

Thank you

Shreya

Parents Reply
  • Hardfault details has the program conter value & complete stack details. Since we have generated the hex file using the embuild tool we need some tool which converts this hex file to code, to know which code caused the hardfault. We tried loading emuild generated hex file into segger tool to get code, but we did not get.

     

    Is there way to map program counter value to code?, using some tool.

Children
Related