stafil - You might get more help if you followed the posting guidelines http://forums.leaflabs.com/topic.php?id=994
and gave more information about all the pieces involved in the system.
In your first post you wrote:
"How I read buffer with 200 chars length? HardwareSerial::read(void) read only 64"
in your second post you wrote:
"I send from PC 178 characters to maple r5 and i receive 129 chars."
in your third post you wrote:
"after send 186 chars from pc stm32 is stopped working."
So something is changing. What is it?
What have you tried to do to diagnose the problem?
For example, instead of Serial2.print(b);
have you tried USBSerial.print(b);
?
Does that give different results?
Have you tried connecting Serial1 and Serial2 together? Does that all work?
What are you using to connect to the Maples Serial2 peripheral interface? Is it an FTDI USB-UART cable, or something else?
What application is sending and receiving the bytes to the Serial2 port? Is it running on Windows, Linux, OS X, Android, ...? Which version?