OTA firmware update



  • ""OTA software updates can be performed through the FTP server. To do so, upload the appimg.bin ...."

    who is the link to have the binary image (appimg.bin) for an OTA update for wipy2.
    Thanks



  • Specific part number is TTL-232R-3V3.

    @acheesehead said in OTA firmware update:

    FTDI 232-3V3 cable works.

    http://www.ftdichip.com/Support/Documents/DataSheets/Cables/DS_TTL-232R_CABLES.pdf

    @jmarcelino said in OTA firmware update:

    @arthurlutz
    You really have to check your adapter, many 3.3V level TTL FTDI232 adapters - in fact the official FTDI-branded cable does that - deliver 5V on V+ so you should connect that one to Vin. Some have a pin marked 5V.

    That's probably what you want because most adapters can't deliver enough power on their 3.3V output to power the Py boards, the regulator is too weak.

    However any adapter should be set to 3.3V voltage level signals. That means TX and RX must use 3.3V.

    If you do have a FTDI-style adapter that can deliver enough current on 3.3V (suggest 500mA) you can connect it to the 3.3V pin directly on the Py board.

    Read closely before you buy and then if possible test it before using it.



  • FTDI 232-3V3 cable works.

    http://www.ftdichip.com/Support/Documents/DataSheets/Cables/DS_TTL-232R_CABLES.pdf

    @jmarcelino said in OTA firmware update:

    @arthurlutz
    You really have to check your adapter, many 3.3V level TTL FTDI232 adapters - in fact the official FTDI-branded cable does that - deliver 5V on V+ so you should connect that one to Vin. Some have a pin marked 5V.

    That's probably what you want because most adapters can't deliver enough power on their 3.3V output to power the Py boards, the regulator is too weak.

    However any adapter should be set to 3.3V voltage level signals. That means TX and RX must use 3.3V.

    If you do have a FTDI-style adapter that can deliver enough current on 3.3V (suggest 500mA) you can connect it to the 3.3V pin directly on the Py board.

    Read closely before you buy and then if possible test it before using it.



  • @arthurlutz
    You really have to check your adapter, many 3.3V level TTL FTDI232 adapters - in fact the official FTDI-branded cable does that - deliver 5V on V+ so you should connect that one to Vin. Some have a pin marked 5V.

    That's probably what you want because most adapters can't deliver enough power on their 3.3V output to power the Py boards, the regulator is too weak.

    However any adapter should be set to 3.3V voltage level signals. That means TX and RX must use 3.3V.

    If you do have a FTDI-style adapter that can deliver enough current on 3.3V (suggest 500mA) you can connect it to the 3.3V pin directly on the Py board.

    Read closely before you buy and then if possible test it before using it.



  • @jmarcelino said in OTA firmware update:

    @admiral99
    I don't have a breakout board either, just use a cheap (£1) USB-serial TTL adapter.

    Just make sure it supports and it's set to 3.3v

    I'm having trouble updating the firmware with my FTDI232, the REPL on pymakr works fine (in 5V), trying the update setup I'm switching to 3.3v, it should still be connected to VIN ou should it be connected to the 3.3 V pin ?



  • @livius said in OTA firmware update:

    @jcrfonera
    still bootloader is modified from version to version
    until that ftp update will be not possible

    Does that imply that once the bootloader is stable, then OTA firmware update via FTP will be supported? This feature would be very important to us, unless the firmware becomes so stable that it is not changed appreciably.

    Are there any plans to replace FTP and Telnet with scp and ssh? This is somewhat important to us.


  • Pybytes Beta

    The updater doesn't work for me. I can connect via ftp but using the updater I get "Connecting... failure!" I have tried several computers and cables.



  • The security aspects are... interesting to say the least. For my use, firmware updates in the LoRa window signed by some key under our control could be useful. And we have physical possession for a while before deployment but would like to extend the ability for updates to other bee keepers. This is an open area of practice/research in general. (Also not my area, so perhaps others know of the right mechanisms.)



  • @livius
    thanks for your reply.



  • @jcrfonera
    still bootloader is modified from version to version
    until that ftp update will be not possible



  • @livius
    Thank you for your answer, but it is the same as Xykon Nov 9, 2016



  • @jcrfonera
    you can only upgrade by UART
    ftp is curently not supported



  • @livius

    My question concerns only an update of the firmware by OTA, and not by serial link without the base card.





  • @admiral99
    I don't have a breakout board either, just use a cheap (£1) USB-serial TTL adapter.

    Just make sure it supports and it's set to 3.3v



  • Any update on this? I would like to update my LyPy but do not have a breakout board (and do not need one). How can I update my LoPy without buying the breakout board?


  • Global Moderator

    At the moment updates should be performed via the serial port to make sure the bootloader is updated. The firmware updates can be downloader here.


Log in to reply
 

Looks like your connection to Pycom Forum was lost, please wait while we try to reconnect.