1

I am in the process of implementing over-the-air updates on a CC2652 microcontroller using the OpenThread stack. As far as I know a bootloader has to be able to operate independently from the application and be as small as possible. But for the bootloader to download the new firmware by itself it will have to implement the OpenThread stack which will add quite a lot to its size.

I was wondering if it is possible to share the OpenThread stack between the two. I have heard it is possible to place the functions of the library in a specific place in memory and to then share the address with the application but I don't know how to do this in my IDE, Code Composer Studio, or how to make the IDE behave like the library was just a regular import when working on the application with things like auto completion etc.

Vincent Kenbeek
  • 583
  • 1
  • 5
  • 11

1 Answers1

0

Just take a look here, TI is working on OTA support. Even if it has nothing to do with OpenThread itself..

The application itself will download the image and the bootloader just reflashes it. so you have to take care that there is space for two FW-images in flash or using an external flash for this..

Hope it helps.. btw, here's a cool stick i found: https://www.tindie.com/products/slaesh/cc2652-zigbee-coordinator-or-openthread-router/

slaesh
  • 16,659
  • 6
  • 50
  • 52