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

1.10 linux firmware updater - reflex-linux-x86_64 - doesn't detect reset button press and firmware flash cannot start #50

Open
nobleEightfold opened this issue Jul 16, 2024 · 2 comments

Comments

@nobleEightfold
Copy link

With the 1.10 linux firmware updater ("reflex-linux-x86_64" in https://github.com/misteraddons/Reflex-Adapt/releases/download/v1.10/reflex-v1.10.zip) - while waiting at the "Press the RESET button on your Reflex device." prompt after choosing a firmware, the program does not respond when the reset button is pressed on the device, and the firmware flash is unable to start. I tried different combos, none of which made a difference in this behavior.

However, I was able to use the 1.08 version and the reset button press is detected and the firmware flash completes successfully.

@misteraddons
Copy link
Owner

With the 1.10 linux firmware updater ("reflex-linux-x86_64" in https://github.com/misteraddons/Reflex-Adapt/releases/download/v1.10/reflex-v1.10.zip) - while waiting at the "Press the RESET button on your Reflex device." prompt after choosing a firmware, the program does not respond when the reset button is pressed on the device, and the firmware flash is unable to start. I tried different combos, none of which made a difference in this behavior.

However, I was able to use the 1.08 version and the reset button press is detected and the firmware flash completes successfully.

Yep, I need to figure out what happened with the last release. I've been using 1.09 release myself.

The new output mode firmware is all but done. Need to work on a release for it once my testers give feedback and bugs are fixed :)

https://cdn.discordapp.com/attachments/1082669321555279952/1261718542617673829/reflex-mpg-v0.1_2.zip

@bryanparadis
Copy link
Contributor

bryanparadis commented Nov 10, 2024

Oct 14, 2023 Reflex-Adapt V1.09 - Last working updater
Dec 11, 2023 serialport-rs v4.3.0 - Released with a fix that breaks fallback device lookup: https://github.com/serialport/serialport-rs/pull/122
Several versions of Reflex-Adapt and serialport-rs
2024-10-21 serialport-rs v4.6.0 - Released with built in fallback for device enumeration without udev! https://github.com/serialport/serialport-rs/pull/220
Nov 4, 2024 Reflex-Adapt V2.01 - Still broken but the actual release assets are from like July/September not Nov 4! This threw me off
All builds that are actually since serialport-rs v4.6.0 seem to work fine on Linux I have not tested mister

So going forward Reflex-Adapt should be detected on reset on Linux again. Better support via serialport-rs v4.6.0 crate allows this to happen.

I think now though the fallback code here and here is dead since serialport-rs v4.3.0.

  • Confirm that reflex_updater built with serialport-rs v4.6.0+. Simply download this and replace the file in v1.10.
  • Up the version of serialport-rs to v4.6 in Cargo.toml to avoid older version. Possibly pin it to 4.6.X with version = "~4.6"
  • Remove dead code mentioned above if working on misterfpga or fix it if it's still necessary to keep

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

No branches or pull requests

3 participants