This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How can i compile a firmware for CC2530 znp mini kit?

Other Parts Discussed in Thread: CC2530

Hi,

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.

Thanks.

  • 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. 

    Regards.

  • 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?

    Regards.

  •     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 .