- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello.
Q1)
[English]
DFU may fail depending on the version of android on the host.
For example, it works fine on Android 9, but it doesn't work on Android 12.
Do you have application notes or forums that explain it?
[日本語]
DFUにおいてホスト機のAndoroidのバージョンによって上手くいったりいかなかったりがあります。
例えばAndroid9では上手くいっておりますがAndroid12では上手くいきません。
アプリケーションノートや解説してるフォーラムやり取りなどございますか。
Q2)
[English]
Do you have any application notes about DFU's Fail Safe?
In particular, if there is a recommended implementation method for applications where peripheral does not have an interface such as a reset button, please let us know.
In the case of an application without an interface, the device cannot be reset from the outside, so if there is a bug in the uploaded firmware and it becomes impossible to DFU again, it will be irreversible.
It would be helpful if there was a document that explained tips etc to avoid such cases.
[日本語]
DFUのFail Safeに関するアプリケーションノート等ありますか。
特にペリフェラル機にリセットボタン等のインターフェースが無いようなアプリケーションにおける推奨実施方法等ありましたらご教授頂きたいです。
インターフェース無しのアプリケーションの場合デバイスを外部からリセット出来ないため、アップロードしたファームウエアにバグ等あり再度DFUできないような状態になってしまうと取り返しがつかなくなります。
そういった場合を回避するためのTips等が解説されているドキュメントがあると助かります。
Best Regards.
Yutaka Matsubara
- Labels:
-
PSoC 6 MCU
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
1. Could you please let us know what is the issue you are facing in Android 12 ?
2. In a MCU, several events may cause a device reset: for example, a device power up or a voltage level on a reset pin. In addition, firmware can trigger a reset by writing to a device register. This is known as a “software reset”, or SRES. Using the SRES feature, an application can reset the device, for example in response to an event such as a button press. This effectively transfers control to the DFU module because the DFU module executes first at device reset.
For more information, please refer to the AN213924 - PSoC 6 MCU Device Firmware Update Software Development Kit Guide.
Thanks,
P Yugandhar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
P Yugandhar-san.
Q1)
DFU doesn't work on Android 12.
Firmware Update fails.
But Firmware Update is successful on Android 9.
DFU may fail depending on the version of android on the host.
Do you have application notes or forums that explain it?
Is there a past case where DFU fails depending on the version of Android?
Q2)
This question is about Fail Safe in an environment without reset feature.
If there is a recommended Fail Safe implementation method for applications where peripheral does not have an interface such as a reset button, please let us know.
In the case of an application without an interface, the device cannot be reset from the outside, so if there is a bug in the uploaded firmware and it becomes impossible to DFU again, it will be irreversible.
It would be helpful if there was a document that explained tips etc to avoid such cases.
Do you have any application notes about DFU's Fail Safe(without reset)?
Best Regards.
Yutaka Matsubara
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
1. Currently I don't have the Android 12 device for testing . Could you please send me some screenshots of the error which you are seeing . I will try to get the Android 12 device and test the results.
2. Please refer to the below thread link for 'How to jump to application from bootloader without software reset?'.
Thanks,
P Yugandhar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm seeing the same thing and have posted a logcat from an Andoid 12 device. To a similar forum post.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I have tested the PSoC6 BLE OTA example project in Android 12 device and it is working fine at my end, where I'm able to upgrade the OTA firmware.
I tested with Samsung Galaxy S10+ Android 12 device.
Thanks,
P Yugandhar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Yugandhar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I did some additional testing with all Android devices I had access to. The only Samsung device I had worked great, the remaining had a low success rate out of 6 tries.
Phone Model | Android Version | CySmart(App Store) PASS / FAIL |
Samsung S20 5G(SM-G981U1) | 11 | 6 / 0 |
Pixel 6 Pro | 12 | 2 / 4 |
Pixel 4 XL | 12 | 3 / 3 |
Pixel 3 XL | 12 | 4 / 2 |
Pixel 2 | 11 | 2 / 4 |