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
  • Hi,

    You need to select the PCA101000 (nRF52833 DK) configuration when building for the nRF5833. PCA10056 is for the nRF52840 DK, so that is why you are getting a fault exception on startup.

    Best regards,

    Vidar

  • Hi.. Vidar...

    yes you are right.. it advertise with PCA101000 example code..

    BUT,

    in my project code i am able to build the PCA10056 code.. but unable to build the PCA101000 code.. even both have same code but still it is showing error..

    i tried alot but i m facing same problem.

    hope u can help.

    thanks...

  • Hi,

    Please upload your current PCA10100 here so I can take a look. You seem to be missing a few more sdk_config settings and/or source files.

  • 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..

Reply Children
Related