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.

Simpliciti based project (using CCS) suddenly does not work

Hello,

I've being working on a Simpliciti based project (using CCS) with the CC430 and suddenly it does not work anymore.

I have couple EDs (end devices) that are exchanging information with the AP (access Point). It was working well.

Couple of days ago, I rebuilt the same exact AP and ED projects and loaded the codes (using CCS debug) and suddenly the EDs are not able to receive any information from the AP. The AP is getting the correct information from the EDs but the EDs are not receiving anything from the AP. Moreover, after the AP receive data from an ED, it won't detect additional EDs that are trying join the network (it was working in the past).

I have backups of all the directories of the codes that used to work. I Loaded the AP and the EDs using the MPS430 Flasher with the .txt file from the appropriate backups directories and all EDs and AP are communicating well (which means that the H/W board are fine).

I have no clue of what have changed. Maybe something have changed in the environment. I know I plugged a different TI development board to a USB port on my PC (and a driver was installed automatically) a day before I found this issue. I also installed the Spectrum Analyzer GUI and device drivers before I realized I have a problem.

I un-installed the CCS and installed the latest one (5.5.0) and it didn't solve the issue.

I installed the same original CCS (5.4.0) on a different PC and it's still failing.

I compared the .txt files that the second PC generated with the .txt file of my backup. The .txt for the AP is identical but the .txt file for the ED is different.

What could be the reason?

Thanks for helping.

  • Blanke said:
    What could be the reason?

    There are many possible reason why it doesn't work anymore. Starting with hardware failure and not ending with an unnoticed 'update' somewhere (an external library, not part of CCS) that breaks the project.

    But it can be also something totally unrelated. maybe your neighbor has bought a new baby phone which is simply flooding the RF channel so your devices cannot communicate anymore.

    TI offers a nice RF scanner which can show you usage of frequencies on screen. (There's also an open source project that utilizes a DVBT-receiver for the same purpose, but faster and more precisely and in a wider frequency range. Look for HDSDR in Google).

    Blanke said:
    the .txt file for the ED is different.

    This cold of course be the problem too. Why is it different? And maybe the AP requires the same change to make it work again?

  • Blanke,

    it think this should be able to help

    http://processors.wiki.ti.com/index.php/SimpliciTI_FAQ#Debugging_RF_Connection

    You can try to first debugging by putting breakpoint in Mrfi_SyncPinRxIsr() to see whether the RF module receives at all the packet.

  • Thanks Michael for your reply.

     I think I solved the problem. It seems that I had a corruption in my project (not in my code).

     

    I just rebuilt my project from scratch - same way as I did a few month ago, but this time I used the backup of my code so it wasn't too had.

    Thanks for helping!

     

  • Leo, 

    I think I solved the problem. It seems that I had a corruption in my project (not in my code).

    I just rebuilt my project from scratch - same way as I did a few month ago, but this time I used the backup of my code so it wasn't too had.

    Thanks for the link you sent, it could be very useful for me as I'm facing some connectivity issue at certain settings.

    Thanks for helping!

  • Blanke,

    i would advise you to use revision control system for this (SVN, git). It will help you a lot in these kind of problems to be able to revert quickly to the last working state.

**Attention** This is a public forum