2024-08-08 09:32 PM
Hello
I am looking for a tftp client example or working C code.
I am trying to download a file from a tftp server with a tftp client, so I need a reference document or code.
I implemented it as a TFTP Server using the ST library example and tried to upload firmware.
Please give me a solution..
* Using stm32f4, iar used
2024-08-13 02:27 AM
Hello @jmyoo,
Thank you for your contribution. Unfortunately, we do not have specific examples for a TFTP client. However, to implement a TFTP client on the STM32F4, I suggest merging the UDP Echo Client project with the TFTP Server project. By combining the UDP socket management functionalities of the Echo Client and the TFTP packet handling logic of the Server, you can create a functional TFTP client. Here are the links to the reference projects:
By following this approach, you will be able to send RRQ and handle DATA and ACK responses to download files from a TFTP server.
With Regards,