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

the project doesn't work even after i import some library to the project, Main not called

Hi All

As facing some problem during developing multiprotocol project about gazell host and ble. I am using the example project "multiprotocol" and i finished the ble part 
although the example doesn't contain the gazell pairing part  so i have to import the nRF library "nrf_gzp.c", "nrf_gzp_host.c", "nrf_gzp_host_nrf5x.c", and I had also faced some problems, see here

Finally, I compile and flash it successfully.

But here comes another problem,

the project doesn't work but work perfectly before I import those c files

I had tried to use debug mode in Keil C, it show me that the code doesn't even run into the main()

what should i do to solve this problems

thanks a lot 

Parents Reply
  • Hi Håkon

    I think i am having the correct softdevice. Because the softdevice was already in the project at the beginning. And it works my application of nus services perfectly before i import those C files 

    I add these three C files

    I am so sorry that I don't know where did it stuck actually
    because it is stuck before it goes into main(stuck at the yellow arrow)

    and it's the log after i compiler the code

    please let me know if i can provide any more information for you 

    thanks a lot

    Johnson

Children
Related