TI E2E Community
Low Power RF & Wireless Connectivity
Low Power RF ZigBee® Software & IEEE 802.15.4 Forum
How can i compile a firmware for CC2530 znp mini kit?
I want to compile a firmware for the CC2530ZNP mini kt.
I had test the original firmware in the directry C:\Texas Instruments\CC2530ZNP Mini Kit\Bin\CC2530-MK-Pro.hex,it worked well with the examples in C:\Texas Instruments\CC2530ZNP Mini Kit\ZNP Examples.
But when i tested the examples in C:\Texas Instruments\CC2530ZNP-MK Sensor Network Application\IAR\ZNP Sensor Monitor Demo Application,it didn't work.If i updated the CC2530ZNP firmware with C:\Texas Instruments\CC2530ZNP-MK Sensor Network Application\IAR\Bin\ProdHex Images,the ZNP Sensor Monitor Demo Application works well.
And,it was so strange that the CC2530ZNP with C:\Texas Instruments\CC2530ZNP-MK Sensor Network Application\IAR\Bin\ProdHex Images cann't work with the C:\Texas Instruments\CC2530ZNP Mini Kit\ZNP Examples,even the resetZnp function cann't work well. So i wonder:
What is the difference between C:\Texas Instruments\CC2530ZNP Mini Kit\Bin\CC2530-MK-Pro.hex and the C:\Texas Instruments\CC2530ZNP-MK Sensor Network Application\IAR\Bin\ProdHex Images?Which one is the standard firmware with full ZIGBEE function supported?
I had download the ZStack-CC2530-2.5.0 and installed it,I recompiled the ZNP source codes to get the firmware,but what i got is the same firmware of C:\Texas Instruments\CC2530ZNP-MK Sensor Network Application\IAR\Bin\ProdHex Images
how can i compile a firmware of C:\Texas Instruments\CC2530ZNP Mini Kit\Bin\CC2530-MK-Pro.hex?my programs works on this firmware so i want to know more details of this firmware.
PS:my testing device is the CC2530ZNP mini Kit with SPI interface.
Hello, The ZNP image distributed with the Sensor Monitor Demo is built using the Z-Stack-2.5.0 release. Please see the text document at C:\Texas Instruments\CC2530ZNP-MK Sensor Network Application_old_v1\IAR\Bin for compile options that were used to build the image. The ZNP image at C:\Texas Instruments\CC2530ZNP Mini Kit\Bin\CC2530-MK-Pro.hex were generated with Z-Stack-2.3.1 version. I would recommend using the ZNP image included with the sensor monitor demo applications. Regards
Thank you for the reply.
But i used the C:\Texas Instruments\CC2530ZNP-MK Sensor Network Application\IAR\Bin\ProdHex Images\CC2530ZNP-MK-Pro.hex with the C:\Texas Instruments\CC2530ZNP Mini Kit\examples projects,it didn't work.The program seens be hanged because the SRDY signal didn't go low in the Sreq function.
And if i used the C:\Texas Instruments\CC2530ZNP-MK Sensor Network Application\IAR\Bin\TestHex Images\CC2530ZNP-MK-Pro.hex, the same program seen working well,but it was strange that when the CC2530ZNP reset,i couldn't get the SYS_RESET_IND messege from the SPI interface,what i got was all 0x00.
And if i used the C:\Texas Instruments\CC2530ZNP Mini Kit\Bin\CC2530-MK-Pro.hex,as what i had said before,the same program works quite well, include the SYS_RESET_IND message after reseting CC2530ZNP.
As what i had tested,it seens that the C:\Texas Instruments\CC2530ZNP Mini Kit\Bin\CC2530-MK-Pro.hex is the right image with generated,so, that is why i want to know more details about this image,for example,i want to know the compile options of this image.
Hello Licheng Li, For the compile options used to build the Z-Stack-2.5.0 Images please see the text document included with the sensor monitor network install - at C:\Texas Instruments\CC2530ZNP-MK Sensor Network Application\IAR\Bin, the document name is Sensor Monitor Network Sample Application Release.txt. Regards
Hello Suyash Jain,
thank you again for the reply.I had figure out the compile options of the image now,but i am confused that why the ztack 2.5.0 image wouldn't generate the SYS_RESET_IND message after the CC2530ZNP had been reset(SPI interface).
And there is one more question,can i change the poll rate,QueuedPollRate,ResponsePollRate of END DEVICE and take effect in run-time without reset CC2530 or resart ZIGBEE stack?
I try to change the END DEVICE from sleeping mode to no-sleeping mode for max performance sometime in running,how can i do?
I had this problem . I think if you read "CC2530ZNP Interface Specification.pdf" pages 7 and 8 you see CC2530ZNP mini kit is designed differrent pins . So i think you only hex image file in CC2530ZNP Mini Kit folder can run true .
I am designing a node Zigbee to Ethernet using LM3s9790, so we can refer together .
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.