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
  • Hi Nandhu, 

    Bjørn is on the Christmas holiday. 

    Good to hear you find the solution. If you have further questions, please raise a new support case. 

    Nordic technical support staff will be reduced during the holiday season from 21st December to 7th January
    Longer response time to tickets must be expected during this period.

    Other DevZone users might be active and respond to public tickets as usual.

    Merry Christmas & Happy new year. 

    -Amanda H

Reply
  • Hi Nandhu, 

    Bjørn is on the Christmas holiday. 

    Good to hear you find the solution. If you have further questions, please raise a new support case. 

    Nordic technical support staff will be reduced during the holiday season from 21st December to 7th January
    Longer response time to tickets must be expected during this period.

    Other DevZone users might be active and respond to public tickets as usual.

    Merry Christmas & Happy new year. 

    -Amanda H

Children
No Data
Related