-
-
2. Re: BCM20737 Secure OTA in Win10
BoonT_56 Sep 13, 2017 10:44 PM (in response to huangj)1 of 1 people found this helpfulLet me list down the steps for secure OTA:
1) Copy WsRsaKeyGen.exe, WsRsaSign.exe and WsSecOtaUpgrade.exe into a working folder
2) Execute WsRsaKeyGen.exe to generate rsa.pri and rsa_pub.c
3) Copy rsa_pub.c into the application folder in which the app will be compiled
4) Ensure the following line in makefile.mk:
APP_SRC = application.c ws_sec_upgrade_ota.c ws_upgrade.c rsa_pub.c
5) After compiling of the application, copy "XXX.ota.bin" from the build folder into the working folder of (1)
6) Sign the image with WsRsaSign.exe, taking note of the requirement for app_ID, and major/minor IDs
7) Execute WsSecOtaUpgrade.exe on "XXX.ota.bin.signed" and perform the OTA
You must have used a BT dongle. Did you use the Widcomm SW that come with it? Does removing it help?
-
3. Re: BCM20737 Secure OTA in Win10
huangj Sep 14, 2017 1:56 AM (in response to BoonT_56)Hi boont,
Thanks for your comment.
BT dongle: BCM20702A
Did you use the Widcomm SW that come with it?
=>The Widcomm is the BT dongle driver. I pair the TAG3 with Windows 10 Bluetooth interface. The Windows 10 Bluetooth interface and WsSecOtaUpgrade.exe worked fine before 2 months ago.
I try the OTA step like you say. But it still stuck in the "Transfer step". I save the log on attachments.
15:41:57 - hello_sensor_write_handler: handle ff03 =>BT dongle(Master) send data to the TAG3(Slave)
15:41:57 WriteCb: handle 0000
15:41:57 - hello_sensor_write_handler: handle ff03 =>BT dongle(Master) send data to the TAG3(Slave)
15:41:57 WriteCb: handle 0000
15:41:58 - hello_sensor_write_handler: handle ff02 =>BT dongle(Master) send data to the TAG3(Slave)
15:41:58 - Command:1 State:0
15:41:58 -
15:41:58 - send_status 0
15:41:58 -
15:41:58 WriteCb: handle 0000
I can't see any data exchange after 15:41:58(hello_sensor_timeout:16) in the log.
The following are possible problems:
1. BT dongle or TAG3 disconnect
=> I can't see the disconnect in the log.
2. BT dongle or TAG3 can't send message
=> The BT dongle sends 3 write requests to the TAG3
3. The WsSecOtaUpgrade.exe is incompatible with Windows 10
=> The OTA cloud work with my Windows 10 computer. When my computer performs the Windows update, the OTA can't work with the Windows 10 of new version.
-
OTA_log.txt.zip 1.2 K
-
-
4. Re: BCM20737 Secure OTA in Win10
BoonT_56 Sep 14, 2017 7:53 PM (in response to huangj)I tried out the ota process on a win10 64bit machine and experienced the same thing as you. Everything was ok until the actual upgrade execution and it hanged there during the "Transfer".
Please create a case in MyCase so that we can investigate this.
-
5. Re: BCM20737 Secure OTA in Win10
huangj Sep 14, 2017 10:29 PM (in response to BoonT_56)Hi boont,
I also do the same thing in my Windows7 laptop with same setting(e.g. *.signed, WsSecOtaUpgrade.exe and BT dongle). The OTA procedure can work in my W7 laptop, but it can't work in my W10 PC. It seems that this program does not support Windows 10.
Please create a case in MyCase so that we can investigate this.
=>Where can I found "MyCase"?
-
6. Re: BCM20737 Secure OTA in Win10
BoonT_56 Sep 14, 2017 10:54 PM (in response to huangj)You may go to the following to click on the "Create a Cypress Support Case"
Support & Community | Cypress Semiconductor
Same here, I have no issue on my win7 PC. It seemed that it only happened recently with the latest windows update.
If possible, carry out your development on win7 for the time being.
-
7. Re: BCM20737 Secure OTA in Win10
jodrc_2147346 Nov 29, 2017 5:12 PM (in response to huangj)Has there been any update on the status of this issue? We are having the same problem. OTA was working previously on a Window 10 1607 machine but after an automatic Windows update to 1703 the process broke. We are having the same behavior. The module connects fine but hangs on the transfer step. We do not have any Windows 7 machines to test against.
-
8. Re: BCM20737 Secure OTA in Win10
huangj Nov 29, 2017 6:25 PM (in response to jodrc_2147346)Hi droghio,
The issue is still exist. I'm also waiting response from Cypress.There are two solutions in the moment. One is Windows 7, and the other is Android APP.
Best regards,
Jack
-
9. Re: BCM20737 Secure OTA in Win10
BoonT_56 Nov 30, 2017 11:30 PM (in response to huangj)This issue is still being investigated. It is taking a little bit of time because of other priorities. At the mean time, Win7 is still the current recommended way of doing OTA.
-
10. Re: BCM20737 Secure OTA in Win10
sujayy_46 Dec 14, 2017 6:12 AM (in response to huangj)1 of 1 people found this helpfulWe have noted that there is an issue with OTA update with Windows 10 version 1703 and later versions. We are fixing it.
-
11. Re: BCM20737 Secure OTA in Win10
huangj Dec 14, 2017 6:04 PM (in response to sujayy_46)Hi sujayy_46,
It's very happy to hear the bug fix. Do I need to install new SDK or Utility?
Best regards,
Jack
-
12. Re: BCM20737 Secure OTA in Win10
sujayy_46 Dec 14, 2017 11:47 PM (in response to huangj)1 of 1 people found this helpfulHey Jack,
I will let you know. It will mostly be a new utility, not a new SDK.