#
✕ nick:radnic
#asahi · 2021-11-18 12:18
radnicEven stranger you get it after chainloading.
#asahi · 2021-11-18 12:16
radnicHuh, that's _with_ the change? Straaaange.
#asahi · 2021-11-18 11:57
radnicBut yeah, I understood the datasheet wrong, sorry marcan.
#asahi · 2021-11-18 11:55
radnicOk, then... if that is the case, why did it _ever_ work?
#asahi · 2021-11-18 11:55
radnicAh, you are correct. I read the documentation backward.
#asahi · 2021-11-18 11:53
radnicHmmm, let me find that.
#asahi · 2021-11-18 11:52
radnicAh, I was looking at TPS65982
#asahi · 2021-11-18 11:52
radnic?
#asahi · 2021-11-18 11:52
radnicNo
#asahi · 2021-11-18 11:51
radnicThat removes the stop bit sending when telling it where you want to read data off the I2C device.
#asahi · 2021-11-18 11:51
radnic<marcan> + if (i2c_xfer_write(dev, addr, 1, 0, &reg, 1))
#asahi · 2021-11-18 11:51
radnic<marcan> - if (i2c_xfer_write(dev, addr, 1, 1, &reg, 1))
#asahi · 2021-11-18 11:51
radnicI mean the change from marcan.
#asahi · 2021-11-18 11:50
radnicBut, I am confused _why_ I checked the datasheet for the chip and it says that it kind of expects the stop byte. The one that was removed. So... how come it works then?
#asahi · 2021-11-18 11:38
radnicBut, well, did not see it.
#asahi · 2021-11-18 11:38
radnicyesterday it was much easyer to reproduce it TBH, than now. Even without the change.
#asahi · 2021-11-18 11:38
radnicMaybe I got really lucky.
#asahi · 2021-11-18 11:38
radnictries.
#asahi · 2021-11-18 11:37
radnicabout 15 tried.
#asahi · 2021-11-18 11:37
radnicSooo, interestin. now I updated the m1n1 fo' real with the fix from marcan... and... I don't see it anymore.
#asahi · 2021-11-18 11:28
radnicScratch my previous claim, I need to update it manually again.
#asahi · 2021-11-18 11:28
radnicOk, so... totally stupid question, but chainloading does NOT change the default .macho -
#asahi · 2021-11-18 11:24
radnicYes it does, saw it in the console. I see it as a j313 so, yep, there it is.
#asahi · 2021-11-18 11:22
radnicIt's an Air3. Can I make it show anywhere the codename?
#asahi · 2021-11-18 11:21
radnic5th try, there it was.
#asahi · 2021-11-18 11:21
radnicAh, no, I saw it again.
#asahi · 2021-11-18 11:20
radnicJ313 is a what now?\
#asahi · 2021-11-18 11:19
radnicyes
#asahi · 2021-11-18 11:19
radnicUpdating the variable is annoying.
#asahi · 2021-11-18 11:19
radnicUpdating the variable is annoying.
#asahi · 2021-11-18 11:19
radnicUhh, is there a way I can persuade it to enumareate consistenly as a ACM device with the same index?
#asahi · 2021-11-18 11:18
radniclet me give it a couple more spins.
#asahi · 2021-11-18 11:18
radnicI did 3x tries.
#asahi · 2021-11-18 11:18
radnicso I just tried it and, it seems that the error is not happening anyymore? Interesting.
#asahi · 2021-11-18 10:01
radnicchainloading leads to it being OK consistently.
#asahi · 2021-11-18 10:00
radnicSometimes it's ok.
#asahi · 2021-11-18 10:00
radnicYes.
#asahi · 2021-11-18 10:00
radnicI jut think it's a fun puzzle.
#asahi · 2021-11-18 10:00
radnicNot sure if insisting on this issue is clever on my part though. I mean, most people don't have the issue and I can still connect on the other port, and maybe I'm stealing useful resources from somewhere else.
#asahi · 2021-11-18 09:59
radnicSomeone else reported hpm1 failing as well.
#asahi · 2021-11-18 09:58
radnicI can't reproduce it at the moment to confirm it 100% but basically, it fails when it reads back the TPS_REG_CMD1. I added extra prints, so the messages are not what you would expect.
#asahi · 2021-11-18 09:50
radnic@sven. I think it was the TPS_REG_CMD1 but it was like... just the once. most of the times, it does not say that. It seems to be inconsistent. This is why I suspect the device state is not always the same when we enter m1n1.
#asahi · 2021-11-18 00:57
radnicIt says wnat to read 4 bytes but the device wants to send 31
#asahi · 2021-11-18 00:57
radnicIt's interesting also that the I2C seems to answer with unexpected length. that is funny.
#asahi · 2021-11-18 00:53
radnicHah, after chainload it looks like it's OK!
#asahi · 2021-11-18 00:39
radnicCool, thanks! Will look into it.
#asahi · 2021-11-18 00:37
radnicWhere did you get the register names/locations for I2C? Reversed?
#asahi · 2021-11-18 00:36
radnicAh, stupid me, yes, that works. :)) Did not try it so far.
#asahi · 2021-11-18 00:35
radnicHmmm.. maybe? I understand only the Port 0 is the onew I can use for chainloading?
#asahi · 2021-11-18 00:35
radnicYes.

plus ›