-
Notifications
You must be signed in to change notification settings - Fork 5
Description
I am working with PSoc64 (target name: CYTFM_064B0S2_4343W).
Background:
- Supported in branch: cytfm-064b0s2-4343w at https://github.com/ARMmbed/mbed-os-example-pelion/.
- Detailed tutorial is at: https://github.com/ARMmbed/mbed-os-example-pelion-armdevsummit
- Firmware update on this platform requires manifest-tool 2.0.0.
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?