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
  • If you're not using the armgcc project, the changes to the .ld file should not be necessary.

    I'm sorry, but I don't have a 256kB flash version of the nRF52832 available, so I'm not able to test this myself, but do you get any errors/warnings what so ever when you flash the program? Does the device advertise if you just flash the bootloader and SoftDevice? You might have to change the RAM size, as the RAM size is also different in the 256kB flash version of the chip.

    Best regards,

    Simon

  • but do you get any errors/warnings what so ever when you flash the program?

    No.look the screen shot.

    Does the device advertise if you just flash the bootloader and SoftDevice?

    No,Its not advertising.

    ou might have to change the RAM size, as the RAM size is also different in the 256kB flash version of the chip.

    what is  the RAM size?

    If you're not using the armgcc project, the changes to the .ld file should not be necessary.

     so these change is needed or not Next, go to Memory Segments and set  mbr_params_page RX 0x0003E000 0x1000 and bootloader_settings_page RX 0x0003F000. 

Reply
  • but do you get any errors/warnings what so ever when you flash the program?

    No.look the screen shot.

    Does the device advertise if you just flash the bootloader and SoftDevice?

    No,Its not advertising.

    ou might have to change the RAM size, as the RAM size is also different in the 256kB flash version of the chip.

    what is  the RAM size?

    If you're not using the armgcc project, the changes to the .ld file should not be necessary.

     so these change is needed or not Next, go to Memory Segments and set  mbr_params_page RX 0x0003E000 0x1000 and bootloader_settings_page RX 0x0003F000. 

Children
Related