How to change mesh bootloader flash size?

Hi

When I build mesh bootloader code, there shows flash size not enough,  

Could you tell me wher I can change the size, please?

c:/progra~2/gnutoo~1/62017-~1/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: mesh\bootloader\mesh_bootloader_serial_gccarmemb_nrf52833_xxAA.elf section `.text' will not fit in region `FLASH'
c:/progra~2/gnutoo~1/62017-~1/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: region FLASH overflowed with .data and user data
c:/progra~2/gnutoo~1/62017-~1/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: region `FLASH' overflowed by 11300 bytes

Parents Reply
  • No , I don't think so

    I followed https://infocenter.nordicsemi.com/index.jsp?topic=%2Fug_nrf52833_dk%2FUG%2Fnrf52833_DK%2Fhw_debug_out.html&cp=4_1_4_7_8

    ,  program 4 hex files to EV board, as follow:

    1) device_page_nrf52833_xxAA_s113_7.0.1.hex

    2) dfu_nrf52833_xxAA_s113_7.0.1.hex

    3) s113_nrf52_7.0.1_softdevice.hex

    4) mesh_bootloader_serial_gccarmemb_nrf52833_xxAA.hex

    Second ,  connected Ev board with PC,  then runned command "nrfutil --verbose dfu serial -pkg xxx.zip -p COM5 -b 115200 -fc --mesh"  to update other devices,   it can update successful.

    But ,  if programed 

    1) device_page_nrf52833_xxAA_s113_7.0.1.hex

    2) dfu_nrf52833_xxAA_s113_7.0.1.hex

    3) s113_nrf52_7.0.1_softdevice.hex

    4) mesh_bootloader_gccarmemb_nrf52833_xxAA.hex

    program mesh_bootloader_gccarmemb_nrf52833_xxAA.hex instead of mesh_bootloader_serial_gccarmemb_nrf52833_xxAA.hex,

    runned command "nrfutil --verbose dfu serial -pkg xxx.zip -p COM5 -b 115200 -fc --mesh",  it is get message "Abort event. Reason: 0x3"  after sending almost 50% of xxx.zip.

    So , may I know why?

Children
Related