Only just got the circuit boards to mod an 808 today, but i changed direction after ordering them, waiting on a much smaller bdlls inverter circuit board now.
I've managed to hack together BPLZ9214.BIN into the onerom alpha firmware, tunerpro dumps and verifies the rom contents. Gq-4x also verifies the rom correctly.
Yet to be able to upload and edit via tunerpro, this manually reverse engineering the firmware to get it to work is doing my head in.
Have not tested, possibly really broken, CRASHES the onerom when you try to upload in tunerpro.
Will try to get a car running, atleast a dead starter motor in the vr is easier to fix than the vn's with dead fuel pumps i have here.
***REMOVED***OneRom-ALPHA.BPLZ9214.zip
EDIT.
Further testing, gets partway thru an upload and then crashes the onerom.
But it will upload, verify, read a 64k file that is filled with FF. Changed address 0xFFFF to AA to make sure it wasn't looping at 32k, can write, read and verify with that as well.
As soon as i try a 64k VR bin file (tried quite a few) it crashes.
Seems there is a write buffer in the ostrich emulation that can't keep up with the larger file size.
Narrowed it down to exceeding 8k thru trial and error, maybe a buffer or somehow this firmware doesn't handle bank switching correctly.
EDIT 2.
Further testing.... I've tried overclocking/underclocking the rp2350, no change in being able to upload from Tunerpro after editing.
Probably going to be easier to start from scratch and build a new firmware instead of trying to hack the source-unavailable compiled binary, at least proof of concept is there and kinda sorta works.
Honda tuning suite works, not familiar with the software to know what it does different.
CROME has similar problems to Tunerpro, crashes when trying to upload.
The firmware as far as I can tell should run on a Pico 2 to test Tunerpro and Ostrich emulation (I don't have 1 to test with if someone could confirm).
Seems the Alpha creator is not going to be working on it anymore and leaving it as is, which is a shame.
Here's some bin/uf2 images stripped down to blank 27C512 for the rp2350/rp2354 onerom firmware.
***REMOVED***OneRom-Alpha-OstrichV20.9-27C512.zip
***REMOVED***OneRom-OSTRICH-27C256-FFFF.zip
The flash layout is as follows, with all addresses relative to the flash base address, RP2350 (0x10000000):
https://github.com/piersfinlayson/one-r ... H-USAGE.md
+-------------------------+ 0x00000000
| One ROM Firmware |
+-------------------------+ 0x0000C000
| One ROM Metadata |
+-------------------------+ 0x00010000
| ROM Images |
+-------------------------+ 16/64KB boundary
Moates Ostrich Emu
0x00010000 - 0x0001FFFF
ECU bin file
0x00020000 - 0x0002FFFF
No, you can't just paste a .bin file to this location, it gets mangled by the onerom software/firmware.
(To make it simple i've written it so don't have to copy and paste from different addresses)
27C256 32kb instructions
Use the onerom cli make a bin.
Code: Select all
onerom.exe firmware build --board=fire-28-a --slot file=<ECU.BIN>,type=27c256 --slot file=<ECU.BIN>,type=27c256Copy the "onerom_fire-28-a_v0.6.13.bin" to picotool directory and rename to "unpatched.bin"
Copy "OneRom-Alpha-OstrichV20.9-27C256.bin" to picotool directory and rename to "patched.bin".
Copy 0x20000 - 0x2FFFF from "unpatched.bin" and write over "patched.bin" at the same address.
Start onerom in BOOTSEL mode.
Upload patched.bin
Code: Select all
picotool.exe load patched.bin -t binCode: Select all
onerom.exe control rebootObviously all this can be skipped and just program a bin with the onerom tools to emulate an eprom.
Standard onerom tools can't just change parts of the rom image and upload, the entire thing needs to be reprogrammed.
I think it's in the future for Piers to change this but it's not implemented yet.