Skip to main content
digidhamu
Associate III
September 28, 2021
Question

"ERROR: overlapped zone is not empty" in "LoRaWAN_FUOTA_DualCore" example

  • September 28, 2021
  • 2 replies
  • 1125 views

Is there any configuration we need to modify in prepareimage.py to overcome this error "ERROR: overlapped zone is not empty" or any other configuration?

Below is output.txt file.

python /Users/username/Downloads/STM32Cube_FW_WL_V1.1.0/Middlewares/ST/STM32_Secure_Engine/Utilities/KeysAndImages/prepareimage.py
block size =16
Magic: SFU2!!
Magic: SFU2!!
header 0x0803F000
merge: python /Users/username/Downloads/STM32Cube_FW_WL_V1.1.0/Middlewares/ST/STM32_Secure_Engine/Utilities/KeysAndImages/prepareimage.py mergev2 -v 0 -e 1 -b ../../../STM32CubeIDE/Binary/SBSFU_LoRaWAN_End_Node_DualCore_CM0Plus.bin@0x801f200;../../../STM32CubeIDE/Binary/LoRaWAN_End_Node_DualCore_CM4sfuh.bin@0x0803F000 -f ../../../../2_Images_SBSFU/STM32CubeIDE/CM4/Debug/SB.elf;./LoRaWAN_End_Node_DualCore_CM4.elf ../../../STM32CubeIDE/Binary/SBSFU_LoRaWAN_End_Node_DualCore_CM4.bin
number of segment :4
0x8000138
0x80016a0
0x80016b0
Adding ELF file: ../../../../2_Images_SBSFU/STM32CubeIDE/CM4/Debug/SB.elf from 0x8000000 to 0x80016b0
number of segment :5
0x8019ccc
0x8019d2c
0x8019d30
0x8019d30
Adding ELF file: ./LoRaWAN_End_Node_DualCore_CM4.elf from 0x8013200 to 0x8019d30
Adding BIN file: ../../../STM32CubeIDE/Binary/SBSFU_LoRaWAN_End_Node_DualCore_CM0Plus.bin from 0x801f200 to 0x803fa00
Adding BIN file: ../../../STM32CubeIDE/Binary/LoRaWAN_End_Node_DualCore_CM4sfuh.bin from 0x803f000 to 0x803f200
ERROR: overlapped zone is not empty
python /Users/username/Downloads/STM32Cube_FW_WL_V1.1.0/Middlewares/ST/STM32_Secure_Engine/Utilities/KeysAndImages/prepareimage.py mergev2 -v 0 -e 1 -b ../../../STM32CubeIDE/Binary/SBSFU_LoRaWAN_End_Node_DualCore_CM0Plus.bin@0x801f200;../../../STM32CubeIDE/Binary/LoRaWAN_End_Node_DualCore_CM4sfuh.bin@0x0803F000 -f ../../../../2_Images_SBSFU/STM32CubeIDE/CM4/Debug/SB.elf;./LoRaWAN_End_Node_DualCore_CM4.elf ../../../STM32CubeIDE/Binary/SBSFU_LoRaWAN_End_Node_DualCore_CM4.bin : failed

Please advise.

This topic has been closed for replies.

2 replies

digidhamu
digidhamuAuthor
Associate III
October 1, 2021

Would be great if any help on this issue. Any one facing same issue?

digidhamu
digidhamuAuthor
Associate III
October 1, 2021

Build on macOS have some bug(s) as I could see all perfectly working fine on Windows 10. Basically, the issue is UserApp is not executing at all when you compile in macOS version of STM32CubeIDE.