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

A problem that adding gzll to ble_keyboard

hello:

      I want to communicate with my nrf25U1 USB dongle. So i add some code(refer to the examples\proprietary_rf\gzll\gzp_desktop_emulator). When i add add these files(nrf_gzp.c nrf_gzpdevice.c nrf_ecb.c nrf_nvmc.c gzll_nrf52_sd_resource_arm.lib) to my project,I got a problematic file after compiling with keil.i set project IROM start address to 0x26000,but when I used J-FLASH software to open this hex file and saw that the starting address is 0x1000, and the content between 0 and 2000 is 0xffffffff.Should I open some macros? how to deal this problem. Thanks.

           softdevice:s132_nrf52_6.1.1,SDK15.3.0   hardware:PCA10040  

  • my source code is examples\ble_peripheral\ble_app_hids_keyboard

  • Hi Spectre,

    I want to communicate with my nrf25U1 USB dongle.

    What is the nrf25U1 USB dongle?

    So i add some code(refer to the examples\proprietary_rf\gzll\gzp_desktop_emulator)

    What are you doing? Why do you use ble_app_hids_keyboard and Gazell? Gazell doesn't require the softdevice. 

    Spectre choi said:
    my source code is examples\ble_peripheral\ble_app_hids_keyboard

    Could you run the example without modification?

     -Amanda H.

  • Hi Amanda,

    Thank you for your reply!i am sorry for my unclear description.

    i can run ble_app_hids_keyboard when not adding the above file to my project.

     nrf25U1 USB dongle just a module,It uses nrf24u01.

    My product needs to use ble-hid mode and 2.4G mode(but they don't work at the same time) .so  i want to use a set of code but can achieve two functions(ble and 2.4G) .

    My colleague add Gazell(refer to gzp_desktop_emulator ) to   ble_app_hids_keyboard two years ago and it is work.But at that time he used 51802 and old sdk.

    Can't I use ble keyboard and Gazell together?Can you give me some solutions? If yes, is there a demo code?

    --Spectre .

  • I'm not good at writing. If my words confuses you, I will try to make it clear.My own project is extended from ble_keyboard ,then  I encountered the above problem when I added gzll.

    So I use ble_app_hids_keyboard and Gazell for reproduce the problem.

    Just add the above file to the keil project of ble_app_hids_keyboard and compile to get this problematic hex file.

    It seems the file gzll_nrf52_sd_resource_arm.lib causing the problem.But when I compile the example of multiple protocols, I get a normal hex file.

  • hi, I solved my problem today. :D  

    I can see that In nrf_gzp_config.h included by the nrf_gzp.h file there's a variable called GZP_PARAMS_STORAGE_ADR, which is set to 0x1000.

    I don't know why the demo(examples\proprietary_rf\gzll\gzp_desktop_emulator) sets it to 0x15000 (if softdevice is used),How to get it?I set my application start address to 0x26000 because I used S132.

    i set GZP_PARAMS_STORAGE_ADR to a address that between application ends and fds.

Related