> I didn't test sensor hall effect... hope to do that soon.
There is some problems with sensor hall effect - I were seeing the
data signal with oscilloscope and without any magnet near sensor, it
sends random signals as if it were detecting any magnet :-(
I tried to lower the pullup resistor, from 51k to 22k - didn't result
in nothing. I also tried to put a 100nF capacitor in parallel to
pullup resistor, signal get less square but not good :-( -- I think
that with a simple RC filter signal can get good however we can lost
frequency of reaction to magnet, like being slow to detect magnet :-(
Well, I did test before the sensor magnet on other prototype board, I
didn't had this problems... maybe the sensor is having bad behavior -
I will substitute it next time and try to find why...
Sensor hall effect is very near of crystal oscillator, could be
because of that? - I did tried to switch MCU oscillator from crystal
oscillator to internal RC oscillator, but I need to try do it again.
DataFlash memory: I saw that memory gives the information about a bad
write/erase - I will put that information as return value of Erase and
WriteByte functions, I will try to use that information to understand
if memory is being write or not...