Device reset happening and i can't able to upload the code

Hello,

In my project i am using  nrf52840 with my custom board and to upload the code through NRF_CONNECT application with soft device its uploading properly but with  segger emmbedded its giving some error like this .please have look and let me know what is the problem.

after this i have add DEBUG in preprocessor definition and i got this

thank you.

Parents
  • Hi

    Are you able to see what function or base number that is returning the NRF_ERROR_SVC_HANDLER_MISSING error, as this should give us an idea of what exactly is going wrong.

    Does your application enable the SoftDevice, and do you also flash the SoftDevice onto your device? What SoftDevice version are you using? Here you can read more on the SoftDevice and Supervisor Calls (SVC). You can get this error if you have not enabled the SoftDevice (using sd_ble_enable) or if the headers included for the SoftDevice are not the correct headers for the particular SoftDevice you are using.

  • Hello,

    Does your application enable the SoftDevice, and do you also flash the SoftDevice onto your device? What SoftDevice version are you using? Here you can read more on the SoftDevice and Supervisor Calls (SVC). You can get this error if you have not enabled the SoftDevice (using sd_ble_enable) or if the headers included for the SoftDevice are not the correct headers for the particular SoftDevice you are using.

    Yes, i have enabled the soft device and as i used SEGGER no need to flash the soft device separately right.

    _

    i am not sure exactly but when data send from the BLE UART its working fine but when data sending from the MAX232 uart_init -> uart_handler i think here its self problem raised .

    i have doubt like can we able to send the BLE UART data as well as MAX232 data to the same RX pin at a time i thought this is the problem i am using uart_init with TX=P1.3 , RX=P1.4 so both data  is  hit to the same RX PIN so that's why  its giving me error but i am not sure .

    please tell me is there possibility as i said above, if not how we can resolve it.??

    thank you.

Reply
  • Hello,

    Does your application enable the SoftDevice, and do you also flash the SoftDevice onto your device? What SoftDevice version are you using? Here you can read more on the SoftDevice and Supervisor Calls (SVC). You can get this error if you have not enabled the SoftDevice (using sd_ble_enable) or if the headers included for the SoftDevice are not the correct headers for the particular SoftDevice you are using.

    Yes, i have enabled the soft device and as i used SEGGER no need to flash the soft device separately right.

    _

    i am not sure exactly but when data send from the BLE UART its working fine but when data sending from the MAX232 uart_init -> uart_handler i think here its self problem raised .

    i have doubt like can we able to send the BLE UART data as well as MAX232 data to the same RX pin at a time i thought this is the problem i am using uart_init with TX=P1.3 , RX=P1.4 so both data  is  hit to the same RX PIN so that's why  its giving me error but i am not sure .

    please tell me is there possibility as i said above, if not how we can resolve it.??

    thank you.

Children
No Data
Related