Comments (1)
Yes, because the CBOOT loader I've written is position independent (doesn't use relative addressing at all) it's really easy to find it a home in ASW and hook to it. I like putting it in ASW3, waiting to write over ASW1 is painful. Because we can only flip bits up, we need to find some nops to overwrite.
In my O20
version ASW3, there's a nice task initialization function starting at 8088962c with a big long sled of nop at 8088965c. The nop sled is so long that you can put whatever you want there, really - either a short position-dependent call instruction or even a full blown load-and-call.
There's also a truly enormous sea of free space to add the function to near the end of ASW3.
Assuming we pick 808fdd00 as the free space to overwrite with the function and we want to boundary-align our patch,
80889660 91 00 09 f8 movh.a a15,#0x8090
80889664 d9 ff c0 4d lea a15,[a15]-0x2300
80889668 2d 0f 00 00 calli a15=>FUN_808fdd00
Does the trick well.
I'll add this to the docs once I upload the end-to-end solution for my O20
ASW, since I will then include the full ASW3 overlay payload
from vw_flash.
Related Issues (20)
- Dtc read/erase
- Is it possible to write to DQ381/DQ380 now? Will it cause the gearbox to brick? HOT 1
- Get ecu info not working (no connection) HOT 3
- Unlock files HOT 1
- Can't Get ECU Info HOT 2
- Can't compile properly EXE for windows HOT 1
- Decode and decompress type AA (Audi) HOT 1
- Program stops at "unlock ecu" with frf file HOT 3
- OSError exception HOT 1
- Can´t unlock HOT 1
- Flash non-ECU hardware on the benchtop? HOT 7
- Error decrypting and unpacking .FRF file HOT 17
- Error decrypting FRF
- reflashing ao fail HOT 3
- Unlock SCG - problem HOT 1
- VW_Flash wont connect_Simos Tools doesnt work_MachinoA0 on 0.9 HOT 4
- vw_flash cannot unpack non-iterable nonetype object HOT 4
- Cannot unlock ECU - 8R2907115C 0002, box not found in .csv HOT 8
- Non-Issue - HOT 1
- Request: Audi AL551 support HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vw_flash.