We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I'm trying to fill an array in xdata with zeros as follows:
unsigned char n; //Index to scan the array unsigned char xdata bt[100]; //The array to fill
for(n=0;n<100;n++){ bt[n]=0; }
But when the array size is bigger than 38 elements the MCU hangs. Does anybody know the reason why this happens?
It is possible to create longer messages on this forum - and notice it's a forum and not a blog.
The issue is that there have been lots of spam issues. And for some reason, the word w_a_t_c_h_d_o_g just happens to trig their spam filter, giving you the error messages you are seeing. Or you might have accidentally found some other trigger word.
I think this was one of several threads where I did try to warn about the w-dog issues but wasn't allowed to post.