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

Segger viewer hyjacking my application

I have read many of the posts about applications not running stand alone, and have tried many of the suggestions without success. My application runs on a nRF52832 it is being developed within SDK 15.3 utilizing the build tools within the armgcc folder for command line. The application has been roughly debugged with great appreciation to the tools, but needs to run standalone, and will not. The hardware is a custom board being programmed with the nRF52 DK.  

The application has been erradicated of any APP_ERROR function call, and in fact anything resembling err has been ripped out. no known err in either the sdk_config.h or the make file.

Segger RTT has been ripped out of the application the sdk_config and make file

If I disable UART within the sdk_config.h the application will not run regardless of the Segger viewer application running on the PC

 The application will only run with the segger viewer application on the PC connected through the nRF52 DK to my custom board. I have had many custom hardware applicaitons running standalone, but I admit I guess I do not know why?

Any help with the perplexing problem would be greatly appreciated!

Parents
  • Hi,

    The hardware is a custom board being programmed with the nRF52 DK. 

    Are you using an external LF crystal in your custom hardware? And is your application using a Softdevice? Can you check what "NRF_SDH_CLOCK_LF_SRC" is defined as?

    The application has been erradicated of any APP_ERROR function call,

    Do you mean you have deleted all APP_ERROR function calls in your code? This is not a good idea, and it will make debugging harder in the future for you.

    The application will only run with the segger viewer application on the PC connected through the nRF52 DK to my custom board.

    Have you tried to reset your custom hardware after flashing the application? Try to run "nrfjprog --reset" after the application is flashed.

    Best regards,

    Marjeris

Reply
  • Hi,

    The hardware is a custom board being programmed with the nRF52 DK. 

    Are you using an external LF crystal in your custom hardware? And is your application using a Softdevice? Can you check what "NRF_SDH_CLOCK_LF_SRC" is defined as?

    The application has been erradicated of any APP_ERROR function call,

    Do you mean you have deleted all APP_ERROR function calls in your code? This is not a good idea, and it will make debugging harder in the future for you.

    The application will only run with the segger viewer application on the PC connected through the nRF52 DK to my custom board.

    Have you tried to reset your custom hardware after flashing the application? Try to run "nrfjprog --reset" after the application is flashed.

    Best regards,

    Marjeris

Children
No Data
Related