Thanks don,
I was actually trying some things with regards to your latest thread when I stumbled across this.
You have a good point. However, I don't think different pointers will make any difference in this case. Here's the reason(s) for my statement.
1) I have a Pause 500 after enabling the interrupt, that's more than enough to send the string out. This means that TXPointer is free to use when "test 4" begins.
2) If that was the case then the size of the array wouldn't matter. Note that I'm not changing the amount of data actually written to the array, I just change the declared size of it. 50 works, 100 doesn't.
3) When test 5 is executed it shows that the actuall content of the array is changed. I forgot to mention this is in first post but I initially used another pointer variable (not TXPointer) in Test5 and it gave the same result as when using TXPointer - ie, it shows that the array is corrupted.
/Henrik.
Bookmarks