Hi,
We have a cc2530 module connected to our application processor over spi. We have followed the SPI default configuration for cc2530ZNP.
How do we flash cc2530 with the ZNP hex over SPI?
Thanks,
Arun
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.
Hi Arun,
For that, you will need the CC2530ZNP bootloader loaded onto the CC2530 first:
Texas Instruments\ZStack-CC2530-2.4.0-1.4.0\Projects\zstack\Utilities\BootLoad\CC2530ZNP
This bootloader can be loaded onto the device using the debug interface and a programmer like the CCDebugger, for example.
Peder
Arun,
You can also find more info here: http://processors.wiki.ti.com/index.php/CC253x_Serial_Boot_Loader
-Jonas
hi , why i am according to the CC253x_Serial_Boot_Loader.pdf ,but can't see the result? May you tell me how to work it out. if you have free time ,you can wirte it to my email.
my email is 1294857072@qq.com
Hi Tomas,
Which interface do you use when you try SBL? SPI or UART? I have no problem using it with UART. If you want to adopt it using SPI interface, you need to modify the SBL source code by yourself.
I use UART interface, IAR810, S - TACK is 2.51. I don't know what the reason is, I use SBDemo. Exe tool burn write entered, but see no effect, will you Chinese? If can of words, whether can add my QQ screenshots, I give you see, my QQ is 1294857072, thank you
Serially boot the new Application Image
Do you follow step 3 (Power on the SmartRF05 with S1 (button 1) pressed)? and See "LED1 should be flashing indicating that the bootloader is ready to accept an image" in Step 4?
I don't press S1,but I can see led1 flash . I don't find "GenericApp ver 1" . I try it again .You use QQ? I want to and you direct communication, QQ screenshots can be.
Sorry, I do not use QQ. Why don't you press S1? If you do not press it, the SBL does not start to take command.
Thank you, I have realized, it is need to press the S1 or S2, I saw in your code, it has been waiting for know keys pressed into the application layer code. Now have a question is, is not to write code in the FLASH? How a reset of the original program didn't. Can you explain? Thanks a lot.
Hi Tomas,
I do not understand what your current problem or question. Please specify it.
I mean now, though I can see the LCD on the version number of information, but when I press the reset button, the results did not keep running, excuse me this is not stored in the flash? How can disappear? Thanks a lot.
hi ,friend .can you help me ? Don't you meet this kind of phenomenon? Your application can be saved?
Hi Tomas,
Before you do the SBL update, the version shown on LCD is version 0. It will show version 1 after you do the update. So, you have seen version 1 on the LCD which means the update is success. What do you mean the results did not keep running?
I mean when I restart board, it was found that the LCD no information display, which is also the original burn write program doesn't save.
LCD has show "GenericApp ver 0", but when reset the board , the GenericApp ver 0 is disapperar.
Yes, I see, the problem is when I download this mirror after, if I reset the board before, feel the Application Code Image is not? Only the bootloader, don't application code mirror not stored in the flash?
Friends, this is really thank you, my problem solved. Excuse me, are you Chinese? See your name is like, is in the work?
Nice to hear that your problem is solved. Could you let us know how your problem is solved? Some guys might have the same problem with you and your reply will be helpful to others. Yes, I am Chinese.
Now you are in the work? Because I board not TI, then I changed the pin definition, after the restart long press S1 key directly into the application code area, start didn't press, I thought I didn't burn write into the flash. You are mainly engaged in what?
Yes, I am at work and doing Zigbee/ZWave related product, embedded system design, and security/home automation server solution.
can you speak chinese? I am same to you. which city are you working? I am in beijing
You need to build your own FW for CC2530 or CC2531 and download it to your HW then ZOAD.exe can detect it. The source code is under \Projects\zstack\Utilities\OAD
Mr Yang, did you use CC2530 ir decoding? I met a problem, the high and low level of time is always different and ideal.