GithubHelp home page GithubHelp logo

Comments (5)

japaric avatar japaric commented on September 27, 2024

Runner hangs at resetting device

Our error handling may be a bit off. This scenario corresponds to the case where RTT logging is not available (or detected as not available) and you should get this message: "No log messages to print, waited for device to halt" before probe-run blocks.

probe-run not correctly detecting the availability of RTT logs may have already been fixed in #25. I probably can make a new release with that included soon. In the meantime I would suggest running optimized programs (cargo run --release); that should help in your case I think.

If running an optimized program still doesn't work could you point to the exact source code you are running? Either that or you could run rust-nm -C target/thumbv7em-none-eabi/debug/app-name (and release folder too) and let me know if _SEGGER_RTT appears in the output.

from probe-run.

matoushybl avatar matoushybl commented on September 27, 2024

Running the code in release mode worked, both the resulting binaries contain the _SEGGER_RTT section.

Thanks, will try with the new version when available.

from probe-run.

japaric avatar japaric commented on September 27, 2024

@matoushybl is this still an issue with the crates.io version of defmt and/or probe-run v0.1.4?

from probe-run.

matoushybl avatar matoushybl commented on September 27, 2024

I'll check it asap.

from probe-run.

matoushybl avatar matoushybl commented on September 27, 2024

I believe that this issue can be closed for now. I ran the async-on-embedded only as an experiment and I don't have the source code now. If I ever try it again and it happens, I'll definitely report it here.

from probe-run.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.