I have de C51 v4.0. My program implements a uart interrupt (CON1). If in come data stream is 600 bytes, to the Uart, it loss 88 bytes, only de firts 512 bytes are detected; but if then arrived other 600 bytes, it loss another 88 bytes but capture 1024 bytes in total(firts 512b + last 512b). I am using a DS80C320 microcontroller, C51 conpiler (directives OPTIMIZE (6),OBJECTEXTEND) an L51 linker (no directives). is't a limit in uart?.
"is't a limit in uart?" Certainly not! It must be the way you buffer (or fail to buffer) the data. I use the interrupt-driven circular-buffered scheme show in the Keil example: http://www.keil.com/download/docs/intsio.zip.asp http://www.keil.com/download/docs/intsio2.zip.asp