efloth wrote: ↑2021 Feb 22, 16:13
Please correct me if I am wrong, the above addresses are not directly readable by the QH so they are being copied by the datalogging routine to readable addresses. The ADX is configured to read shadow addresses so the big question is in what order are these shadowed? My Datalogging List function below is a copy from the A1C DL Patch. Can I assume that 010a=3030? I think I am missing part of the equation. Thanks for all your help.
The datalogging function is to copy addresses 0xff and below to shadow ram so QH can read and be logged.
There are three parts to the patch:
- first, the function that copies addresses from list to be shadowed, this is hardcoded into bin, the patch
- second, the list of specific address that are below 0x100, this is hardcoded into bin.
- third, payloads are sent from QH to read specific address locations.
It is the ordering of payloads that are important.
Example:
- data logging list: "D600 9603 B600 9A00 CC00 BA00....'
- data logging function copies "0x00d6" to [d00] = 0x0dd6
- payload read from xdf has "0DD60203", second packet (first 0-index based), means Read address 0x0dd6, 2 bytes from bank 3.
You will see that in the adx, packetoffset 0x01 is QH_ATMR1.
So, if you were looking for 0x010a, which isn't logged, or read in the payload, your not going to find it unless you put it there.
If your bin is anything like mine, 0x010a could be key power or battery voltage, maybe:
I do not see where you get 0x010a = 3030, that doesn't make sense, you are missing something there.