Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

after firmware flashing bootloader mode stands #4156

Closed
TheIsotopes opened this issue Sep 5, 2024 · 20 comments · Fixed by #4175 or #4176
Closed

after firmware flashing bootloader mode stands #4156

TheIsotopes opened this issue Sep 5, 2024 · 20 comments · Fixed by #4175 or #4176
Labels

Comments

@TheIsotopes
Copy link
Contributor

Describe the bug

on the latest master the bootloader mode is not exited after flashing a firmware.

i have this problem with f4 and h7 boards.

To Reproduce

flashing a firmware and wait on reboot ... but it stays in bootloader mode

Expected behavior

reset to setup mode after flashing

Configurator version

latest PWA master snapshot

Flight controller configuration

No response

Add any other context about the problem that you think might be relevant here

No response

@haslinghuis
Copy link
Member

Did you give permission to the port before during normal connection ?

@haslinghuis
Copy link
Member

image

@TheIsotopes
Copy link
Contributor Author

TheIsotopes commented Sep 5, 2024

here my screenshot after flashing: the entry USB device successfully closed is missing in my log
Screenshot 2024-09-05 192840

what you mean with

Did you give permission to the port before during normal connection ?

@TheIsotopes
Copy link
Contributor Author

and here my console output
image

@haslinghuis
Copy link
Member

haslinghuis commented Sep 5, 2024

When the port did not have permission before it can't display it

image

  • can't find my USB device
  • accept the dialog

@haslinghuis
Copy link
Member

image

Some processes now give a notification when finished when you gave it permission.

@TheIsotopes
Copy link
Contributor Author

As you can see in the screenshot above, the port is not closed after flashing.

@haslinghuis
Copy link
Member

Even with your settings it works for me on Ubuntu 22.04.4LTS with chromium. What OS / browser is used ?

image

@TheIsotopes
Copy link
Contributor Author

I'm using Microsoft Edge on Windows 11 23H2

@TheIsotopes
Copy link
Contributor Author

Ok, there seems to be a problem with Microsoft Edge, I just installed Chrome and it works without any problems.

@TheIsotopes
Copy link
Contributor Author

@haslinghuis pls can you reopen this issues ... on latest google chrome now i have the same problem

image

@haslinghuis haslinghuis reopened this Sep 20, 2024
@haslinghuis
Copy link
Member

@TheIsotopes - Did you accept permission for notifications introduced in 4134 ?

@TheIsotopes
Copy link
Contributor Author

nope ... was deactivated, activated again and it's working now.

I don't think this is how it should be!?

@haslinghuis
Copy link
Member

Where you on the onboard logging tab (blackbox) or firmware flasher tab ?

@TheIsotopes
Copy link
Contributor Author

In both console screenshot i was on firmware flasher tab.

@TheIsotopes
Copy link
Contributor Author

@haslinghuis tested latest build, but it's not fixed (tested on edge) ... activated again the notification and it's working

image

@nerdCopter
Copy link
Member

did the app "update" or did it use a cached version?
one of us may need to create a Win11 VM for testing 🤢

@TheIsotopes
Copy link
Contributor Author

configurator was updated after request

image

@haslinghuis
Copy link
Member

Yes was not ready yet and have it working now in a new PR.

But there is one issue if user blocked the first request:
As it looks now browser stores this decision internal and won't be requested after refresh. Only reset browser settings will trigger the request again.

Screenshot from 2024-09-20 14-20-48

And then enabling

image

permissions are still denied and will throw the error.

@haslinghuis
Copy link
Member

With latest iteration users will not be able to enable the checkbox without giving permission.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
3 participants