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: CC2530 security configurations

Part Number: CC2530
Other Parts Discussed in Thread: Z-STACK

My customer is using CC2530 without security, they are considering to upgrade to a firmware with security enabled but still want to keep it compatible with their old devices, so they will probably need two firmwards in the memory and choose which one to use at startup. They have some questions about the implementation:

1. Is it possible to switch between a secured and unsecured software by receiving some input from UART? For example, the device receives a UART command while running to change the security setting, then it quits from the network, restarts, and joins again with secure or unsecure setting. Is there a way to achieve this?

2. Is it possible to store two firmwards in the flash(internal or external), and choose a firmware to start from at the startup according to GPIO input? Where can I find the guide to create a bootloader like this?

3. Where can I find the guide for serial bootloader for CC2530?

Best regards,

Shuyang

  • Hi Shuyang,

    1. It is not possible to switch between secured and unsecured Z-Stack implementations during run-time, these would have to be configured and built separately.  It would still be possible to update the Z-Stack code without modifying the NV memory and thus retaining the prior network settings.

    2. The largest memory footprint on the CC2530 device is 256 kB which is too small to store two Zigbee images, thus the second image would have to be stored on an external flash device.  Since only one image can exist on the device at a time, the bootloader would have to compare the existing on-board image against the desired version and, if an update is required, choose the correct image to store internally between the two versions stored on external flash.

    3. The existing flash bootloader solution is explained in <Z-Stack directory>/Documents/CC2530/Serial Boot Loader for CC2530.pdf

    Regards,
    Ryan