Skip to content

Unpredictable loading on slow simulators (progbuf) #1276

@RaamyPi

Description

@RaamyPi

We are working with a relatively slower simulator and loading binaries from gdb (with progbuf ) is very inconsistent. After the load goes through, compare-sections would almost always fail and it takes a couple of tries to get it to pass - sometimes it would even take 10s/100s of tries.

Upon inspecting openocd's logs, it was clear that the actual data did not get written properly (and this is random, it's not like it will always be the Xth byte that will be clobbered). The issue generally gets worse with bigger files. Sometimes increasing the delay here helps but it still does not fix the problem at hand.

Is there anything else that could be done?

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