- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How do you clear this error:
Error: flash row: 254 is either already used or does not exist.
The command 'cyelftool.exe' failed with exit code '1'.
Can you objdump the elf file and find how much memory is available. My resource meter shows memory as 99.9% full.
--Gregg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Can you attach the project so that we can reproduce this issue and update you?
Thanks
Yuva.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I found using objdump that cybootloader, text, eh_frame, and rodata sections, added up to more than the available flash (0-7f80)
(0x8000 - 0x80)=32k flash - 128 byte section (for meta data) = 0x7f80.
I removed non-essential code and and the error went away.
If this is the case, the resource meter in PSoC Creator should use 0x7f80 as maxmem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I get the error when .cybootloader, .text, .eh_frame, .ro_data and .data add up to more than 0x7f00.
using C:\cygwin64\bin\objdump %~3 -wh -j.text -j.eh_frame -j.rodata -j.cyloadablemeta -j.data %ELF_dir%\%ELF_file%
where elfdir=PathToProject\CortexM0\ARM_GCC_493\Debug and elf_file=PROJNAME.elf