reikred
reikred
For reference, here are the resulting image files for the whole process ``` % ls -l FD_* -rw-r--r-- 1 reik reik 8192 Nov 23 13:51 FD_0DRIVE -rw-r--r-- 1 reik reik...
I'm struggling trying to find out out the proper address at which to write each of the 4 segments FD_0DRIVE FD_1DATA FD_2DRIVE FD_3DATA. I don't know the base address of...
But that is exactly the problem: I don't know how to generate a binary flash file that places these 4 code+data segments at the correct locations of the 512kB flash...
Okay, so they key point that I was missing was that the CANbus/UDS interface does not reveal the actual destination addresses to the outside world. It just asks for data...
Scavenging for what looks like an address is an interesting idea. Additional thought along those lines: For the code segments maybe running the bytes through an ARM disassembler could narrow...
( posted before I saw your latest comment, will go back and read it) (have to sleep now, it is 0530 here, I've been up late) Scavenging for possible addresses:...
Okay, I have now read what Connor suggested. I'll look into ghidra tool and ghidra_v850. Meanwhile, I will upload the segment files. I'm not able to see any obvious address...
I managed to get the ghidra tool going, and here is the result of disassembly of the FD_0DRIVE segment file. The analysis creates both assembly code and some C-like pseudo...
I used Ghidra to create a full set of disassembled and decompiled files. Here they are: [FD_0DRIVE.asm.txt](https://github.com/bri3d/VW_Flash/files/13536452/FD_0DRIVE.asm.txt) [FD_0DRIVE.c.txt](https://github.com/bri3d/VW_Flash/files/13536453/FD_0DRIVE.c.txt) [FD_1DATA.asm.txt](https://github.com/bri3d/VW_Flash/files/13536454/FD_1DATA.asm.txt) [FD_1DATA.c.txt](https://github.com/bri3d/VW_Flash/files/13536456/FD_1DATA.c.txt) [FD_2DRIVE.asm.txt](https://github.com/bri3d/VW_Flash/files/13536457/FD_2DRIVE.asm.txt) [FD_2DRIVE.c.txt](https://github.com/bri3d/VW_Flash/files/13536458/FD_2DRIVE.c.txt) [FD_3DATA.asm.txt](https://github.com/bri3d/VW_Flash/files/13536459/FD_3DATA.asm.txt) [FD_3DATA.c.txt](https://github.com/bri3d/VW_Flash/files/13536460/FD_3DATA.c.txt) Hopefully there is an expert that...
Still struggling with the above. One thing occurred to me from the [ConnorHowell](https://github.com/ConnorHowell) example above: It looks like the Flash is memory-mapped into the same address space as the RAM....