I have a mysterious behavior with iOS and PTDBean: when I do an Arduino code update with
programArduinoWithRawHexImage:andImageName: , everything goes well (Bean is not bricked, and the sketch runs nicely) but once this is done, the Bean has lost all its sketch infos.
The symptom is that every subsequent call to
readArduinoSketchInfo leads to a
[PTDBeanDelegate bean:didUpdateSketchName:dateProgrammed:crc32:] where the name, date, and CRC32 are either null or empty
I should mention that if I program the Bean with the same sketch file from the CLI, then the
[PTDBeanDelegate bean:didUpdateSketchName:dateProgrammed:crc32:] displays nicely every information.
Is there any additional thing to do after programming the Arduino to ensure getting consistent sketch infos?