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.

Programming the CC2530EMK with ZStack ZAP

Other Parts Discussed in Thread: CC2530EMK, MSP-EXP430FR5739, CC-DEBUGGER, CC2530EM, CC2530, CC2500

I want to use a CC2530EMK with the ZigBee protocol but don't want to get the IAR compiler. I had read in the forms that I could use the ZStack-ZAP-MSP430-1.0.4 download swrc173.zip from http://www.ti.com/tool/z-stack. Every time I tried to download the file it said the file was not available for download. I noticed the current version is 2.5 and figured that it may be obsolete. I was able to download the ZStack-CC2530-2.5. I did see a ZNP hex file in \Projects\zstack\ZPN\CC253x\bin\ directory called CC2530ZNP-SB.hex. Is this the correct file to program the CC2530EMK with if I want to control it from a MSP430 through SPI?

 Another question I have is if I can program the CC2530EMK with either the MSP-EXP430F5529 or the MSP-EXP430FR5739? If so do I use the SmartRF FLASH Programmer swrc044m.zip or is there a document on how to do this? If not what would be a good low cost method of doing this?

  • No, CC2530ZNP-SB.hex is not a ZIgBee ZNP hex file, it is the serial bootloader that is used when building ZigBee ZNP images. ZigBee ZNP hex files are included in the ZStack-ZAP-MSP430-1.0.4 (swrc173.zip) that you attempted to download. I just downloaded it successfully, please give it another try.

    I don't have any experience with the MSP products that you list but would not expect them to be able to program the CC2530EMK. Have a look at the CC-Debugger - I think it can be considered "low cost" at USD $49. It works with SmartRF Flash Programmer.

  • It is strange. I can download swrc126.zip, swrc128.zip, and swrc130.zip. I can't download swrc214.zip or swrc173.zip. I do not need to download the 214. I was just testing all the links. The download for 173 is rev C. I get the login screen and click login on for all of them. The ones I get are quick to start downloading after I click the save button on the Save As dialog. The two that don't, pause for about 20 seconds and then give me the option to save. The default name that is in the Save As dialog is swrc173c_zip. The ones that I could download had a "." instead of a "_". I did change the "_" to a "." before saving on the ones that failed. I am running IE9 on 32bit Windows 7. Patching is current. I tried in both compatibility mode and without in IE.

     

    As for the CC Debugger suggestion. Thanks, I looked at the image on the page before and had only seen the box connected between the ribbon and USB cable. Upon looking at the document I see the converter board. This will work for me.

  • Interesting -- I see swrc173c.zip in the File Download dialog. This is with IE7 on 32bit Windows XP SP3. A colleague just tried IE8 on a 64-bit Windows 7 machine with identical results. Perhaps an IE9 issue? If possible, can you try using another machine with older IE and/or older OS?

  • Yes, I was able to download it on my laptop with XP and IE8. I would guess there is something on the page in the code between the swrc130.zip and swrc214.zip "Download & Registers" buttons that IE9 does not like. Thank you, I had forgotten about my laptop. :)

  • Ok, I ordered two CC-Debuggers so I could use them with SmartRF Studio. They just arrived and they did not have the adaptor board in them to connect the CC2530EM to the CC-Debugger. They had some other adapter in the box that looked like it was for a smaller connector. I do not see a way to connect it to my CC2530EM.

    I have seen something called the SOC-BB - Battery Board for System-on-Chips. Is this required to connect the CC-Debugger to my CC2530EM to use it? I see CC2500 mentioned on the Battery Board description but not the CC2530. All I want to do is program the chip and use it with SmartRF Studio. If this board is the one, when I check the site and is says it is out of stock. Are these going to be out of stock long? What do I need to do to use my CC2530EM?

  • Hi Mike,

     

    CC-debugger isn't distributed with connector for programming cc25xx Evaluation Modules (EM),

    thus, it is a nice thing to have at least on of the auxiliary boards like; SoC-BB or SmartRF05BB/EB.

    With these boards one can gain an easy access for programming and/or debugging its EM,

    however having these auxiliary boards isn't a must.

    You can bypass additional boards by doing manual interconnections between CC-Debugger

    and the EM. I admit, it isn't pretty in case you have no appropriate connectors to mount on the EM,

    but, it works and of course it can save you money and a delivery waiting time.

    For more information on how to do such thing, please refer to cc-debugger User's guide,

    section 6.2.1. If you have any doubts or additional questions, don't hesitate to ask.

    Hope this information helps you.

     

    Br,

    Igor

  • Thank you for the reference in the document. Yes, that minimum connection will work. 

    I have looked for the SmartRF05BB in the TI store, but I can't seem to find it. Is it sold standalone, or can you only buy it as a component of another kit?

  • I think it comes only as a part of CC2530ZDK, I'm not completely sure though.

    By the way, smartRF05EB will also do the trick. You can purchase two of these

    boards as a CC2530EK.

     

    Br,

    Igor