I read the content of the eeprom, which in the locked attiny1614 looks like this:
:20000000700D1000D4FF3D130F000020FF7F0080406A000000285553FC002C01320000002E
:20002000163A3EC32E391801000060420000A0410000C742FFFFFFFFFFFFFFFFFFFFFFFFFFFF6F
:20004000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFC0
:20006000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFA0
:20008000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF80
:2000A000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF60
:2000C000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF40
:2000E000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF20
:00000001FF
Shunt activates, LED flashes and communication starts,
even though the in flash code is not touched.
Does the shunt program save any states in eeprom while running?
e.g. the amount of energy stored in the batteries.
I’m working on some changes to move to the INA229 (which is why I mentioned it) - its exactly the same chip, but using SPI rather than i2c - more critically, it seems to be in stock in some places.
So I’m having issues with this thing. I can program it correctly, I have new attiny1614 new lm5009a and new ina228’s installed. I have two boards both having the same problem. After programming and without the INA228 installed I get Both lights flashing for bootup then red flashing at regular intervals until it reboots which from the LED error sequence in the code just means no comms with INA228. Ok no big deal. As soon as I installed the INA228 I get the same bootup sequence, then the red light just flashes somewhat dimly, maybe once ever 1.5-2 seconds. Nothing else happens. Both boards do the same thing and I’m losing my patience. Does anyone have an idea what could be going on?
The board isn’t damaged, the scorch is just up by the mounting holes for the shunt. There are two boards exhibiting the same problem. Something else is going on I just can’t figure out what. So what does the light blinking in that manner mean? I’ve checked continuity between all pins for the ina228, attiny1614 and everything seems to be good.