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

after sd_softdevice_enable function is called,system hang,but return value is success; the app.hex is programed in nodic pca10040 board face the problem,however if i burn the same image in our own board it works ok

i donot know why,because  other board is ok.

i am using this project

\nRF52832 pack\nRF5_SDK_14.2.0_17b948a\nRF5_SDK_14.2.0_17b948a\examples\ble_central\ble_app_uart_c\main.c

i doubt the image may be bad,so i switch the good image,which i back up one mouths ago. but same problem.

i also switch the softdevice,it does not work also.

i think may be the dfu function ? i have change the bootloader, but can not return the origin no dfu bootloader,the only different is bootloader

because i donot know how to get it ,can you help me to  get the origin factory bootloader ? nordic board is pca10040v1.1.1 2016.46 

although bootloader can not turn back, i donot  think it is fault, because other our own board is ok,only nordic is bad.

bootloader can affect the sd_softdevice_enable  function,i think it is impossible ...

it is tough problem..

Parents
  • Based on your description, it is not possible to narrow down what the problem is.

    You need to start the program in the debugger and let it run for a while and after sometime halt the execution and see where the program counter is. This will atleast tell us what "system hangs" means.

    You also wrote that you have some changes in the bootloader, so it is almost impossible for us to guess what changes you did there and what effects it will have on the application.

Reply
  • Based on your description, it is not possible to narrow down what the problem is.

    You need to start the program in the debugger and let it run for a while and after sometime halt the execution and see where the program counter is. This will atleast tell us what "system hangs" means.

    You also wrote that you have some changes in the bootloader, so it is almost impossible for us to guess what changes you did there and what effects it will have on the application.

Children
No Data
Related