Skip to main content
Chandan Bhatia1
Associate III
November 16, 2020
Question

Error: arm-none-eabi-objcopy:App.bin[ExtFlashSection]: No space left on device

  • November 16, 2020
  • 7 replies
  • 2790 views

 Hello, I am building both bootloader and application firmware. Post generating .elf and hex file, I am generating .bin file for both and combining them to make single flashable .bin file with padding and all with help of command for .bin file geneation.

arm-none-eabi-objcopy "${BuildArtifactFileBaseName}.elf" App.bin -O binary

Everything works fine till I use external flash for application. When I did same work for application with external flash, I m getting below error.

arm-none-eabi-objcopy:App.bin[ExtFlashSection]: No space left on device

When I removed .bin file generation code, Everything worked fine.

I am not sure about issue. Please suggest.

Thanks

    This topic has been closed for replies.

    7 replies

    Tesla DeLorean
    Guru
    November 16, 2020

    Suggests the memory regions used are far apart, and the resulting .BIN consequently will be very large trying to span the difference in the address space.

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    Chandan Bhatia1
    Associate III
    November 16, 2020

    @Community member​ Ok , How should I solve it?

    Chandan Bhatia1
    Associate III
    November 16, 2020

    Basically I need one flashable file which has both bootloader and application code.