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

Firmware version unchanged after upgrade #33

Open
sambrightman opened this issue Sep 2, 2024 · 0 comments
Open

Firmware version unchanged after upgrade #33

sambrightman opened this issue Sep 2, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@sambrightman
Copy link

It's unclear to me if this is a bug in this repo or a problem elsewhere in the chain, or if I'm misunderstanding the versioning. Perhaps the firmware version is not supposed to be the bootloader version.

I upgrade the bootloader using micronucleus from PlatformIO - which is version 2.5 Feb 8 2021 - to the latest from this repo (micronucleus version 2.6 from the release tarball of upstream did not seem to detect the device at all). It seems to work fine:

$ ~/.platformio/packages/tool-micronucleus/micronucleus  --run ~/dev/micronucleus-firmware/firmware/upgrades/upgrade-t85_entry_on_powerOn_activePullup_fastExit.hex
> Please plug in the device ...
> Device is found!
connecting: 33% complete
> Device has firmware version 1.6
> Available space for user applications: 6012 bytes
> Suggested sleep time between sending pages: 8ms
> Whole page count: 94  page size: 64
> Erase function sleep duration: 752ms
parsing: 50% complete
> Erasing the memory ...
erasing: 66% complete
> Starting to upload ...
writing: 83% complete
> Starting the user app ...
running: 100% complete
>> Micronucleus done. Thank you!

I use CLI version 2.6 from the upstream release tarball (which incorrectly reports 2.5 but Nov 4 2021) with --info to see the firmware version again (or alternatively install a user program using 2.5), and it does not appear to have changed:

$ ~/Downloads/micronucleus-cli-master-882e7b4a/micronucleus --info
> Please plug in the device ...
> Device is found!
connecting: 40% complete
> Device has firmware version 1.6
> Available space for user applications: 6012 bytes
> Suggested sleep time between sending pages: 8ms
> Whole page count: 94  page size: 64
> Erase function sleep duration: 752ms
>> Micronucleus done. Thank you!

Is this the expected behaviour?

Expected behavior
Firmware gets updated and shows new version.

Used Hardware
attiny85 digispark (board) clone.

Desktop (please complete the following information):

  • OS: macOS 12.7.6.
  • Development environment CLI and/or PlatformIO.
  • Version of the bootloader 1.6?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant