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.

cc2530 & ZOAD

Other Parts Discussed in Thread: CC2530, Z-STACK, CC2531

hi,

i use z-stack-cc2530--2.2.0-1.3.0, and im following the document "Over Air Download for CC2530.pdf". but there are some subjects referenced in the document can't 

be found in z-stack. 

1. BOOT code . the document(Section 9.1) said " $INSTALL_DIR$\Projects\zstack\Utilities\OAD\CC2530DB\Boot.eww", but none.

2. oad_app.c, oad_app.h . Section 10.3.1 said " $INSTALL_DIR$\Projects\zstack\Utilities\OAD\Source", but none

 

any help will be very appreciate.

 

regards

  • Hello Yan,

    I would strongly recommend downloading the latest version of Z-Stack for the CC2530.  You should find these files are now there :  )

    Cheers,

    Yoda

  • Thanks, Yoda

    i found the files in the z-stack 2.2.2-1.3.0.  And i follow the document "Over Air Download for CC2530", 

    I download the compiled file and connectted to  the SmartRF04,  but when i open the ZOAD.exe, it said that"No host devices aviliable".

     

    Is there some file must download to the SmartRF04?

    Any reply will be appreciate.

     

    thanks

  • Hello again,

    if you are using the CC2530, do you not have any SmartRF05 boards?  Some things to initially check

    - do you have a serical connection to the PC?

    - does the above connection use a port number that is less than 10?

    Normally for the CC2530 you would use SmartRF05ebs and included in Z-Stack is the project to create a dongle to connect to the PC Program.

    Cheers,
    Yoda

  • hi ,

    i  don't know clearly about why i must make a serical connection to PC. My PC make a connection to the 

    CC2530 with JTAG, and it could download program well.

    i've followed the "Over Air Download with CC2530" document to compile BOOT, and download to the CC2530 successfully.

    the i follow the sample change the GenericApp's options, and compiled successfully, then downloaded to the cc2530.

    then i open "ZOAD.exe", it said that "no host devices available".

    could help me with it ?

     

    thanks 

    liu

  •  I had same problem. I misunderstood between Serial port and USB. It means that after downloading program to SRF05EB, unplug USB port and then plug Serial port(normally 9 pins). In other words, you must use a serial cable instead of USB cable.

    Anyway, even though I succeed until running ZOAD.exe, but ZOAD doesn't show anything in network list. Is there anything that I missed?

  • Do I understand it correctly when I say:

    - my devices need to be programmed with the "boot.eww" project

    - the "programmer" (the device that is connected to my PC) must be programmed with "dongle.eww"

    ?

     

     

     

    is it recommended to make the Coordinator also a Dongle?

  • Hello Folks,

    The dongle device must be programmed with the dongle project,   'dongle.eww'

    This is normal programming.   Once programmed, for use as a dongle you need a serial connection.  THings to check

    - are there serial port confilicts

    - is the serial port number less than 10

    - remove virtual BT com ports

    I hope this helps.

    Cheers,

    Yoda

  • Hi everybody.

    We are after to use the cc2531 and the ZOAD to make a OAD actualization of our devices firmware (cc2530). So the serial port connection is not valid for us. We want to use the a virtual port connection as the same way we use the cc2531 to send commands.

    Any suggestion or strategy to accomplish this will be welcomed.

    We are just starting this task and can compile and program the devices with the zoad example as described in SWRA257. 

    Thanks.

  • Hi again,

    I would like to share our advances with ZOAD. We now can connect to the SmartRf5 via serial port. The problem was that the laptops we use have serial connection but it is no usable for this application. So be aware of this if you have the same problem.

    Now we are able to run ZOAD in our desktops, download the image, upgrade the firmware and restart the device, using Genericapp example (zstack 2.3.0, cc2530). The download took 8 minutes. I do not know if we established a record or not ;b

    Now we are trying to do the same with our own app. ZOAD finds correctly the PANID but when we are scanning for devices, we receive an error in the LCD "assoc cnf fail EA". It finds the coordinator but when we try to send a new image the ZOAD displays "this device is not OAD enable".

    Has this something to do with binding the devices?

    BR

  • With respect to the serial port connection, have you verified that switch P14on SRF05EB is set correctly.

    Do have your OAD working now? It is possible to verify that your serial communication is working out of the box first GenericApp with Z-Tool before you add OAD.

    Have you tried this? 

    Z-Tool can be found in the following default installation folder of Z-Stack. 

    [C:\Texas Instruments\ZStack-CC2530-2.3.1-1.4.0\Tools\Z-Tool]

    LPRF Rocks the World

  • Thanks LPRF,

    We started with Zstack in May2010 and can manage all the tools from Texas (Sniffer, programmer, Z-tool, ZOAD, Boot, etc). Also we have our own application in a selfmade device and we use ZNP and MT to command it from our own PC software.

    The last two things we need to implement in our system are: security and OAD. We will use OAD to upgrade the firmwares.

    OAD is working out perfect using the genericapp with the SRF05EB and two battery boards. So the serial connection is ok. The problem is that when we add OAD code to our applications, the SmartRf5 finds correctly the PANID, but when we are scanning for devices, we receive an error in the LCD "assoc cnf fail EA". The dongle finds the coordinator but when we try to send a new image the ZOAD displays "this device is not OAD enable".

    Any clue about why the dongle can't associate with our devices? In the example with the Genericapp the devices have to be bounded, has this something to do with our problem?

    BR.

    Patxi.

  •  

    Hello everybody,

    We still can't use OAD in our app. We are able in genericapp but not in our app. What we do is to load our app with the OAD modifications as in the expample, but the dongle sometimes finds the ZC and ZR and sometimes not.

    When it finds ZC we try to download the new image but ZOAD displays "this device is not OAD enable". Someone can tell us what is checking ZOAD at this point? This way we  colud track the problem. 

    This is the only obstacle to launch our System to the market and we fell quite desesperate. Some help will be appreciated.

    BR

  • Hello again,

    Guess?

    Still messing with the OAD and the cc2530. ¿Some one have been able to make this work in a custom application?

    We can now send OAD samplelightApp but not to a CC2530BB, ZOAD gives us a "time out error", but to our selfmade Board. How can the same project work in our board but not in TI´s Battery Boards? Any clue?

    This are the reuslts with OAD in different projects we tried:

    OAD Project CC2530 board Our Board

    GenericApp ok ok

    Samplelight no ok Error: ZOAD ->Time OUT

    OUR App no no Error: the app doesnt start. Something sohuld be wrong within the boot?


    About OUR App: it is based in SampleLight and we added this compile Options:

     

    xZTOOL_P1

    ZCL_REPORT

    MT_ZDO_MGMT

    NV_INIT

    NV_RESTORE

    HAL_BUSSPI=TRUE

    HAL_MCP_SPI=TRUE

    ASSERT_RESET

     

    So, two questions:

    1.  How can the same project work in our board but not in TI´s Battery Boards?
    2. What could make to fail the OAD in a Salmpleligth based project when in the original samplelight project works the OAD?

    Any help will be very appreciated and rewarded with a BIG HUG.

    BR

  • Hi Patxi,

    Actually I think I have been helping a colleague of yours over the last couple weeks already.

    I will put here the list of things to check:

    1) Memory - both that there is enough memory (both the original and new image plus the boot code must be stored) and that the interface to the external memory typically needed is working properly.

    2)  I will write it here in case (if you have the generic app working then I believe you know how to do this) ... but just in case.  You must first load the boot.eww project onto your OAD capable device.  Then, using retained unchanged memory (basically not overwritting the boot code), you then load you application.   This creates an OAD capable device.

    The second step is to build the image to send (ie the update you wish to send out).  In the case of the image you send out over the air you need to do two things.  First is to compile the project without the boot code (it will already be on the OAD capable device you send the image to) and the second thing is to change the vrsion number in oad_pramble.h.   This lets the boot code know it is a different image.

    3) On the dongle, MT functions are fine.  However on remote OAD capable devices, I would not recommend using the MT compile option.

    Please check the above and feel free to keep us informed (either here or via your colleague who is in contact with me).

    Cheers,
    Lisa

  • hi yan ,

                    Now I have the same problem ,and I have conect the PC with the serical  port(232).

                    but  it still said that "no host devices available".

                    Have you solved the problem?

    any help will be very appreciate.

      thanks

    Pan

  • Li Pan and all:

    You should upgrade your Z-Stack version that you are using.

    We have this project in Z-Stack 2.4.0. This project can be found at the following default installation folder:
    [C:\Texas Instruments\ZStack-CC2530-2.4.0-1.4.0\Projects\zstack\Utilities\OAD\CC2530DB]

    Enjoy,
    LPRF Rocks the World