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

how can i add the add the gzp_desktop_emulator project's funcation to the project ble_app_gzll

hi

   i want to develop a keyboard that can communicate whith pc by ble and 2.4g . now,the  2.4g's  communicate between  nrf52840 and nrf24lu1p is achieved by project gzp_desktop_emulator 

innrf52840 ,and nrf24lu1p 's project is nrfready_desktop_2_v3.0.0\source_code\nrfready_desktop_dongle.

I try to add the funcation in the project   :

nRF5_SDK_16.0.0_98a08e2\examples\proprietary_rf\gzll\gzp_desktop_emulator   to the project :

nRF5_SDK_16.0.0_98a08e2\examples\multiprotocol\ble_app_gzll

when i complete code transplantation and Compile,i find i cant download it to my pca10056 board.and it report erro    "error flash download failed -cortex-M4"

so i dont kown if the funcation of gzp_desktop_emulator   and ble function is conflict ?if it is conflict, there is any demo of nrf24lu1p can communicat with project ble_app_gzll? or i have

other method achieved this funcation? if it is not conflict,what should i do ?

 

  

Parents
  • Hi,

    Typically, you will get this error if there is data in the flash region that overlaps with the application you try to flash (often due to issues with application start address).

    If you have not modified the project setting, the start address should work together with the softdevice.

    You can try to erase the entire flash before retrying. We have a "erase all" option in nRF Connect Programmer app that should do the trick.

    Regarding the gzp NVMC data storage, this can be fixed by defining the symbol "SOFTDEVICE" and increasing the GZP_PARAMS_STORAGE_ADR to move this outside of the softdevice region. I would recommend a high address, in order to make space for the application as well.

    // From nrf_gzp_config.h
    #ifdef SOFTDEVICE
    #define GZP_PARAMS_STORAGE_ADR 0x00015000
    #else
    #define GZP_PARAMS_STORAGE_ADR 0x00001000
    #endif

    Best regards,
    Jørgen

Reply
  • Hi,

    Typically, you will get this error if there is data in the flash region that overlaps with the application you try to flash (often due to issues with application start address).

    If you have not modified the project setting, the start address should work together with the softdevice.

    You can try to erase the entire flash before retrying. We have a "erase all" option in nRF Connect Programmer app that should do the trick.

    Regarding the gzp NVMC data storage, this can be fixed by defining the symbol "SOFTDEVICE" and increasing the GZP_PARAMS_STORAGE_ADR to move this outside of the softdevice region. I would recommend a high address, in order to make space for the application as well.

    // From nrf_gzp_config.h
    #ifdef SOFTDEVICE
    #define GZP_PARAMS_STORAGE_ADR 0x00015000
    #else
    #define GZP_PARAMS_STORAGE_ADR 0x00001000
    #endif

    Best regards,
    Jørgen

Children
No Data
Related