One of our customers encountered an issue when atempting to download the Z-Stack s.w fromt he link below.
One of the items listed in the notable section include
Over the Air Download Support.
I don’t see any PDFs that have information about Over the Air Downloads.
I tried to download some of the zip files but I have had errors when trying to run the install.
Do you have any thoughts or suggestions? Thansk - Tidd
In your post you haven't mentioned the platform for Z-stack (cc2530, EXP5438, etc..)
In Z-stack for cc2530 there is a "Over Air Download for CC2530.pdf".
Attached is the document from the latest Z-stack version 2.5.0 - 1373.Over Air Download for CC2530.pdf
Is this helps you/your customer?
I would like to use the OTA Console to make over the air, but when i add the files zcl_ota in zstack generates many erros. The document Z-Stack Ota Upgrade User´s Guide don´t explain step by step how to add these files to GenericApp.
Anyone know how to do this?
Can you please post a log of the generated errors (preferably attach it as a .txt file).
I think that the problem related to missing path, but to be 100% how to help you, it be very useful to
see the error/warning log.
Hi Igor Sherer
Thank you for the quickly answer, I solved the problem.
Do you know if the source code of OTAServer is available for download?
Not a clue, but I'll be glad to know the answer to this question too.
Can you please tell me how to solve this problem when adding ota_zcl in other projects? Because I came up with the same problem as yours.
Thanks in advance.
Hi Yingjie Chen
I followed the examples from the Zigbee Stack 2.5.0, you can find there two examples with OTA, one with Smart Energy profile and other, if i´m not wrong, with Home Automation profile.
Thank you for you attention. I have solved the problem now, but still got some questions to ask you. Cause I dont know whether my method is right or not.
1.Besides the instruction of Z-Stack OTA Upgrade User's Guide, I just followed the HA example, adding the f8wzcl.xcl in the Tools folder , and adding zcl_ota.c ,zcl_ota.h and zcl.c in the Profiles folder, loading the OTA Attributes from the constant values in NV ,ect. Did you use same approach like me?
2.zcl_Init( taskID++ ) and zcl_event_loop need to be added in the projcet, right?
3.Did you test the result of OTA before? I dont think the result is good when updating 2 or more endDevices simultaneously.(I programmed the Dongle with Router function)
The update speed is so slow, maybe when Dongle programmed with Coordinator function, the result is better. Did you have any method to optimize that? Thanks in advance.
I'm just curious, when you say "update speed is so slow", how much time it actually takes?
In my case it was ~8 minutes
In my case, I add the OTA fuctionality in GenericApp. if one endDevice updates(image about 130K), it will take 5 minutes for imagetransmission
and 2 minutes for loading the new image. But when 2 or more endDevices update simultaneously, the speed will drop down drastically, and each
node update process is not synchronized, averagely one node takes about 10minutes.
Hi Yingjie Chen
1.Yes all these files are necessary in your project.
2.Yes ,.zcl_Init( taskID++ ) and zcl_event_loop needed to be added in the project.
3.I didn't had problem in update 2 or more devices, i programmed the dongle with router function too.
The update is slow, i tested with coordinator Dongle and the speed for me didn't change.
Thanks for your reply. Did you test the OTA functionality when applying it to multihop topology. I tested with coordinator Dongle with only one route(router A connected to coordinator Dongle, routerB connected to routerA, routerC connected to routerB), and the efficiency is not well.(so slow)
I am just curious, did you satisfy the speed of OTA? No method to speed it up?
can you list me the procedure to add the OTA functionality to GenericApp?
I followed the document "OTA upgrade user's guide": thus, I added the files (zcl.c, zcl_ota.c etc), zcl_event_loop and zcl_Init( taskID++ ) to the project but it doesn't work.
Can you help me please?
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.