Serial port_Java_Arduino Due_PanamaHitek

Hello,

The project is writing and reading (on/from) a 1Mb memory with I2C. We have used the Panamahitek library in Java for communicating with Arduino and serial port. It can read and write (from/on) the memory of about 4 to 5 minutes. But we miss some addresses during this process. I think the main reason is getting full of UART buffer. With adding delay, the problem is disappearing but it takes time a lot about 45 minutes or 1 hour. How can I solve the problem? (It is working very slowly)

I appreciate any help,

Golnaz

(deleted)

Please read How to use this forum - please read. - Installation & Troubleshooting - Arduino Forum, specifically point #7 about posting code.

Next please post your full code using what you read so we don't have to look at the smilies.