David Lechner
David Lechner
It used to work - at least with EV3 Gryo sensor.
@GianCann, can you use your logic analyzer to capture the communications between a Powered Up hub with Pybricks firmware and the EV3 Ultrasonic sensor and post the results here?
What software is needed to view the file?
I added a similar delay in `cli/flash.py` because of the same problem. I don't think that the hub can actually known when it is ready though. I think the problem...
Capturing Bluetooth packets to see what is actually going on is usually a good first step.
If you are using SPIKE/MINDSTORMS hub, then the issue could also be that BTStack is doing more in the background than the other Bluetooth drivers on other hubs and it...
> So wondering if the flash init could be done before the Hub can be connected to, Assuming that `pb_flash_init()` does not call any MicroPython code, we should be able...
@lobodpav, can you please test https://github.com/pybricks/pybricks-micropython/commit/e8846409af0b1d82c3bd66a914ed181503a71438 when it is finished building?
I see now that the "block" operations are calling `MICROPY_EVENT_POLL_HOOK`, so that change doesn't work.