AWS_OTA Update

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Sachin_Patel
Level 3
Level 3
25 sign-ins 10 questions asked 10 replies posted

Hi i am working on AWS_OTA using MQTT example.But i am unable to get update notification.Here I attached log.

python3 start_ota.py --profile AWS_OTA_Profile --name Device_1 --role OTA_fw_Update --s3bucket awsfwota123 --otasigningprofile AWS_OTA_Profile --appversion 1_1_0 --buildlocation "D:\Project_2\New_WB\AWS_IoT_OTA_Using_MQTT\build\CY8CKIT-064S0S2-4343W\Debug"
Session Profile: AWS_OTA_Profile
Available profiles: ['AWS_OTA_Profile', 'default']
Region: ap-south-1
Certificate ARN: ************************************************************ (Got correct certificate)
in ota
Name of binary for uploading to AWS: D:\Project_2\New_WB\AWS_IoT_OTA_Using_MQTT\build\CY8CKIT-064S0S2-4343W\Debug\mtb-example-aws-iot-ota-mqtt_1_1_0.bin
Build File Name: D:\Project_2\New_WB\AWS_IoT_OTA_Using_MQTT\build\CY8CKIT-064S0S2-4343W\Debug\mtb-example-aws-iot-ota-mqtt.bin
BuildFirmwareFileNames
CopyFirmwareFileToS3
GetLatestS3FileVersion
Searching for profile AWS_OTA_Profile
Found Profile AWS_OTA_Profile in account
CreateSigningProfile
Files for update: [{'fileName': 'mtb-example-aws-iot-ota-mqtt_1_1_0.bin', 'fileType': 141, 'fileVersion': '1', 'fileLocation': {'s3Location': {'bucket': 'awsfwota123', 'key': 'mtb-example-aws-iot-ota-mqtt_1_1_0.bin', 'version': 'dKOfKSumGyZVEWUgFTz5vw6N_oMeeotg'}}, 'codeSigning': {'startSigningJobParameter': {'signingProfileName': 'AWS_OTA_Profile', 'destination': {'s3Destination': {'bucket': 'awsfwota123'}}}}}]
OTA Update Status: {'ResponseMetadata': {'RequestId': '4e167961-9765-4a5f-97ec-8738098b1909', 'HTTPStatusCode': 200, 'HTTPHeaders': {'date': 'Tue, 02 Aug 2022 05:01:21 GMT', 'content-type': 'application/json', 'content-length': '192', 'connection': 'keep-alive', 'x-amzn-requestid': '4e167961-9765-4a5f-97ec-8738098b1909'}, 'RetryAttempts': 0}, 'otaUpdateId': 'update-60127-1_1_0', 'otaUpdateArn': '(got correct)update-60127-1_1_0', 'otaUpdateStatus': 'CREATE_PENDING'}
CreateOTAJob
ota Done

 

Some of print I added in script.

 

0 Likes
1 Solution
Rakesh_BG
Moderator
Moderator
Moderator
50 solutions authored 100 replies posted 100 sign-ins

Hi,

aws-iot-ota-mqtt is working fine on CY8CKIT-064S0S2-4343W. please check again with latest MTB supported for the example code by recompiling and flashing the clean code .

https://github.com/Infineon/mtb-example-aws-iot-ota-mqtt

Thanks,

Rakesh B G

View solution in original post

0 Likes
2 Replies
Rakesh_BG
Moderator
Moderator
Moderator
50 solutions authored 100 replies posted 100 sign-ins

Hi @Sachin_Patel ,

We are analyzing the issue .  We will get back to you as soon as possible.

 

Thanks,

Rakesh B G

0 Likes
Rakesh_BG
Moderator
Moderator
Moderator
50 solutions authored 100 replies posted 100 sign-ins

Hi,

aws-iot-ota-mqtt is working fine on CY8CKIT-064S0S2-4343W. please check again with latest MTB supported for the example code by recompiling and flashing the clean code .

https://github.com/Infineon/mtb-example-aws-iot-ota-mqtt

Thanks,

Rakesh B G

0 Likes