PROBLEM WITH HIGH DATA TRANSFER

Hi everybody!! I’m trying do transmit data from xbee module to other module connected to PC…

I try to send 4MB from Atmel microcontroller to xbee module through TX pins of USART output. modules work at 115200 bps and USART of Micro is setted with that value too…

Everything goes fine at the beginning, but when 300.000 bytes of data are transferred xbee blocks and data transfer is aborted…after that remote module connected to MICROcontroller doesn’t work anymore and I have to reset module from XCTU…
my first suppose is overflow buffer of DIN buffer of xbee module…but it seems strange…cause I have a C program that checks CTS pin of XBEE ands stops sending data when overflow buffer is getting nearer…
Help me!!!

Hmmm, and I will guess you are using AT mode, not API mode.

Your goal should rarely work since no mesh technology is reliable. 4,000,000 bytes are broken into perhaps 17000 packets and some of those will get lost.

You will need to use a protocol with block numbers, retries and so on. XMODEM is one example. API mode should also be used.

transparent mode is better in order to read data from sensors…