This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How to active DEBUG feature for SDK13, nRF52840 on IAR?

Hi.

I am using saadc sample cod of SDK13. Changing some parameters based on the analog input, the example is sucking somewhere where I have not been able to find it.

Searching for a solution, I wanted to use DEBUG or log future of the sample code to see in which line and where it is stuck. But I don not know how to active them and where to see the log. Could you please help me?

I am using nRF52840-PDK, on board debugger with IAR ARM 7.40

Thank you. Leila

Parents
  • It seems that the code does not reach that line and stick somewhere before.

    I think I found the problem. I am using on-board J-Link which its software does not support NRF52840_XXAA and it selected ARM7 by mistake. Not sure if I select NRF52832_XXAA would work efficiently or I should update the version of the J-Link software. It is V5.12f on my nRF52840-PDK. Could you let me know which one would be helpful?

    Thank you.

Reply
  • It seems that the code does not reach that line and stick somewhere before.

    I think I found the problem. I am using on-board J-Link which its software does not support NRF52840_XXAA and it selected ARM7 by mistake. Not sure if I select NRF52832_XXAA would work efficiently or I should update the version of the J-Link software. It is V5.12f on my nRF52840-PDK. Could you let me know which one would be helpful?

    Thank you.

Children
No Data
Related