Skip to content

"ERROR: Found overlapping memory" on encrypted binary #210

@richard9999999999

Description

@richard9999999999

If I run:
picotool info -all ../build/hello_serial_enc.uf2

I am getting following error:

File ../build/hello_serial_enc.uf2 family ID 'rp2350-arm-s':

ERROR: Found overlapping memory ranges 0x20000000->0x20003d5c and 0x20000000->20000014

I tried that with hello_serial_enc from pico examples and also with my own encrypted binary

Activity

kilograham

kilograham commented on Feb 27, 2025

@kilograham
Contributor

What compiler are you using

richard9999999999

richard9999999999 commented on Feb 27, 2025

@richard9999999999
Author

GCC 10.3.1 on pico site, some MinGW on picotool. I can see the problem also with Windows X64 binaries from "pico-sdk-tools" project.

richard9999999999

richard9999999999 commented on Feb 27, 2025

@richard9999999999
Author

Plus I am completely on Windows (if that matters)..

will-v-pi

will-v-pi commented on Feb 28, 2025

@will-v-pi
Contributor

This is fixed in #207

richard9999999999

richard9999999999 commented on Mar 1, 2025

@richard9999999999
Author

I confirm that I don't see the problem anymore using picotool compiled from branch "picotool-encrypted-shares". Thank you.

added a commit that references this issue on Mar 4, 2025
added a commit that references this issue on Apr 1, 2025
added a commit that references this issue on Apr 15, 2025
added a commit that references this issue on Apr 22, 2025
richard9999999999

richard9999999999 commented on Apr 23, 2025

@richard9999999999
Author

I've reported few bugs related to encrypted binaries recently. Now most of them are solved in DEVELOP with exception of this one. Could this fix be also merged to DEVELOP so we will have a picotool version which works with enctypted binaries?

will-v-pi

will-v-pi commented on Apr 23, 2025

@will-v-pi
Contributor

This fix is part of a larger PR which still needs more work, so you will need to wait for that PR to be merged, or cherry-pick the relevant commits from that PR. This only causes issues when reading info from encrypted binaries, so you can still compile and use encrypted binaries without this fix.

richard9999999999

richard9999999999 commented on Apr 23, 2025

@richard9999999999
Author

OK I see.. I guessed the problem is trivial to fix.

will-v-pi

will-v-pi commented on Jun 2, 2025

@will-v-pi
Contributor

merged into develop

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Participants

      @kilograham@richard9999999999@will-v-pi

      Issue actions

        "ERROR: Found overlapping memory" on encrypted binary · Issue #210 · raspberrypi/picotool