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

SDK17.0 BEHAVING UNEVEN IN DIFFERENT PC .

HI,

  •        we created an application on SDK "nRF5_SDK_17.0.0_9d13099"  .The example code used to develop the  application is "ble_app_hids_mouse". 
  •        we developed the application code successfully and its working fine with our  device.
  •        I developed the application code by using segger IDE (version :- 4.10a) in a windows os.

ISSUES

  • After i developed the application code i zipped the SDK and shared it to my colleague . He unzipped the SDK and opened our application code in his mac os system.
  • He is also using segger IDE but the version was different . He build the code successfully and flashed the code to our device but now the device is not working with exactly same code .
  • Why the device is behaving uneven when we flashed the same code from two different system (with mac os and windows os )?
  • Please help me to find out this issue as soon as possible.
Parents
  • Jared said:
    Exactly what do you mean by not working?

     Our device is a bluetooth 2d- 3d mouse . when we flash the code to our device the device will start advertising exactly like nordic ble_app_hid_mouse but now its not advertisng when i flashed the code from his system .

     

    Jared said:
    Have you checked that the application isn't asserting somewhere?

    What you mean by asserting?

     We debugged  the code in his system and find out the reason for the device not working .Actually its due to "APP_ERROR_CHECK(err_code)". 

    We  avoid the APP_ERROR_CHECK(err_code) from the function which return err_code but the issue is showing with the next function which using  APP_ERROR_CHECK(err_code) .

    NOTE:- The APP_ERROR_CHECK(err_code)  function halt the code execution only if we define DEBUG but in our project settings we are not included the DEBUG in preprocessor directives.

     

    Is there any issue with segger ide version ?i am using segger ide v 4.10a and he is using segger ide V 4.52c

Reply
  • Jared said:
    Exactly what do you mean by not working?

     Our device is a bluetooth 2d- 3d mouse . when we flash the code to our device the device will start advertising exactly like nordic ble_app_hid_mouse but now its not advertisng when i flashed the code from his system .

     

    Jared said:
    Have you checked that the application isn't asserting somewhere?

    What you mean by asserting?

     We debugged  the code in his system and find out the reason for the device not working .Actually its due to "APP_ERROR_CHECK(err_code)". 

    We  avoid the APP_ERROR_CHECK(err_code) from the function which return err_code but the issue is showing with the next function which using  APP_ERROR_CHECK(err_code) .

    NOTE:- The APP_ERROR_CHECK(err_code)  function halt the code execution only if we define DEBUG but in our project settings we are not included the DEBUG in preprocessor directives.

     

    Is there any issue with segger ide version ?i am using segger ide v 4.10a and he is using segger ide V 4.52c

Children
No Data
Related