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.

RTOS/CC1310: Problems faced in sensor-collector example using ti15.4 stack in CC1310

Part Number: CC1310

Tool/software: TI-RTOS

Hello,

       We are facing some problems while we are running the sensor-collector example those are,

We programmed sensor example in one CC1310 launchPad and collector example in another CC1310 LaunchPad, it's working fine(i.e sensor is giving temp. values and we can monitor in collector side). But the problem is 

1. When we re-program the sensor code in sensor LaunchPad, Collector is not getting updated with sensor temp. values and it shows "!not responding".but the sensor getting joined into network and it keeps posting values to collector.

NOTE : We Observed that  Sensor Launch Pad does not have network information when we reprogram but the collector has restored the network information. So,There will be mismatch 

2. And also when we re-program collector code in collector LaunchPad, Collector does not have any information about sensor joins and it's not updating sensor values. but sensor keeps sending sensor information.

    So, Can you please tell us How to avoid these problems? Is it mandatory to program sensor and collector both every time? 

Regards,

Harsha

  • Hi,
    Every time that the devices are re-programmed their NVmemory gets erased therefore the device that was reprogrammed doesn't have any records of the other device which will cause problems.
    Something that you can do is after you flash one of the devices then you do a factory reset on the other device. To do a factory reset on a device hold BTN-2 on the launchpad and then reset the device, after reset you can release the button and the device should be factory reset.
  • Hi,

        Thanks for the response. In our application sensors will be in the field, so it's not possible to press BTN 2 . So Is there any other alternative solution for this?

    and One more problem we are facing is, We are running sensor-collector application it's running fine but In middle we are powering OFF collector and powering ON again. So Does the network reform again without doing anything? or Do we need to reset the sensor again? Is there any possible way without resetting sensor?

    Regards,

    Harsha

  • If you dont want to override the NV on the collector you could make an image that does not include the last 2 pages of flash which will not override the NV as long as you do not erase all the flash befor downloading the image to the device.

    If you power cycle the collector the network should re form automatically the only thing is that the default timeout for a sensor to rejoin is 5 minutes so the sensors wont try to rejoin until 5 minutes later. To fix this you can change the value of CONFIG_ORPHAN_BACKOFF_INTERVAL