Skip to content

[create_elf] KeyError: '.iram0.text' #14

@josesa

Description

@josesa

Getting the following errors on a binary

Dumping partition 'ota_0' to ota_0_out.bin
Unsure what to do with segment: PADDING
Unsure what to do with segment: RTC_DATA
Traceback (most recent call last):
  File "esp32_image_parser.py", line 283, in <module>
    main()
  File "esp32_image_parser.py", line 266, in main
    image2elf(dump_file, output_file, verbose)
  File "esp32_image_parser.py", line 159, in image2elf
    size = len(section_data['.iram0.vectors']['data']) + len(section_data['.iram0.text']['data'])
                                                             ~~~~~~~~~~~~^^^^^^^^^^^^^^^
KeyError: '.iram0.text'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions