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.
I have debugged a programm. It seems to go wrong after I remove some blank rows or some comments, which I think is really weired.
Not all the things went wrong, just some state of the system did. pecificly speaking, I am observing the error rate of 4fsk demodulation process written in the dsp. And it seems alright before I remove some blanks or comments in the demodulation function. After I remove some, the error rate uprises which I think is abnormal.
And this abmormal phenomenon seem to appear when I first turn the power on. If the abnormal phenomenon appears, I reload the programm into ram for a few times, it seems to restore to the right state, in which the error rate is back to normal.
what is wrong with my prgramm? Is there someting wrong with initializtion? I mean there is some variable I haven't initialized. Or other problem?
Thanks for answering. I just want to make some complementation.
I did'nt remove any useful code, just some blank lines or comments.
And the programm is given to me by a Japanese while I am a Chinese. But the comments are all English and there is no Japanese or Chinese charactor in the programm, at least I can't see any with my eye.The operation system is not same. Is it possible that there is something wrong with different systems? probably encoding problem?
And there is already some code in the ROM outside the dsp, which runs after powering up or reset and I can't prevent this happening. Is there any problem with this?