I discovered a 100% reproducible firmware crash on the two RN-XV WiFly's that I have, and I contacted Roving Networks for help but they were unable to reproduce the problem and suggested doing an RMA. I purchased a third RN-XV from SparkFun and tried the test and got exactly the same crash, so I'm wondering if anyone else has the same problem. I'm able to reproduce the problem with 2.27, 2.31, and 2.32 firmware versions.
The problem is easy to reproduce. You just need to to make four TCP connections. Make the first connection fail either by not having your TCP server running, or setting the host address to a non-existant address. Then make a successful connection, close it, make another, close it, make one more and that's when the firmware crash happens.
Here's the serial log from a crash. I used google.com:80 for the successful connections and 192.168.1.42 for the failed connection but any addresses will do:
<2.32> set ip host 192.168.1.42
AOK
<2.32> set ip remote 80
AOK
<2.32> open
<2.32> Connect FAILED
<2.32> lookup google.com
google.com=74.125.237.8
<2.32> set ip host 74.125.237.8
AOK
<2.32> open
<2.32> *OPEN*
$$
CMD
close
*CLOS*<2.32> open
<2.32> *OPEN*
$$
CMD
close
Unrecoverable failure (7) Misaligned address at PC=0002fb68
The system will be reset
(Note: I added $$$ to the log to show where I had to re-enter command mode after a successful connection).
This is with a typical WPA wifi connection and DHCP enabled.
Is anyone else seeing this problem, or able to reproduce it?