Hi,
I start to play with IDA and I get such problem.
As pattern I used “procedure” for RPM reading (in my case variable in the 2nd table “1” / 2nd position in this table)
This “procedure” reads RPM, store in R5, call “43960” (which store r3, r4, r5 in some place in memory – probably used in communication ECU -> OBD -> VCDS)
So I wanted to make some “counter” based on some place in memory like:
- Read memory to the register r5
- Add +1 (delta)
- Store r5 in the memory
Like 0,1,2…. 245, 255, 0,1…255 (*40 factor)
That is my code
But… when I use this code (also with delta 0!) – I get “error group not available”
When I change instruction stb to lbz (instead of write - read again – just to keep order/addresses of instructions and avoid playing with offset for b instruction)… it works fine (value in memory 129 => 5180 rpm; 130 -> 5200 rpm – factor seems to be 40)
2nd problem: in Winols my memory cell is at 1C708 … that is the beginning of bin /probably some code
/… I would like to have it for example at 1CC708 – could y help me with calculation “offset” for b instruction?
Why it crash when I process stb (with the same value as original – in r3 is 0) - because it is logical part ROM and processor protect writing of this part of memory???
Soft 8E0907115C
0261S02145
387403
Ecu without the car (vcds connected on bench)... I suppose it is 2.0tfsi (bought for playing)