Closed GoogleCodeExporter closed 9 years ago
This seems to work fine on the current SVN version.
Will recheck on SRV-1.
Original comment by zik.sale...@gmail.com
on 4 Oct 2009 at 2:42
Thanks for looking into this.
Another test result:
Perhaps there is a memory usage problem: one thing stepping on another?
CC##Xmodem success. Count: 768
void PDQ(int v, int d, int h)
{
printf("%d, %d, %d\r\n", v, d, h);
}
int u;
PDQ(0, 0, 0x0);
u=15;
PDQ(u, 15, 0x0F);
PDQ(u+1, 16, 0x10);
u=u*2+1;
PDQ(u, 31, 0x1F);
PDQ(u+1, 32, 0x20);
u=16*16-1;
PDQ(u, 255, 0xFF);
PDQ(u+1, 256, 0x100);
u=u*2+1;
PDQ(u, 511, 0x1FF);
PDQ(u+1, 512, 0x200);
u=16*16*16-1;
PDQ(u, 4095, 0xFFF);
PDQ(u+1, 4096, 0x1000);
u=u*2+1;
PDQ(u, 8191, 0x1FFF);
PDQ(u+1, 8192, 0x2000);
u=u*2+1;
PDQ(u, 16383, 0x3FFF);
PDQ(u+1, 16384, 0x4000);
u=u*2+1;
PDQ(u, 32767, 0x7FFF);
PDQ(u+1, 32768, 0x8000);
u=u*2+1;
PDQ(u, 65535, 0xFFFF);
PDQ(u+1, 65536, 0x10000);
exit();
=====================
0, 0, 0
15, 15, 15
16, 16, 16
31, 31, 31
32, 32, 32
255, 255, 255
256, 2556160, 2556160
511, 2556415, 2556415
^
JáÀ
á2S•'á2: 'ÿ÷ÿïÿÿÿÿÿÿÿÿ¿ûÿÿÿÿÿÿþÿ?ýïÿßÿÿßÿÿÿ÷ÿÿÿÿÿÿÿþ÷ÿÿÿ¿ÿÿÿïÿÿûÿÿß
ÿûÿÿÿÿÿûýÿ½ïÿÿþÿÿÿÿÿþÿÿÿÿßÿÿÿÿÿÿÿÿÿÿý¿ÿÿ
ÿ¿ÿÿ~ßÿÿÿÿÿÿÿ÷û¿û÷Ëÿÿÿûÿßþÿÿÿßÿßÿÿûÿ÷ÿÿÿ
ÿÿÿýßÿÿÿÿþýÿÿÿÿÿÿÿÿÿÿÿ¯ÿÿÿëÿÿÿûÿßÿÿÿÿÿÿÿ
ÿÿÿßÿÿÿÿÿßûýÿÿÿÿÿÿÿïÿÿÿÿýýÿÿÿÿÿÿÿwÿÿÿÿÿï
ßÿÿÿÿÿÿÿÿßÿÿýÿÿÿÿÿÿÿß÷ÿÿÿÿÿÿÿÿÿÿ÷ÿýÿÿÿßÿ
ÿÿÿÿÿÿû÷ßÿÿÿûÿÿÿ¿wÿÿÿÿÿÿ÷ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ
ÿßÿÿÿÿÿýÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿßÿ÷ýÿÿß¿ÿÿÿÿÿÿÿÿÿ
ÿÿÿÿÿþÿïïÿ_ýÿßÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ¿ÿÿ
ÿÿÿÿÿÿÿÿÿÿÿßÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿþÿÿÿÿÿÿÿÿ»ÿÿÿ
¿ÿ÷ÿ÷ûÿßßÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ÷ÿïÿÿÿÿÿÿÿÿÿ
¿ÿþÿþÿÿÿÿÿÿ?ýïÿßÿÿÿßÿÿÿ÷ÿÿÿÿÿÿÿþÿÿÿÿ¿ÿÿÿ�
�ÿÿûÿÿÿ{ÿÿÿÿÿÿÿýïÿÿÿþÿÿÿÿÿþÿÿÿÿßÿÿÿÿÿÿÿÿ
ÿÿÿý¿ÿÿÿ¿ÿÿÿÿÿÿÿÿÿÿû÷Ûÿÿýÿ÷ûÿßÿÿ÷ßÿßÿÿÿÿ
ÿÿÿÿÿÿÿýÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿïÿÿÿëÿÿÿÿ}û÷ÿÿßÿ
ÿÿÿÿÿÿÿÿÿÿßÿÿÿÿÿýÿ÷ÿÿÿÿÿÿÿÿïýÿÿÿÿÿÿïwÿÿÿ�
�ÿÿÿÿÿ¿ÿÿÿÿ is undefined
leaving picoC
Original comment by rcurt...@nwlink.com
on 4 Oct 2009 at 10:45
Hi, Howard has recent found a problem with the memcpy() function on the SRV-1.
Updating to his new memcpy() may solve your memory corruption problem. I'd be
interested to know if you have any success with this.
Original comment by zik.sale...@gmail.com
on 30 Oct 2009 at 7:48
Calling this one closed unless I hear otherwise.
Original comment by zik.sale...@gmail.com
on 1 Nov 2009 at 4:35
Original issue reported on code.google.com by
rcurt...@nwlink.com
on 4 Oct 2009 at 9:05