GithubHelp home page GithubHelp logo

Comments (3)

Dirbaio avatar Dirbaio commented on September 27, 2024

do you have a debug probe to view logs? or are you viewing them through embassy-usb-logger or similar? If it's the latter, it's probably a panic instead of a hang, and you'd be able to see the panic message if you had a debug probe.

Most likely reason is you have to increase the max socket count in embassy-net's StackResources. The panic message would've told you that :)

from embassy.

aughey avatar aughey commented on September 27, 2024

I suspect you're right and increasing the SOCK generic argument from 2 to 4 did seem to fix it.

I have now enabled the embassy-usb-logger, but I did not see a panic message. This is secondary to my original question, but how do I enable panic messages to be sent through the usb logger?

from embassy.

Dirbaio avatar Dirbaio commented on September 27, 2024

embassy-usb-logger can't send panic messages. When a panic occurs, the firmware is crashed and can't keep USB working. The only way to get panic messages out is to use a debug probe, because that can stay working independently of the firmware.

I recommend you get a 2nd Pico and put this firmware on it https://github.com/raspberrypi/debugprobe . Works very well, is very cheap.

from embassy.

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.