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

nRFgo Studio ERROR "This hex file has data in Softdevice region"

Hi,

  • We are developing a Bluetooth 2d-3d mouse with OTA -DFU service.
  • The controller we are using NRF52832  QFABB0 it contain 32KB RAM and 256KB of flash memory.
  • SDK we are using is "nRF5_SDK_15.3.0_59ac345" .
  • To work an OTA-DFU application successfully ,we need to flash SOFTDEVICE ,BOOTLOADER AND APPLICATION into the nrf52832.
  • SOFTDEVICE :- "s132_nrf52_6.1.1_softdevice"
  • BOOTLOADER :-(....\nRF5_SDK_15.3.0_59ac345\examples\dfu\secure_bootloader\) some modification done in this ,we made it buttonless and the led pins was changed according to our custom board .
  • APPLICATION :- (.....\nRF5_SDK_15.3.0_59ac345\examples\ble_peripheral\ble_app_hids_mouse) we modified these code with our needs.

ISSUES 

  • I TRIED TO FLASH THE SOFTDEVICE WITH "nRFgo Studio" AND ITS FLASHED SUCESSFULLY. THEN I TRIED TO FLASH THE BOOTLOADER WITH "nRFgo Studio" BUT ITS SHOWING SOME ERROR LOOK THE SCREEN SHORT.

NOTE:- when i flashed the BOOTLOADER  directly from the SEGGER IDE  its  flashing successfully  and its also advertising as "DfuTrag" and the OTA - firware update is taking place successfully too. 

DOUBTS

  1. Why these issues  happening in "nRFgo Studio"?
  2. how can we solve these issue?

note :-I also tried the solutions in error command box in the screen short but then also the bootloader code is not working .

PLEASE ANSWER TO 1 AND 2.

Parents
  • Hi Nandhu

    I just wanted you to hover over the bootloader/bootloader settings files with your mouse like I did. To see the address range of these files. Not flash it.

    Could you send me the bootloader and settings .hex files, so I can try it here on my end?

    Best regards,

    Simon

    EDIT: Are you able to check the flash size of your chip. If you just flash the SoftDevice, or something you know is working, it should say something similar to this in the Log:

    14:44:45.387                   Model: NRF52832_xxAA_REV1.
    14:44:45.387                   RAM: 64KiB.
    14:44:45.387                   Flash: 512KiB in pages of 4KiB.
Reply
  • Hi Nandhu

    I just wanted you to hover over the bootloader/bootloader settings files with your mouse like I did. To see the address range of these files. Not flash it.

    Could you send me the bootloader and settings .hex files, so I can try it here on my end?

    Best regards,

    Simon

    EDIT: Are you able to check the flash size of your chip. If you just flash the SoftDevice, or something you know is working, it should say something similar to this in the Log:

    14:44:45.387                   Model: NRF52832_xxAA_REV1.
    14:44:45.387                   RAM: 64KiB.
    14:44:45.387                   Flash: 512KiB in pages of 4KiB.
Children
  • Could you send me the bootloader and settings .hex files, so I can try it here on my end?

    okka i will 

    BOOTLODER HEX

    secure_bootloader_ble_s132_pca10040_debug.hex

    BOOTLODER SETTING HEX

    bootloader_setting15.hex

    MERGED BOOTLOADER +BOOTLOADER SETTING HEX

    bootloader15.hex

    SOFTDEVICE HEX

    s132_nrf52_6.1.1_softdevice.hex

    Are you able to check the flash size of your chip.

    14:12:08:701                   Model:NRF52832_xxAB_REV1

    14:12:08:701                   RAM:32KiB

    14:12:08:701                   Flash:256KiB in pages of 4KiB

    SIMONR PLEASE CHECK IT AS SOON AS YOU CAN POSSIBLE .

    NOTE:- In the BOOTLOADER HEX i didn't changed RAM and Flash memory start addresses  compatible with SoftDevice version because when i changed those values in bootloader the bootloader code is not even advertising. 

    EDITED PORTION

    SIMON I FLASHED THE BOOTLOADER IN NRF52832__xxAA_REV2 ALSO

    11:58:03.083                   Model: NRF52832_xxAA_REV2.
    11:58:03.083                   RAM: 64KiB.
    11:58:03.083                   Flash: 512KiB in pages of 4KiB.
    Look the screen short below the bootloader is showing in softdevice region too and also the "Region name" is showing as application not as bootloader why? . 
    BOOTLODER +BOOTLODER SETTINGS SCREEN SHOT ARE BELOW
    SOFTDEVICE SCREEN SHORT ARE BELOW
Related