Skip to content

If flashing fails, there's nothing that shows it in the GUI #808

@stefanthorstenson

Description

@stefanthorstenson

I had issues with flashing:

INFO:cflib.crazyflie:Callback->Connection initialized[radio://0/57/2M/FACECAFE00]
INFO:cflib.crazyflie:We are connected[radio://0/57/2M/FACECAFE00], request connection setup
INFO:cflib.crazyflie.platformservice:Request _request_protocol_version()
INFO:cflib.crazyflie:Callback->Connected to [radio://0/57/2M/FACECAFE00]
INFO:cflib.crazyflie.platformservice:_crt_service_callback
INFO:cflib.crazyflie.platformservice:Request protocol version
INFO:cflib.crazyflie.platformservice:_platform_callback
INFO:cflib.crazyflie.platformservice:Protocol version (platform): 12
WARNING:cflib.crazyflie.toccache:Could not save cache, no writable directory
INFO:cflib.crazyflie:Log TOC finished updating
INFO:cflib.crazyflie.mem:6 memories found
INFO:cflib.crazyflie:Memories finished updating
WARNING:cflib.crazyflie.toccache:Could not save cache, no writable directory
INFO:cflib.crazyflie:Param TOC finished updating
INFO:cflib.crazyflie:Callback->Connection setup finished [radio://0/57/2M/FACECAFE00]
Deck bcColorLedTop:col, reset to bootloader
Error: Deck bcColorLedTop:col bootloader not active yet...
Error: Deck bcColorLedTop:col bootloader not active yet...
INFO:cflib.crazyflie:All parameters updated
INFO:cflib.crazyflie:Callback->Connection completed [radio://0/57/2M/FACECAFE00]
Error: Deck bcColorLedTop:col bootloader not active yet...
Error: Deck bcColorLedTop:col bootloader not active yet...
Error: Deck bcColorLedTop:col bootloader not active yet...
Error: Deck bcColorLedTop:col bootloader not active yet...
Error: Deck bcColorLedTop:col bootloader not active yet...
Error: Deck bcColorLedTop:col bootloader not active yet...
INFO:cflib.crazyflie:Closing link
INFO:cflib.crazyflie.param:Disconnected, cleaning up threads
INFO:cflib.crazyflie:Callback->Disconnected from [radio://0/57/2M/FACECAFE00]

The GUI still just says IDLE.

Image

This could easily be interpreted as if the flashing was successful.

Suggest to make it clear in the status bar that flashing failed (instead of showing IDLE)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Triage neededIssues to be discussed in the next triage meeting.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions