Skip to main content
Ahmed.Waqar
Associate III
September 8, 2018
Question

We need Firmware Over the Air(FOTA) feature in our project. We have GSM module on board that can receive file from our server. Can you please guide me how to write FTP client routines for my STM32F103. Or suggest other file transfer protocol.

  • September 8, 2018
  • 2 replies
  • 806 views

@Community member​ @Andrew Neil​ 

    This topic has been closed for replies.

    2 replies

    Tesla DeLorean
    Guru
    September 8, 2018

    I personally find HTTP simpler to implement.

    If the modem can receive files, perhaps start by utilizing that functionality. Frequently modems have their own FOTA mechanism, you might have to provide server addresses/resources, and then walk the modem through it's process.

    You should perhaps seek guidance from colleagues, or find a contractor with suitable competence.

    Commercial solutions likely provide FTP and TFTP clients.

    https://www.micrium.com/rtos/tcpip/

    Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
    Andrew Neil
    Super User
    September 14, 2018

    Who is "we" ? Is this a commercial project?

    Before doing it over the air, have you understood the basics of doing in-application firmware update? ST have application notes on this ...

    FTP is purely a data transfer protocol; it has nothing specifically to do with Firmware update - so you can use any FTP example to get you going with FTP ...

    A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.