# File sever, firmware upload

**URL:** <https://forum.opencyphal.org/t/file-sever-firmware-upload/1735>\
**Category:** CLI tools (Cynic/Yakut)\
**Created:** [August 11, 2022, 10:36pm UTC](https://forum.opencyphal.org/t/file-sever-firmware-upload/1735 "2022-08-11T22:36:38Z")\
**Posts on this page:** 3\
**Page:** 2

<div class="post-metadata">

**Author:** ![pavel.kirienko](https://forum.opencyphal.org/user_avatar/forum.opencyphal.org/pavel.kirienko/32/9_2.png) [@pavel.kirienko](https://forum.opencyphal.org/u/pavel.kirienko)\
**Post date:** [August 12, 2022, 5:36pm UTC](https://forum.opencyphal.org/t/file-sever-firmware-upload/1735/21 "2022-08-12T17:36:35Z")

</div>

Okay. I’ve looked at the code and couldn’t notice anything that could be obviously wrong. I hope I’m not missing anything important due to my inability to read your extensive comments in Italian `:D`. Can you please once again post two candumps: one of your successful exchange with another libcanard-based node, and the other unsuccessful exchange with Yakut? The ones you posted earlier differ in the uavcan.file.Read service version so not usable for diagnostics. Thanks.

---

<div class="post-metadata">

**Author:** ![digitecomg](https://forum.opencyphal.org/user_avatar/forum.opencyphal.org/digitecomg/32/1215_2.png) [@digitecomg](https://forum.opencyphal.org/u/digitecomg)\
**Post date:** [August 18, 2022, 12:49pm UTC](https://forum.opencyphal.org/t/file-sever-firmware-upload/1735/22 "2022-08-18T12:49:27Z")

</div>

I have verified that the dumps are the same. At this point I suspected reception problems that did not occur in yakut mon because of shorter messages (misled). My STM32 node worked because also the send procedure was a bit slower and in any case it improved by inserting delays between the various transfers … By decreasing the speed of the can I started to receive some complete frames (256 bytes).  
So I improved the RX procedure by removing, inserted the interrupt management and now it is perfect at all speeds up to 1Mhz without any loss even with 250 Kb files.

I only have one question left, at the end of the transfer yakut remains in the transfer function without giving a message ad.es transfer complete … There is something to do, some command to tell yakut and report that the transfer is finished or not it is managed by? At the last message with incomplete buffer \<256 I interpret save my file and that’s it.

Thanks for your time

---

<div class="post-metadata">

**Author:** ![pavel.kirienko](https://forum.opencyphal.org/user_avatar/forum.opencyphal.org/pavel.kirienko/32/9_2.png) [@pavel.kirienko](https://forum.opencyphal.org/u/pavel.kirienko)\
**Post date:** [August 18, 2022, 12:55pm UTC](https://forum.opencyphal.org/t/file-sever-firmware-upload/1735/23 "2022-08-18T12:55:21Z")

</div>

> [@digitecomg](#):
>
> I only have one question left, at the end of the transfer yakut remains in the transfer function without giving a message ad.es transfer complete … There is something to do, some command to tell yakut and report that the transfer is finished or not it is managed by? At the last message with incomplete buffer \<256 I interpret save my file and that’s it.

Yakut is not driving the process so it cannot possibly determine whether the transfer is finished. It is entirely up to the client (your node) to manage the process. How to detect the end-of-file during the transfer is explained in the docs for [`uavcan.file.Read`](https://nunaweb.opencyphal.org/api/storage/docs/docs/uavcan/index.html#uavcan_file_Read_1_1).

Your question makes me suspect that you did not read the documentation. Please do endeavor to do so to save time.

[Previous page](https://forum.opencyphal.org/t/file-sever-firmware-upload/1735.md?page=1)
