Project-CETI / whale-tag-embedded

Source code for the software that is used to build the image for the embedded computer inside the Whale Tags to be deployed onto sperm whales for project CETI
Apache License 2.0
13 stars 5 forks source link

Incorrect state data appearing in the .csv records #19

Closed MattCummings0517 closed 2 years ago

MattCummings0517 commented 2 years ago

Preliminary - there appears to be a bug in the main state machine where after a period of time in the BRN_ON state something happens to the organization of the file and unexpected characters begin appearing in the file - almost as if the state has jumped to an undefined condition. Need to reproduce, understand and fix.

There has also been an instance of a badly formed file that is apparently correlated with a hardware failure where the i2c bus became inoperable (bus #1). It would be good if the program can gracefully handle a hung i2c bus

MattCummings0517 commented 2 years ago

Multiple minor corrections made. As of now, state machine is working per design intent