Hey, I'm using a Duemilanove to communicate with a raspberry pi via XBees. I'm using arduino-xbee to use the XBee api to communicate with them.
I'm having some bizarre issues though. I have a fairly large sketch (20k compiled) and it frequently sends different messages back to the raspberry pi. Most of the time it works but sometimes the raspberry pi never receives the message. However, the LED on its explorer board flashes to indicate that it received it making me think that the message got corrupted. It only happens when I try to send certain messages of a certain length at certain times, however. In one case, the raspberry pi will receive the message if it is 11 or 13 characters but not 12. I've also noticed that around the same time, one of my other variables has an unexpected value and its value changes from run to run.
freeMemory reports ~600 bytes of free memory but this definitely appears to be a memory related issue. I pretty much don't use malloc after initialization so I'm pretty much at a loss as to what this could be. This is for a very important project so any help is much appreciated!