This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Debugging fail with "Unknow function at 0x00000A60"

Hiii... Team,

I am developing a project based on the nRF52833 with the nRF5 SDK 17.0.2 and Soft Device S140

code is successfully built.. when i try to debug it showing problem

it shows ("Unknow function at 0x00000A60")

Actually i m using the nrf52832 kit as a "debugger" and my external module is nrf52833.

in simple way i m flashing the code in nrf52833 with help of nrf52832 development kit.

i m uploading the screenshot and my project folder as well.

please help to solve it.

plese open the zip file as given path

C:\nRF5_SDK_17.0.2_d674dde\examples\ble_peripheral\ble_app_uart\pca10056\s140\ses

thanks in advance. 0020.ble_app_uart.zip

 

Parents Reply Children
  • Hi...

    sure u may have a look...

    and if u got stuck somewhere.. please find the attachment which is ble_app_uarat.zip which is whole file..

    thanku for your support :)

    37415.pca10100.zip

  • Hi,

    You had not enabled the TWI and you had not included your own source files:

    /modules/nrfx/mdk/nrf52840.svd"
           debug_start_from_entry_point_symbol="No"
    diff --git a/pca10100/s140/config/sdk_config.h b/pca10100/s140/config/sdk_config.h
    index ed6724a..301aa86 100644
    --- a/pca10100/s140/config/sdk_config.h
    +++ b/pca10100/s140/config/sdk_config.h
    @@ -5719,7 +5719,7 @@
     // <e> TWI_ENABLED - nrf_drv_twi - TWI/TWIM peripheral driver - legacy layer
     //==========================================================
     #ifndef TWI_ENABLED
    -#define TWI_ENABLED 0
    +#define TWI_ENABLED 1
     #endif
     // <o> TWI_DEFAULT_CONFIG_FREQUENCY  - Frequency
      
    diff --git a/pca10100/s140/ses/ble_app_uart_pca10100_s140.emProject b/pca10100/s140/ses/ble_app_uart_pca10100_s140.emProject
    index 9e41783..6b0d85a 100644
    --- a/pca10100/s140/ses/ble_app_uart_pca10100_s140.emProject
    +++ b/pca10100/s140/ses/ble_app_uart_pca10100_s140.emProject
    @@ -70,6 +70,10 @@
           <file file_name="../../../../../../components/libraries/strerror/nrf_strerror.c" />
           <file file_name="../../../../../../components/libraries/uart/retarget.c" />
         </folder>
    +    <folder Name="cus_ext_drv">
    +      <file file_name="heartrate_cus.c" />
    +      <file file_name="accel5_cus.c" />
    +    </folder>
         <folder Name="None">
           <file file_name="../../../../../../modules/nrfx/mdk/ses_startup_nrf52833.s" />
           <file file_name="../../../../../../modules/nrfx/mdk/ses_startup_nrf_common.s" />

    Here is the updated project:

    ble_app_uart_283383.zip

  • Hi,

    thats compiled..

    thanku so much :)

  • Hi, Vidar.

    Howz You?

    I want to ask 1 thing..

    Actually the code you given to me which is "ble_app_uart_283383.zip"

    This code is compiled as i told you before..

    but when i dump that code in my external module it is not showing output.

    hope You can help.

    Thanks..

  • Which module is it? Also, do you see if the program gets stuck somewhere when you debug the application? Please post screenshots to show what you  are seeing.

Related