Skip to content
This repository was archived by the owner on Sep 10, 2024. It is now read-only.
This repository was archived by the owner on Sep 10, 2024. It is now read-only.

Error: The device does not recognize the command. (os error 22) #50

@mihai-dinculescu

Description

@mihai-dinculescu

I've been happily using espmonitor with several ESP32s, but with a FeatherS3 from UM, it crashes when winding down.

I (2870) esp_idf_svc::wifi: Stopping
I (2880) wifi:state: run -> init (0)
I (2880) wifi:pm stop, total sleep time: 1454770 us / 2006276 us
W (2890) wifi:<ba-del>idx
I (2890) wifi:new:<1,0>, old:<1,0>, ap:<255,255>, sta:<1,0>, prof:1
I (2900) esp_idf_svc::wifi: Disconnect requested
I (2900) wifi:flush txq
I (2900) wifi:stop sw txq
I (2900) wifi:lmac stop hw txq
I (2910) esp_idf_svc::wifi: Stop requested
I (2910) esp_idf_svc::wifi: Got wifi event: StaDisconnected
Error: The device does not recognize the command. (os error 22)

$ espmonitor --version
ESPMonitor 0.7.0

idf.py monitor behaves as expected

I (2870) esp_idf_svc::wifi: Stopping
I (2880) wifi:state: run -> init (0)
I (2880) wifi:pm stop, total sleep time: 1363234 us / 2000715 us

W (2890) wifi:<ba-del>idx
I (2890) wifi:new:<1,0>, old:<1,0>, ap:<255,255>, sta:<1,0>, prof:1
I (2900) esp_idf_svc::wifi: Disconnect requested
I (2900) wifi:flush txq
I (2900) wifi:stop sw txq
I (2900) wifi:lmac stop hw txq
I (2910) esp_idf_svc::wifi: Stop requested
I (2910) esp_idf_svc::wifi: Got wifi event: StaDisconnected
I (2920) esp_idf_svc::wifi: STA event StaDisconnected handled, set status: Status(Started(Disconnected), Stopped)
I (2920) esp_idf_svc::wifi: About to wait for status
I (2940) esp_idf_svc::wifi: Got wifi event: StaStopped
I (2940) esp_idf_svc::wifi: STA event StaStopped handled, set status: Status(Stopped, Stopped)
I (2950) esp_idf_svc::wifi: Waiting for status done - success
I (2960) esp_idf_svc::wifi: Stopped
I (2960) esp_idf_svc::wifi: Event handlers deregistered
I (2970) wifi:Deinit lldesc rx mblock:10
I (2980) esp_idf_svc::wifi: Driver deinitialized
I (2980) esp_idf_svc::wifi: Deinitialization complete
I (2980) esp_idf_svc::wifi: Dropped
I (2990) esp_idf_svc::netif: Dropped
I (2990) esp_idf_svc::nvs: Dropped
I (2990) esp_idf_svc::eventloop: Dropped
we've been up for 2993154 ms.
going to sleep...
ClearCommError failed (PermissionError(13, 'The device does not recognize the command.', None, 22))
Waiting for the device to reconnect....

OS: MINGW64 on Windows 11

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