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.

Question about the IEEE address of CC2530

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

Hi folks,

I want to change the IEEE address of CC2530EM. I use the flash programmer to change the secondary address ( It seems that the customer can't see and change the primary address). However, the zigbee2006 and application, which I download to the CC2530EM, don't use the IEEE address that I set, because the variable of "extendedaddr" is always equal to a non-FFFFFFFF permanent value. 

Can someone explain this or refer the relevant document/Link to me? thanks a lot.

yours,

John

 

 

  • Hi,
    I guess there are different reasons for incorrect IEEE address obtaining:
    1. the “Retain IEEE address when reprogramming the chip” checkbox  is not checked (should be checked)
    2.  zigbee2006 doesn’t support cc2530, the IEEE addresses for cc2430 and cc2530 are different (and not only IEEE adress). For cc2430 it stored in last 8 bytes of bank 1 (banks starts from 0). For cc2530 it started from 0x7FFF-0x18 in 7 bank (banks starts from 0).
    …..

  • John,

    The "primary" IEEE MAC address (a 64-bit Extended Unique Identifier address -- or EUI-64 in short) is a chip-unique TI registered IEEE address that is programmed into the chip's flash information page in production test. The flash information page is read-only memory, so you will not be able to change it. The idea is that users/small customers that do not have their own range of manufacturer-registered IEEE address range (i.e. not have registered their own Origanizational Unique Identifier (OUI) -- which costs money) can use the one provided from TI in their product.

    But in case a customer has its own IEEE address range and wants to use that one instead (e.g. as part of stronger branding of their product, or similar), they can put their own IEEE address at the "secondary" location, which is almost at the end of the last flash page (right before the last 16 bytes on the last flash page of CC253x which are reserved for flash page write lock bits). This area for secondary address location is just regular flash, and is readable/writable, so the IEEE address can be programmed to this fixed address as part of the firmware image in production programming.

    If using Z-stack for CC2530, you can configure whether you want to use the chip's IEEE address from information page, or set one yourself, which then should be programmed to the secondary location in normal flash.

  • Hi

    I use ZStack-CC2530-2.2.0-1.3.0.

    Thanks esy for explain the difference of the primary address and the secondary address.  Our product really needs an own IEEE address. That is the reason I try to use the secondary address.

    Can someone tell me how to set the configure in the zstack or somewhere, in order that my own application uses the secondary address instead of the primary address.

    thanks.

    John

  • Hello esy,

    Unfortunately I was able to change the primary IEEE address as I seem to have erased it. I am working with a CC2531DK USB dongle in which the primary address in the read-only information page now reads as FF FF FF FF FF FF FF FF. In the CC2531DK I've implemented a SimpliciTI network with several CC2530 ED's and all use the 4 LSB's of the primary IEEE address as their network address.

    However, as I mentioned before I accidentally erased the address in the CC2531DK. I don't know how it happend, but it did. Fortunately I've written the address down before it got erased so I would like to re-program it. Can you tell me of a way to do this?

    Ad

  • Hi Ad.

    It seems that your CC2531 USB dongle was from a preliminary batch, containing a pre-RTM CC2531 chip which hadn't been preprogrammed with any IEEE address in the flash info page (i.e. it was FF FF FF FF FF FF FF FF when you got it). Since the info page is read-only, it's not possible to re-program another address into it, though. Such a preliminary dongle can still be used for software development, but you would have to use the secondary location (i.e. normal flash) for storing the IEEE address for the device.

    I hope this answers your question :-)