2 Replies Latest reply on Feb 18, 2019 6:51 AM by rora_1556301

    cyelftool Error

    rora_1556301

      I'm having issues with a launcher/bootloader project. When the code size goes over a certain threshold, cyelftool throws the following error: "Error: flash row: 1024 is either already used or does not exist."

       

      We are using a cy8c4248LQI-BL573 with 256K flash, and looking at the map file, we are using somewhere around 54% of available flash, so we shouldn't be running out.

       

      The specific command that fails is: "cyelftool.exe -B C:\Users\rfr2\Documents\Dresden\Firmware\Bootloader.cydsn\CortexM0\ARM_GCC_541\Debug\Bootloader.elf --flash_row_size 256 --flash_size 262144 --flash_offset 0x00000000 --flash_array_size 131072 --offset"

       

      If I run the same command without the "--offset" It succeeds, but I'm not sure what the "--offset" actually does.

       

      Any help would be appreciated!

       

      -Rob Rau