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

    1. First of all, nRFgo Studio is outdated by now and we have stopped updating it, and I suggest that you download and install nRFConnect for Desktop and its Programmer app instead, as that is being updated regularly and is much more user-friendly. The reason for this specific error though is because you're trying to flash your code to where the SoftDevice is stored.

    2. You have to adjust RAM and Flash memory start addresses to what's compatible with your SoftDevice version. Please take a look at this guide to see how you can do that.

    Best regards,

    Simon

Reply
  • Hi Nandhu

    1. First of all, nRFgo Studio is outdated by now and we have stopped updating it, and I suggest that you download and install nRFConnect for Desktop and its Programmer app instead, as that is being updated regularly and is much more user-friendly. The reason for this specific error though is because you're trying to flash your code to where the SoftDevice is stored.

    2. You have to adjust RAM and Flash memory start addresses to what's compatible with your SoftDevice version. Please take a look at this guide to see how you can do that.

    Best regards,

    Simon

Children
  • HI,

    I tried it with nrf connect look the screen short below another error when tried to upload the bootloader.

    NOTE:- Our bootloader hex contains both bootloader settings hex and bootoder hex(ie secure_bootloader_ble_s132_pca10040_debug.hex) we merged it .

    You have to adjust RAM and Flash memory start addresses to what's compatible with your SoftDevice version. Please take a look at this guide to see how you can do that.
    •    Is these changes needed in these(......\nRF5_SDK_15.3.0_59ac345\examples\dfu\secure_bootloader\pca10040_ble_debug) bootloader code
  • HI simonr,

       I adjusted the bootloader RAM and FLASH memory start address compatible with our softdevice version.

    Now the bootloader is showing on the "File memory layout " of nRF_Connect but another error is showing and we can't flash the softdevice +bootloader hex to NRF52832.

    Look the screen shot below

     

    • I already told you that our bootloader hex contains  bootloader_settings hex +secure_bootloader_ble_s132_pca10040_debug hex. Is there any problem with this ?
Related