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. 

  • I'm sorry, but I don't have a 256kB flash version of the nRF52832 available

    Please take your 512 kb flash device and flash the softdevice , bootloder setting and bootloder hex into it .

    With all the parameters are same in nordic sdk release .(means no change in bootloder code)

    If there is softdevice ,bootloder setting and bootloader hex inside the flash ,the device will not advertise .

    If there is only softdevice and bootloader hex in flash ,the device will advertise.

    Please check it by your self , i will attach the softdevice, bootloder and bootloder setting hex which is compatible with NRF52832 512KB flash.

    bootloder

    3056.secure_bootloader_ble_s132_pca10040_debug.hex

    bootloder setting 

    bootloader_settings512.hex

    softdevice 

    8637.s132_nrf52_6.1.1_softdevice.hex

    If there is bootloder setting hex in the flash the device will not advertise, even if the device is 512 kb.

    please help to solve these issue .

    I was continuously telling  these to you for last few days . I was totally stuck with these issue for last one week . If you can please  give me a solution as soon as you can possible.

    NOTE:- If there is bootloder setting hex in flash the bootloader will not advertise as "DfuTrag".

Reply
  • I'm sorry, but I don't have a 256kB flash version of the nRF52832 available

    Please take your 512 kb flash device and flash the softdevice , bootloder setting and bootloder hex into it .

    With all the parameters are same in nordic sdk release .(means no change in bootloder code)

    If there is softdevice ,bootloder setting and bootloader hex inside the flash ,the device will not advertise .

    If there is only softdevice and bootloader hex in flash ,the device will advertise.

    Please check it by your self , i will attach the softdevice, bootloder and bootloder setting hex which is compatible with NRF52832 512KB flash.

    bootloder

    3056.secure_bootloader_ble_s132_pca10040_debug.hex

    bootloder setting 

    bootloader_settings512.hex

    softdevice 

    8637.s132_nrf52_6.1.1_softdevice.hex

    If there is bootloder setting hex in the flash the device will not advertise, even if the device is 512 kb.

    please help to solve these issue .

    I was continuously telling  these to you for last few days . I was totally stuck with these issue for last one week . If you can please  give me a solution as soon as you can possible.

    NOTE:- If there is bootloder setting hex in flash the bootloader will not advertise as "DfuTrag".

Children
Related