阅读:744回复:1
Frank_wang:你也在做89c51snd吗?有qq号没,我想和你交流一下!!!!!
Frank_wang:
你也在做89c51snd吗?有qq号没,我想和你交流一下!!!!! 我现在是在写的时候出现了这种情况。在写入时会莫名奇妙的增加64或128字节的0xff,代码如下(端点2out): for(R_count=0;R_count<511;) { while(!(UEPSTAX&0x02)); total=UBYCTX; for(d_count=0;d_count<total;d_count++) { Read_data[R_count]=UEPDATX; R_count++; } CLEAR_BIT_1(UEPSTAX); while(!(UEPSTAX&0x40)); total=UBYCTX; for(d_count=0;d_count<total;d_count++) { Read_data[R_count]=UEPDATX; R_count++; } CLEAR_BIT_6(UEPSTAX); } |
|
沙发#
发布于:2004-12-27 10:18
有dX在吗?wang?
|
|