-
Notifications
You must be signed in to change notification settings - Fork 270
Description
Hello!
I am having trouble to receive multiple sysex messages on an Arduino UNO.
I am using a self-made multiplatform SysEx configurator that sends 207 messages packets. This had to be done because of an OSx limitation that prevents me from sending SysEx messages greater than 256 bytes (you can find several forum posts with this issue on google).
I am receiving this data and writing it on the EEPROM.
After this, I am reading it to check what was written, and I am having several issues, always with the second and further packets. Sometimes it writes ok, sometimes there are bytes displacements... I can't find any patterns to this.
I tried sending the same message using Bome's SendSX (https://www.bome.com/products/sendsx) to send 3 packets, but separate in time, instead of one after another, and it worked perfectly.
I tried compressing the 3 packets into one large message, and it also worked.
I tried with this same software sending the 3 packets one after another with SendSX and I get similar results as with my software.
This is to tell you that I think the writing and reading into the EEPROM seems to work fine, but when I try packets that arrive very close in time, something is not working.
I don't know if it's a library issue, or a HIDUINO issue... I will post this in both githubs.
If I could get help with this it'd be awesome.
I attach the sketch I am using to write and read the EEPROM (switch between both commenting the WRITE_EEPROM define), the library that formats the data into the eeprom, and the sysex data I am testing with.
If you need further info on the issue or something is not clear, let me know.
Thanks in advance!