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

Missing support for explicit firmware version #26

Open
maclobdell opened this issue Sep 29, 2020 · 0 comments · May be fixed by #27
Open

Missing support for explicit firmware version #26

maclobdell opened this issue Sep 29, 2020 · 0 comments · May be fixed by #27

Comments

@maclobdell
Copy link

I am working with PSoc64 (target name: CYTFM_064B0S2_4343W).

Background:

This platform requires explicitly passing the new firmware version in 64-bit unsigned integer. The Cypress PSoC64 has it's own boot loader that also uses explicit versioning (instead of time stamp).

Updating the firmware works successfully with the following command (that includes the explicit firmware version).

manifest-dev-tool update-v1 --payload-path <payload> --fw-version <new firmware version> --device-id <device ID> --start-campaign --wait-for-completion

However, when I run the Pelion E2E tests, using the command below, there is no way to pass in the firmware version.

pytest TESTS/pelion-e2e-python-test-library/tests/dev-client-tests.py --update_bin=<path to update binary>

The device fails to start downloading the firmware payload & the service reports that the existing firmware version is at or greater than the firmware version listed in the manifest.

Could the problem be that the manifest is not getting generated with the explicit firmware version?

Is there a quick fix for this?

CC @moshe-shahar @cvasilak

@maclobdell maclobdell linked a pull request Sep 30, 2020 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant