Members Login
Username 
 
Password 
    Remember Me  
Post Info TOPIC: Enginuity Automatic xml generator for 32 bit Denso


Guru

Status: Offline
Posts: 963
Date:
Enginuity Automatic xml generator for 32 bit Denso


Here is a utility that will generate Enginuity format map definitions in xml from the raw bin file. It uses the map lookup table located at the start of the map section of ECU memory (usually h'28000)

bin2xml.zip

I've tried it on the new ZX-6, and PetriK K5 busa bin. It worked on both.

You will still need to enter the romid tags that id the make, year, model, etc. by hand at the top of the xml.

This utility is very old school. You can't use long windows filenames, it has to be in the same directory as your files, doesn't support paths in the filename etc. But it gets the job done.

All the maps are named using their address such as "Map 0x00028F8C"

They are group category wise by their dimensions. I figure maps with similar dimensions will have similar function. 2D map categories are like "x17" while 3D categories are "x30y50 for example.

The rest of the definition is very generic. A lot of unknown etc.

Here is an example of an autogenerated file of the ZX-6. It has 229 maps, 151 2D, and 78 3D. I'm pretty sure it took me less time to write the converter than it would have to type in all the maps.

zx6_001.xml


BTW you should check the very last entry of the generated file. The program runs till it encounters a non standard type code. It worked fine on the ZX-6 but on the busa it added one additional map with bogus data. Just delete it before posting the output into your xml file.



Here is the source code for anyone who wants to improve on it. 

bin2xml.txt





 


-- Edited by RidgeRacer at 04:52, 2007-12-17

__________________


Veteran Member

Status: Offline
Posts: 80
Date:

nice

seems to work also on the SV binary just fine

Mark.


__________________


Guru

Status: Offline
Posts: 2338
Date:

Sounds excellent! Unfortunately could not get download working.

Maybe you can re check the links or email me the files including also the source? Propably also a hint about the used development tool environment used would be helpful.

I would like to have a go to include the .idc makeword naming strings to be included as part of the build process as described in the disassembly thread.

EDIT - The www.bikeland.info dns seems to be down from this part of the world ? A few days back it worked just fine...

-- Edited by PetriK at 10:46, 2007-12-17

__________________

When asking a question, you can also consider posting it to facebook:

http://www.facebook.com/ecueditorcom



Guru

Status: Offline
Posts: 963
Date:

There was some kind of snafu with my domain registration. It was suppossed to automatically renew when I renewed the hosting but apparently it didn't.

Should be taken care of now or as soon as it propogates through the DNS chain


As for the development enviornment I wasn't kidding when I said it was old school.  I used Microsoft QuickBASIC 2.0. Sometimes simple is better and when it comes to parsing and writing simple text nothing is more straight forward than BASIC.

I also used BASIC to convert Don's propeller capture text to a bin file


__________________


Veteran Member

Status: Offline
Posts: 75
Date:

Hey i thought you guys might be able to use this. I use it all the time when editing ini. files for another EFI system i use it might come in handy for you all. You can change the file langauge and lots more so check it out.

  http://notepad-plus.sourceforge.net/uk/site.htm

__________________


Guru

Status: Offline
Posts: 963
Date:

Thanks for the link. That is a really cool program. Hex editor for the bin and xml editor for the definition all tabbed on a single application.

That Notepad++ is going on my task bar.



__________________


Veteran Member

Status: Offline
Posts: 75
Date:

I thought you might like it its kinda like a all in one editing program

__________________


Guru

Status: Offline
Posts: 1344
Date:

rr,petrik or anyone,i tried to generate my own .xml file,it worked and told me that i have 309 2d maps,1 3d maps for a total of 310 maps,and it saves it to bin2xml file folder,but when i try to open it asks me what file to use to open?any ideas what i am doing wrong?

-- Edited by stocker at 22:52, 2008-12-16

__________________

09 busa.????? now what....still got what it takes.......!

I got what you need...!
www.poweredbyford.com

www.marc@poweredbyford.com

 



Guru

Status: Offline
Posts: 1344
Date:

also having 309 2d maps and only 1 3d map there must be something wrong.

__________________

09 busa.????? now what....still got what it takes.......!

I got what you need...!
www.poweredbyford.com

www.marc@poweredbyford.com

 



Senior Member

Status: Offline
Posts: 123
Date:

stocker wrote:

rr,petrik or anyone,i tried to generate my own .xml file,it worked and told me that i have 309 2d maps,1 3d maps for a total of 310 maps,and it saves it to bin2xml file folder,but when i try to open it asks me what file to use to open?any ideas what i am doing wrong?

-- Edited by stocker at 22:52, 2008-12-16



It sounds like you don't have a program registered to open xml files on your PC. Usually your browser is registered for that. Have you opened one before?

You can right click on your xml file and select edit which will open it in notepad.

RomRaider will see and use your xml file even if you don't have anything registered as a default viewer on your PC.

 



__________________


Guru

Status: Offline
Posts: 1344
Date:

thanks gadget,i will try that.I have opened .xml files before,i have rr's enginuity defition on file and open them ok?

-- Edited by stocker at 23:17, 2008-12-16

__________________

09 busa.????? now what....still got what it takes.......!

I got what you need...!
www.poweredbyford.com

www.marc@poweredbyford.com

 



Guru

Status: Offline
Posts: 963
Date:

Couple of things here.

The map table of different ECUs don't always have the same starting address. 0x28000 is popular but I have also seen 0x24000 and 0x2C000.

If you open the program in IDA or other hex view program you should see the end of the software, a bunch of FFs then the begining of the map data at some even 000 address like those above.

The generated xml file is not ready to use as a romraider definition. You need to add the romid tags that identify make model etc. You also have to add the roms and rom tags.


<roms>
  <rom>
    <romid><xmlid>32920-41G00/G10 v1.13</xmlid>
        <make>Suzuki</make>
        <model>GSX-R1000</model>
        <submodel></submodel>
        <year>05/06</year>
        <market>EURO/US</market>
        <transmission>MT</transmission>
        <memmodel>SH7052</memmodel>                                
        <internalidstring>D47ASE</internalidstring>
        <internalidaddress>0x0003FFF0</internalidaddress>
        <filesize>256kb</filesize>
    </romid>                               

Paste your generated xml text here.

  </rom>
</roms>

Also you will need to open the code with somekind of hex viewer (you could use FDT) and look at the ASCII characters at the very end and copy those into the <internalidstring>  tag  (D47ASE in the example above)

For editing the xml file I recommend a freeware text editor Notepad++ that you can download.

What ECU are you trying to generate a map for?


__________________


Guru

Status: Offline
Posts: 1344
Date:

thanks rr,i am trying to generate one for a busa 32 bit

__________________

09 busa.????? now what....still got what it takes.......!

I got what you need...!
www.poweredbyford.com

www.marc@poweredbyford.com

 



Guru

Status: Offline
Posts: 741
Date:

just tried it, works great...smile 

__________________
Ra


Veteran Member

Status: Offline
Posts: 62
Date:

Just read through the threads, and are you guys saying that if I have an ECU that was flashed by someone else with their own map settings that I could "get" that bin(maps), save it and flash it to a different ecu?

Another words, if my laptop crashes I could still retrieve my maps back from the ecu?

__________________
All Must Bow to the Ra Supremecy!


Guru

Status: Offline
Posts: 963
Date:

Yes, but if it is a pre-K8 you will have to cut a hole in the ECU to retrieve it.

__________________
Ra


Veteran Member

Status: Offline
Posts: 62
Date:

Ok, RR so could I send it to you to get the map back out?

__________________
All Must Bow to the Ra Supremecy!


Guru

Status: Offline
Posts: 963
Date:

Ra wrote:


Ok, RR so could I send it to you to get the map back out?







Theoreticaly, for a small fee, yes.

I guess I'm a little curious as to what you are up to and if the someone in "someone else's map settings..." has a problem with it.   confuse




 



-- Edited by RidgeRacer at 15:04, 2009-02-21

__________________
Ra


Veteran Member

Status: Offline
Posts: 62
Date:

What is your price?

My motive? LOL I am trying to retrieve a map. In trying to explain what I wanted maybe it was too colorful...???

I just want a back up of the bin so that I can do other flashes with different settings and not lose the base map. Modifying maps have no value if performance on some level is not improved. Changes need to have compare and contrast testing done at the track without losing the base map. Which in this case is not a OEM map. Secondly, in nearly every thread there is some reference to a "bad flash"! Without some way to compare the map in the ECU with the map desired, how can anyone like myself(non computer programmer) know if the flash was without errors. Thanks

__________________
All Must Bow to the Ra Supremecy!


Senior Member

Status: Offline
Posts: 196
Date:


It is none of my business but...

I think he was asking if someone else made you a map and ask for it not to be shared and why didn't he just give you a copy?



Mark

__________________
Ra


Veteran Member

Status: Offline
Posts: 62
Date:

BusaQuick, that is not the situation, no one has ask, stated, requested or inferred regarding the map. He was told the ECU was flashed. But was it?! I was asked if I could back up the map. I don't know why this is so complicated?

__________________
All Must Bow to the Ra Supremecy!


Veteran Member

Status: Offline
Posts: 37
Date:

Unless the people programming ECU's are paying Suzuki for the original BIN file/code then it's a bit unfair to expect people not to share files.
I think the BIN files should be shared along the same lines as the Power Commander maps.

__________________

'Started out with nuthin' and I still got most of it left"



Senior Member

Status: Offline
Posts: 196
Date:


I agree sharing is good and I was not tring to say otherwise. The exception would be if the tuner had a contract for not sharing the tune.  I wasn't making a claim either way.

Mark

__________________
Ra


Veteran Member

Status: Offline
Posts: 62
Date:

This is why I was trying to find out the truth!

http://psychobike.com/forums/1000s/12546-flash-ecu-gsxr-1000-a.html

Is there a boot kernel for the sh7052?

-- Edited by Ra at 13:07, 2009-03-05

__________________
All Must Bow to the Ra Supremecy!


Guru

Status: Offline
Posts: 963
Date:

I'm not sure what a boot kernel has to do with the thread link you posted or what your asking.



__________________
Ra


Veteran Member

Status: Offline
Posts: 62
Date:

Reading in Romraider, if I connect to the ecu in usermode. and there is a kernel running then the bin file can be downloaded if I understood it correctly. Does this mean that a kernel could be added in the bin file, uploaded and then the present map could always be downloaded first prior to being erased if you wanted to?

I don't want to erase the ecu without knowing if it has properly been flashed or just had a "yosh box" adjustment? The man was charged for a full flash, but others local to the shop are saying that it is just a yosh flash not an ecu flash for which he paid.

There should always be some way to verify that the ecu actually contains the maps that you meant to be in the ecu. Another way to make sure you didn't accidently flash the wrong map, or check for frauds.....

__________________
All Must Bow to the Ra Supremecy!


Guru

Status: Offline
Posts: 2338
Date:

Ra, if you want to validate if someone flashed your gixxer ecu or not. That is doable by opening the AUD connector and loading the program. I believe that in some gixxers you can also detect yoshbox tune using ECUeditors datastream screen, but no other way to detect if it has been flashed than using the AUD to read the contents and validate to the original.

I am sure that RR can do that for you if you are local in USA for a small fee. It would be in everyones interest to blow up those who claim to be able to flash but who can not really do it.

__________________

When asking a question, you can also consider posting it to facebook:

http://www.facebook.com/ecueditorcom



Veteran Member

Status: Offline
Posts: 25
Date:

I have a question, I downloaded this to work on a 05 zx10r bin file. and it came back with 310 map files but when i use it in rom raider it says not valid xlm file? any sugestions.

PS. i could not get this to run on a 64 bit computer i had to used my old 32 bit XP machine is this normal?

__________________
High velocity Cycles Greensboro NC


Senior Member

Status: Offline
Posts: 350
Date:

Its a 32-bit program, Virtualbox with a 32-bit Win7 will do it.
What start adress for maps did you use? Of the 310 maps, how many 2D vs. 3D?

This is for Denso, dont know how/if it will work on Mitsubishi ECU.
Can you upload the .xml so we can have a look? Or e-mail me since we cannot upload anything on this forum...
All i got was maps at 00000000 adresses so no good... If you got good map adresses probably last map is bogus or forget to add romid.

__________________


Senior Member

Status: Offline
Posts: 144
Date:

bugman53 wrote:

I have a question, I downloaded this to work on a 05 zx10r bin file. and it came back with 310 map files but when i use it in rom raider it says not valid xlm file? any sugestions.

PS. i could not get this to run on a 64 bit computer i had to used my old 32 bit XP machine is this normal?


The xml that it produces needs editing in order to work in romraider. It misses the header info.

I have developed a new map parser tool that extracts all the maps of any bin file and produces a working romraider definition file.



__________________

For your DIY or Professional tuning needs be sure to check out
PVTech ECU Research & Development



Veteran Member

Status: Offline
Posts: 25
Date:

http://rapidshare.com/files/3747266450/xlm


http://rapidshare.com/files/516883484/zx10r.bin

Here is the bin file and the xlm file it genorated. It said 309 2d maps and 1 3d map.

Psyche can you decode a working xlm for me with that software that would be great.



-- Edited by bugman53 on Tuesday 26th of March 2013 09:16:38 PM

__________________
High velocity Cycles Greensboro NC


Veteran Member

Status: Offline
Posts: 25
Date:

That bin is for a 04-05 zx10r anyone is welcome to use it if they need it also.

__________________
High velocity Cycles Greensboro NC


Senior Member

Status: Offline
Posts: 144
Date:

bugman53 wrote:

http://rapidshare.com/files/3747266450/xlm


http://rapidshare.com/files/516883484/zx10r.bin

Here is the bin file and the xlm file it genorated. It said 309 2d maps and 1 3d map.

Psyche can you decode a working xlm for me with that software that would be great.



-- Edited by bugman53 on Tuesday 26th of March 2013 09:16:38 PM


 bugman53 the tool that you are trying to extract the maps doesnt work with that ECU and more specific the zx10 ecu. It is a bit different than the suzuki ones.

I have extracted the maps from it using my own Map Parser tool. It generated 74 3D maps and 66 2D maps. Take a look at the other thread with the zx10 file that you posted. http://ecuhacking.activeboard.com/t43609273/04-05-zx10r-bin-files/



__________________

For your DIY or Professional tuning needs be sure to check out
PVTech ECU Research & Development



Guru

Status: Offline
Posts: 963
Date:

As stated in the title this tool is for bins from 32 bit Denso ECUs. The ZX-10 and some other Kawasaki are Mitsubishi ECUs.

__________________


Veteran Member

Status: Offline
Posts: 26
Date:

is there a way to make this work with 64 bit computer?

__________________


Veteran Member

Status: Offline
Posts: 26
Date:

is there an alternative program that can be used ?

__________________


Senior Member

Status: Offline
Posts: 350
Date:

Swami, does not work for the Navara anyways.
Search for a program called ScoobyROM, it will parse you the maps. (Subaru/Nissan/Mazda etc)

If you need to use BIN2XML just setup a virtualbox win 32-bit.

__________________


Veteran Member

Status: Offline
Posts: 26
Date:

thanks
i will look into it

__________________


Senior Member

Status: Offline
Posts: 350
Date:

subdiesel.wordpress.com/ecu-analysis/scoobyrom-software/


__________________
Page 1 of 1  sorted by
 
Quick Reply

Please log in to post quick replies.

Tweet this page Post to Digg Post to Del.icio.us


Create your own FREE Forum
Report Abuse
Powered by ActiveBoard