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

HOW TO DEBUG APPLICATION WITH BOOTLOADER USING SEGER IDE.

Hi,

  • In need to debug my application using segger IDE when there is bootloader already present in nrf52832 chip . 
  • The sdk we are using is SDK 15.3
  • Bootloader:- "secure_bootloader_ble_s132_pca10040.hex" (:- not debug version)
  • Application:- "ble_hid_mouse"  with our on modification and DFU_OTA feature is also included in it.
  • Every thing is working fine.
  • IDE:- SEGGER

Problem is

When there is Softdevice + bootloder +application in nrf52832 chip the cursor movement is showing some unwanted jumping so to fix these we need to find the x and y co-ordinate when these is happening .

If there is only softdevice + application no such  issues are happening.

To solve these

We need to debug the application when there is bootloader present in nrf52832 chip .

For that

By referring similar tickets facing these issue  .I generate a hex by merging bootloader  hex and bootloader setting  hex  (were bootloader setting hex is generated with the application we are trying to program to chip  )

Then using nrfjprog i programmed the bootloader +bootloader setting hex to nrf52832 chip .

Then using segger IDE i tried to program the  application hex to  nrf52832 chip by pressing "Bulid and Debug"  option  from " Build " 

After that when i start debug an error is showing .look below screen shot

I think these issue is due to the erase operation is happening before downloading the hex to  nrf52832 chip while pressing "Bulid and Debug"  option .

I need to debug the application when there is bootloder present please help me to find a solution for these its major issue to us .

please reply as soon as you can possible.

Parents Reply Children
No Data
Related