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.

Look up table getting corrupted

Other Parts Discussed in Thread: MSP430F135, MSP430F1101A

Hi all
My design is a simple communication system with tx and Rx. I am transmitting data based on the key pressed on the remote. I have designed a look up table from which it picks up information based on th key pressed and transmits. On the receiving end, the same logic is being applied. M using MSP430F1101A for TX and MSP430F135 for RX.
The problem is that the system seems to be working fine most of the times but sometimes the output is random. I have to reset the system and start all over again for it to function normally. I feel that information in the look up table seems to be getting corrupted. And when i reset the system the correct information is being written back again. Thee application is very critical and cannot afford to malfunction so randomly.
PLease suggest on wht may be the exact problem and if possible some correction measures.

Help would be obliged

Regards

  • You really give us a lot of information, do you?

    Two possible solutions:

    1. If it is not necessary to create the look up table on the fly during program execution, you could put it into flash (declare as constant). Then it would not be possible to corrupt it (at least not so easily).

    2. If it is located in RAM and is corrupted, then you either overwrite the table yourself (by using wrong index while accessing other arrays/tables) or it is overwritten by the stack. So one of the first things to try would perhaps be to increase stack size.

     

    BR,

    Jörg.

     

     

**Attention** This is a public forum