Select between ota_0 and factory FW



  • After building a custom FW image for the GPy, I can flash the image to the device using the OTA ftp method from https://docs.pycom.io/tutorials/all/ota/#method-b or via a cable using 'make flash'. Each method stores the image in a different flash partition: ota_0 vs. factory. I have verified this by reading back the partitions using pycom-fwtool-cli.

    If I store two different images, it seems ota_0 is always booted. Is that expected? Is there a way to select (in a sticky way) which image gets booted?

    Note that I am working from an older development release, 1.18.1.r1, if that matters.


Log in to reply
 

Pycom on Twitter