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

error while running ble dfu enabled ble_app_uart code.

hi i am trying to integrate nrf_butoonless_dfu service in ble_app_uart code in nRF sdk 15.3.0,

i have added the all the required source files and include files and macro definitions and code is compiled correctly now i have generated application settings page with nrfutil command,

and merged settings.hex with bootloader.hex with mergehex utility and again merge application.hex s112.hex and final_bootloader.hex and generated all in one image.hex and then flashed it in 

nRF52810 but i did not see it in nrf connect app that it is advertising so i have checked in jlink rtt viewer for logs and i am getting this logs

00> <info> app: Setting vector table to bootloader: 0x00028000
00> <info> app: Setting vector table to main app: 0x00019000
00> <error> app: Fatal error
00> 

i am not understanding what is the meaning of this log ,

please help

thank you 

Parents
  • Hello,

    Try to define DEBUG in the preprocessor defines of your application project before merging it into your image.hex (you would also have to update the bootloader's settings.hex with the new application). 

    If you do so, it should give you some more information on where in the application the issue occurs. 

    If you haven't already, I suggest you write a bat-script that can automatically update the image.hex file by merging the new .hex files when you change anything in the project.

    So try to define DEBUG in your preprocessor defines. What does your log say then?

    Best regards,

    Edvin

Reply
  • Hello,

    Try to define DEBUG in the preprocessor defines of your application project before merging it into your image.hex (you would also have to update the bootloader's settings.hex with the new application). 

    If you do so, it should give you some more information on where in the application the issue occurs. 

    If you haven't already, I suggest you write a bat-script that can automatically update the image.hex file by merging the new .hex files when you change anything in the project.

    So try to define DEBUG in your preprocessor defines. What does your log say then?

    Best regards,

    Edvin

Children
Related