I would really appreciate another pair of eyes on this...
This code:
gives me weird output shown bellow on 2 identical MEGA64A boards with 5.04.73:
When I comment first WriteLn the output is as expected, so I do not suspect hardware. The minimal test project is attached.
This code:
Code
WriteLn(SerOut2, 'STARTED...');
loop
Toggle(SysLed);
mDelay(500);
WriteLn(SerOut2, 'ABCDEF'); // when I comment this line everything is as expected
WriteLn(SerOut2, 'MyNumber=1234567890');
endloop;
loop
Toggle(SysLed);
mDelay(500);
WriteLn(SerOut2, 'ABCDEF'); // when I comment this line everything is as expected
WriteLn(SerOut2, 'MyNumber=1234567890');
endloop;
gives me weird output shown bellow on 2 identical MEGA64A boards with 5.04.73:
Code
STARTED...
ABCDEF
4567890
67890
er=123ABCDEF
MyNumber=1234567890
ABCDEF
MyNumber=1234567890
rABCDEF
12390
ABCDEF
Number=1234567890
123ABCDEF
mber=1234567890
34567ABCDEF
er=1234567890
567890
ABCDEF
r=1234567890
67890
eABCDEF
1234567890
7890
ber=ABCDEF
1234567890
67890
er=ABCDEF
34567890
67890
er=12ABCDEF
4567890
67890
er=123ABCDEF
MyNumber=1234567890
ABCDEF
MyNumber=1234567890
rABCDEF
yNumber=1234567890
=1ABCDEF
umber=1234567890
2345ABCDEF
mber=1234567890
34567ABCDEF
er=1234567890
567890
ABCDEF
MyNumber=1234567890
ABCDEF
=1234567890
67890
er
ABCDEF
4567890
67890
er=123ABCDEF
MyNumber=1234567890
ABCDEF
MyNumber=1234567890
rABCDEF
12390
ABCDEF
Number=1234567890
123ABCDEF
mber=1234567890
34567ABCDEF
er=1234567890
567890
ABCDEF
r=1234567890
67890
eABCDEF
1234567890
7890
ber=ABCDEF
1234567890
67890
er=ABCDEF
34567890
67890
er=12ABCDEF
4567890
67890
er=123ABCDEF
MyNumber=1234567890
ABCDEF
MyNumber=1234567890
rABCDEF
yNumber=1234567890
=1ABCDEF
umber=1234567890
2345ABCDEF
mber=1234567890
34567ABCDEF
er=1234567890
567890
ABCDEF
MyNumber=1234567890
ABCDEF
=1234567890
67890
er
When I comment first WriteLn the output is as expected, so I do not suspect hardware. The minimal test project is attached.
Attachments
Filename: | Test.zip |
Filesize: | 3.74 KB |
Title: | |
Download counter: | 29 |