contiki over the air programming

后端 未结 2 2137
温柔的废话
温柔的废话 2021-02-10 01:17

I\'m getting started with contiki on the sky mote through a project. I\'m trying to get over the air programming to work right now.
I\'ve been looking through examples/sky-

2条回答
  •  傲寒
    傲寒 (楼主)
    2021-02-10 01:27

    I can't tell you how many times I came back to this post while I was trying to implement OTA in Contiki myself. I know this is an old question, but for anyone looking for a working example, I implemented OTA via CoAP (originally HTTP) for the CC2650, with the server being in NodeJS.

    I could be more wordy, but you can just read the tutorial: http://marksolters.com/programming/2016/06/07/contiki-ota.html

    It discusses the image architecture, transport mechanism and download validation abstractly, so the information is not really bound to the CC2650 uniquely.

    I did not use dynamic linking. I statically linked my binaries and developed a bootloader which writes them to a known flash address. I've never seen elfloader work in Contiki.

    • Here's the Contiki example source: https://github.com/msolters/contiki/tree/master/examples/cc26xx-ota-bootloader
    • Here's the OTA server source: https://github.com/msolters/ota-server

    Hopefully this helps!

提交回复
热议问题