Members Login
Username 
 
Password 
    Remember Me  
Post Info TOPIC: Yamaha/Moric single cylinder ecus ?? YZF R125 in mind


Guru

Status: Offline
Posts: 2338
Date:
Yamaha/Moric single cylinder ecus ?? YZF R125 in mind


please contact me if ... any information available ?

Have a wiring harness and a spare ecu on the way to start dissecting.

Connector should look something like in the image below.
t_ecu2_127.jpg

I guess this pictur is from one of the older models.

ecu_0011.jpg

-- Edited by PetriK on Friday 23rd of July 2010 05:39:33 PM

__________________

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

http://www.facebook.com/ecueditorcom



Guru

Status: Offline
Posts: 2338
Date:

Board rev:
5D6-8591E-01

CPU:
MC9S12T64 (MPK16, L42M, LPQGL08446)
http://www.datasheetcatalog.org/datasheet/motorola/9S12T64AF16V1.pdf

NOTE:
6-pin CN2 exists on the board, most likely somekind BDM



-- Edited by PetriK on Friday 30th of July 2010 04:06:26 PM

-- Edited by PetriK on Friday 30th of July 2010 04:06:41 PM

__________________

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

http://www.facebook.com/ecueditorcom



Guru

Status: Offline
Posts: 2338
Date:


Verified that the EBDM ports are connected to CN2 that is available on the board:
- CN2 Pin1 -> Processor pin 7 MODC/BKGD
- CN2 Pin2 -> Processor pin tbd
- CN2 Pin3 -> Processor pin 8 SCKBDM
- CN2 Pin4 -> Processor pin tbd
- CN2 Pin5 -> Processor pin 9 SO
- CN2 Pin7 -> Processor pin 77 Vddx


MC9S12T64.jpg

-- Edited by PetriK on Sunday 1st of August 2010 11:10:41 AM

__________________

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

http://www.facebook.com/ecueditorcom



Guru

Status: Offline
Posts: 2338
Date:

Here are the images of the PCB

http://macmadigan.no-ip.com/public/yamahar125/r125ecufront.jpg
http://macmadigan.no-ip.com/public/yamahar125/r125ecurear.jpg


__________________

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

http://www.facebook.com/ecueditorcom



Guru

Status: Offline
Posts: 2338
Date:

One potential interface for debugging and programming using EBDM

http://microcontrollershop.com/product_info.php?products_id=380


__________________

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

http://www.facebook.com/ecueditorcom



Veteran Member

Status: Offline
Posts: 75
Date:

The P&E USB multilink BDM should work also and much cheaper too.

The MS2 uses the MC9S12C64 processor and i use this BDM to flash the monitor code onto them.

http://www.pemicro.com/products/product_viewDetails.cfm?product_id=33

-- Edited by gsxturbo on Sunday 1st of August 2010 09:31:11 AM

__________________


Guru

Status: Offline
Posts: 2338
Date:

r125_harness_connector.jpg

__________________

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

http://www.facebook.com/ecueditorcom



Guru

Status: Offline
Posts: 2338
Date:

Some hopefully useful links...

Codewarrior software for flashing
http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=CW-HCS12X

USBDM interface
http://www.flashgenie.net/USBDM-Quickstart-Installation-Guide.html
Drivers etc. for the interface
http://opax.swin.edu.au/~3340694/USBDM/


__________________

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

http://www.facebook.com/ecueditorcom



Guru

Status: Offline
Posts: 2338
Date:


Measured the voltage levels on Yamaha ecu BDM pins:

- CN2 Pin1 -> Processor pin 7 MODC/BKGD (5V level)
- CN2 Pin2 -> GND (0V level)
- CN2 Pin3 -> Processor pin 8 SCKBDM (0V level)
- CN2 Pin4 -> Processor pin tbd (3.4V level)
- CN2 Pin5 -> Processor pin 9 SO (0V level )
- CN2 Pin6 -> +5V, Processor pin 77 Vddx (5V level)


BDM pinout (assuming when looking from the top of the connector, 1. is red)
bdm.gif

Looks logically similar enough to try out, even though pin 4 may have different siganlling as it looks like its a voltage divider i.e. can be connected to 0V level or 1V level.



__________________

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

http://www.facebook.com/ecueditorcom



Veteran Member

Status: Offline
Posts: 49
Date:

PetriK wrote:


Measured the voltage levels on Yamaha ecu BDM pins:

- CN2 Pin1 -> Processor pin 7 MODC/BKGD (5V level)
- CN2 Pin2 -> GND (0V level)
- CN2 Pin3 -> Processor pin 8 SCKBDM (0V level)
- CN2 Pin4 -> Processor pin tbd (3.4V level)
- CN2 Pin5 -> Processor pin 9 SO (0V level )
- CN2 Pin6 -> +5V, Processor pin 77 Vddx (5V level)


BDM pinout (assuming when looking from the top of the connector, 1. is red)
bdm.gif

Looks logically similar enough to try out, even though pin 4 may have different siganlling as it looks like its a voltage divider i.e. can be connected to 0V level or 1V level.



so vdd pin 6 of usbdm-jm60 connect to pin 6 of bdm ecu port.
bkgd pin 1 of usbdm-jm60 connect to pin 1 of bdm ecu port
gnd pin 2 usbdm-jm60 connect to pin 2 of bdm ecu port
reset pin 4 usbdm-jm60 connect to pin 4 of dbm ecu port correct?

and in pin 21 of ecu connect 12v and pin 7 of ecu gnd of 12v

correct?



-- Edited by mikaspt on Monday 9th of August 2010 07:21:30 PM

__________________


Guru

Status: Offline
Posts: 2338
Date:

This is highly experimental - only will find out by trying out.

__________________

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

http://www.facebook.com/ecueditorcom



Guru

Status: Offline
Posts: 2338
Date:

Video of 9S12 unlocker ...

http://www.myvideo.de/watch/3682854/Motorola_Freescale_912_9s12_9s12x_unlocking

__________________

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

http://www.facebook.com/ecueditorcom



Guru

Status: Offline
Posts: 2338
Date:

http://www.etlweb.com/prod_prog_mc912/files/912_9s12_mqt.pdf

__________________

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

http://www.facebook.com/ecueditorcom



Veteran Member

Status: Offline
Posts: 49
Date:

PetriK wrote:

http://www.etlweb.com/prod_prog_mc912/files/912_9s12_mqt.pdf




ok, i try almost every possibilities but always give fatal error cannot comunicst to hardware or vpp pin timeout etc-.

i think the correct pins are

ECU-CN2           USBDM-JM60

PIN 1                 PIN1

PIN 2                 PIN2

PIN 3                 PIN4

PIN6                  PIN6

i will try this connection but with the ecu connect to bike so i know the ECU still okey and have power.

 



-- Edited by mikaspt on Tuesday 10th of August 2010 12:56:38 PM

__________________


Guru

Status: Offline
Posts: 2338
Date:

What software are you using ? ... and most likely the target must have power on, ie. +12V to the ecu.

GND,BKGD and +5V should be ok, reset i am not sure. Also the mode settings are unconfirmed at this stage.



-- Edited by PetriK on Tuesday 10th of August 2010 04:07:49 PM

__________________

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

http://www.facebook.com/ecueditorcom



Guru

Status: Offline
Posts: 2338
Date:

Oh - and be careful if using codewarrior - looks like I managed to flash the sample code to the opened up ecu before read the code out. Too enhusiastic after getting a connection. Not a big damage - have another one to be cut open for BDM connector access - but need to learn codewarrior or any other flashing tool first and read the processor, BDM and backdoor documentation. Codewarrior is not really for this kind of activity, need another tool for flashing. Luckily parts for YZF R125 are not too expensive.

RR propably would have some further info how to procedd as the first ever mc ecu hacked was motorola.

Also the video above of setting the security string using the programming device hooked with an external board means that there should be a way.

edit - if there is will there always seems to be another way
http://www.youtube.com/watch?v=pSmpailkcCM


-- Edited by PetriK on Tuesday 10th of August 2010 06:06:42 PM

__________________

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

http://www.facebook.com/ecueditorcom



Veteran Member

Status: Offline
Posts: 49
Date:

OK, i burn my usbdm-jm60 for mistake i connect 12v to pin 5 of ecu flames from usbm-jm60 the micro sd chip near bdm cable from usbm-jm60 burn.
can you give me the number in that chip. i think is a 74LVC2G125DCTR but ...
can you see in your usbdm-jm60 card?
if you cant view the number i will buy another card. i think ecu still okey because pin 5 is the 12v relay start i think.
i will try connect ecu to motorcycle and see if it works or if i must buy another spare ecu .
can you tell me how you manage to get a connection to ecu? or do you use another bdm card?


-- Edited by mikaspt on Tuesday 10th of August 2010 07:20:01 PM

__________________


Veteran Member

Status: Offline
Posts: 49
Date:

Ok, ECU is okey, i test in motorcycle and work well.
so lets buy another usbdm-jm60 card.
:)

__________________


Veteran Member

Status: Offline
Posts: 68
Date:

Hello Petrik and mikaspt! I've been watching this thread, and your thread at another website...t135.com I guess. I own a Yamaha YZF R15 at India, using the same Moric ECU. It's a single cylinder too, just 150cc.

I'm interested in participating in this project too, after seeing your progress so far. Have you ever used the "Yamaha FI Diagnostic tool" on your ECU? It connects to the ECU using a single signal wire to communicate, while the ECU is still connected to the bike(the tool has seperate wires for its own power supply). And with this single wire, it can diagnose the ECU, tell it to operate ALL the parts on the bike for testing purposes, like radiator fan, relays, check throttle sensor's output readings,etc. Also, it can write CO values to the ECU and retrieve previously written CO value from the ECU. The tool can also read live engine temperature, RPM readings and display them while the engine is running. So, it must be the communication channel. Do you know this?




-- Edited by digislayer on Thursday 12th of August 2010 04:57:27 AM

__________________
Sunny.


Guru

Status: Offline
Posts: 2338
Date:

Yes - i have yamaha fi tool on my desktop ecu to check that it works.

tried adjusting co-values, but looks like on r125 that is only for adjusting the idle area not 4 separate areas like on some other bikes.



__________________

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

http://www.facebook.com/ecueditorcom



Veteran Member

Status: Offline
Posts: 49
Date:

digislayer wrote:

Hello Petrik and mikaspt! I've been watching this thread, and your thread at another website...t135.com I guess. I own a Yamaha YZF R15 at India, using the same Moric ECU. It's a single cylinder too, just 150cc.

I'm interested in participating in this project too, after seeing your progress so far. Have you ever used the "Yamaha FI Diagnostic tool" on your ECU? It connects to the ECU using a single signal wire to communicate, while the ECU is still connected to the bike(the tool has seperate wires for its own power supply). And with this single wire, it can diagnose the ECU, tell it to operate ALL the parts on the bike for testing purposes, like radiator fan, relays, check throttle sensor's output readings,etc. Also, it can write CO values to the ECU and retrieve previously written CO value from the ECU. The tool can also read live engine temperature, RPM readings and display them while the engine is running. So, it must be the communication channel. Do you know this?




-- Edited by digislayer on Thursday 12th of August 2010 04:57:27 AM



Hello, Digislayer.
yes i know FI TOOL its a dealer Yamaha  to diagnose/remove errors codes and can change the co settings to all fuel map. i think the only settings that this tool change is the intake air sensor or intake air pression sensor so ecu make more rich or more lean fuel mix.
the normal fi tool can't reprogram fuel maps or ignition map.i find in net someone that say Yamaha have 2 kind of fi tool and a advance model can reprogram the unit but this is say buy only a guy i don't know if is true or not.
the Yamaha have a racing ecu that don't have rpm limiter and better fuel map and ignition map too, but only for India market from Daytona, it like to buy this ecu racing so can compare from original maps and this new version. and if i can get one of this Daytona ecu it is very easy too find here rpm are inside the code but my dealer can import this part because are only sell to India. if you know someway that i can buy this racing ecu from Daytona pay with pay pal tell me please.
regards

 



-- Edited by mikaspt on Thursday 12th of August 2010 02:19:25 PM

__________________


Veteran Member

Status: Offline
Posts: 68
Date:

@Petrik: Well, then you must also be knowing which wire the FI tool connects to. I mean, you should be knowing which pin of the ECU the FI tool connects too. Wont it help to try communicating with the ECU using the same pin, with our own hardware? I'm just asking you to consider the fact that the FI tool is able to communicate with the ECU using this pin, and able to pull up all the data and also able to write to the ECU's flash memory. And the CO value affects the combustion throughout the rev range. It's just an increment that the ECU adds to the map at every point.


@mikaspt: Hello! :) Even I heard the same from my dealer..that they have another tool which they can use to modify the ECU map, don't know if it's true.

And yes, you're right. Yamaha does sell a race ECU made by Daytona for the R15 here. But the problem is, it's too expensive..and needs comes bundled only along with the race cams. The Daytona race kit comes as different packages. An "Engine Package" that includes the ECU, Cams, and probably the exhaust too(not sure about the exhaust, can confirm if interested), and the "Body Kit" which includes other parts like brake part upgrades, sprockets,etc.

If you're interested in purchasing, I'll try to ask my dealer here if they can manage to get hold of an ECU for me. But I cant assure you that they sell the ECU without bundling with the camshafts atleast.

__________________
Sunny.


Veteran Member

Status: Offline
Posts: 49
Date:

digislayer wrote:

@Petrik: Well, then you must also be knowing which wire the FI tool connects to. I mean, you should be knowing which pin of the ECU the FI tool connects too. Wont it help to try communicating with the ECU using the same pin, with our own hardware? I'm just asking you to consider the fact that the FI tool is able to communicate with the ECU using this pin, and able to pull up all the data and also able to write to the ECU's flash memory. And the CO value affects the combustion throughout the rev range. It's just an increment that the ECU adds to the map at every point.


@mikaspt: Hello! :) Even I heard the same from my dealer..that they have another tool which they can use to modify the ECU map, don't know if it's true.

And yes, you're right. Yamaha does sell a race ECU made by Daytona for the R15 here. But the problem is, it's too expensive..and needs comes bundled only along with the race cams. The Daytona race kit comes as different packages. An "Engine Package" that includes the ECU, Cams, and probably the exhaust too(not sure about the exhaust, can confirm if interested), and the "Body Kit" which includes other parts like brake part upgrades, sprockets,etc.

If you're interested in purchasing, I'll try to ask my dealer here if they can manage to get hold of an ECU for me. But I cant assure you that they sell the ECU without bundling with the camshafts atleast.




i know the ecu in euros is about 301 . a full devil exhaust i spend 500 so 301 it isn't a bad invest.

 



__________________


Veteran Member

Status: Offline
Posts: 68
Date:

@mikaspt:

Well if you're ready to spend, then I'll ask. And as my opinion.. I think it's too early to think of that ECU for us. Because, there's nothing much that a Daytona ECU does. It just has different maps, custom-made for the Daytona camshafts and exhaust. Also, i dont think it removes the rev-limiter completely(that'd be fatal). It just raises the rev-limiter to 13k RPM.

-- Edited by digislayer on Saturday 14th of August 2010 02:40:21 AM

__________________
Sunny.


Veteran Member

Status: Offline
Posts: 49
Date:

digislayer wrote:

@mikaspt:

Well if you're ready to spend, then I'll ask. And as my opinion.. I think it's too early to think of that ECU for us. Because, there's nothing much that a Daytona ECU does. It just has different maps, custom-made for the Daytona camshafts and exhaust. Also, i dont think it removes the rev-limiter completely(that'd be fatal). It just raises the rev-limiter to 13k RPM.

-- Edited by digislayer on Saturday 14th of August 2010 02:40:21 AM




 

Hello, Dear Digislayer
you are right, if daytona make a ecu reflash so we can make it too.
and for now there isn't a need to buy a racing ecu, lets wait for results.


__________________


Newbie

Status: Offline
Posts: 4
Date:
yamha R-15


HI all
i m an embedded software developer ..
i had been work on lot automotive product like CDIs(for all indian bike).
BCU (body control unit for bajaj pulsar 150,180,220 DTSi)
and now it is on market ..
i am also a big manufacture for electric and electronics part of two wheelers
now ,
i want to make Ecu for two wheeler LIKE yamha R15


for this i had purchase new ecu and remove epoxy
see the microcontroller which is MC9S12T64MPK16   .........
NOW i want to know ------what is function of different microcontroller pins for ECU


for example which microcontroller pins are used for ignitor input,which pin are used for air temperature input which pin are used for starter relay every function of microcontroller pins in Origional ECU (microcontroller pin)

plz help me
Regard
sahil
if u have any detail regard this information mail me :   sahil.infosis@gmail.com

__________________


Guru

Status: Offline
Posts: 2338
Date:
RE: Yamaha/Moric single cylinder ecus ?? YZF R125 in mind



Email sent


__________________

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

http://www.facebook.com/ecueditorcom



Veteran Member

Status: Offline
Posts: 68
Date:

@Sahil: You work at Infosys? And you manufacture ECUs by yourself? Where're you from? I'm doing my final year of B.tech in Computer Sciences, with some experience of microcontrollers. I have all the necessary info about the R15 that you need, maybe we can talk some time.

@Petrik: What's the status so far? How much of progress has been achieved? Is there something that we can help you with? Be it anything, just post it here and we'll do everything we can.

__________________
Sunny.


Guru

Status: Offline
Posts: 2338
Date:

Like said there in previous post, the bdm worked as extpected. Unfortunately renesas tool immediately copies the samlpe program to the host flash - as i dont have any previous experience with freescale falled into the trap. Well I have another spare ecu, so no damage - just learning curve.

So now trying to locate a software package that is really only for reading and writing flash using the bdm.

The best way one could help is to send me a copy of the flash content dumped out of the memory. After that the things shall proceed quickly.


__________________

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

http://www.facebook.com/ecueditorcom



Veteran Member

Status: Offline
Posts: 68
Date:

@Petrik:

I think this can help you:

http://sourceforge.net/projects/hcs12mem/


Also, look at this even though it maynot help you "read" the microcontroller:

http://forums.freescale.com/t5/16-Bit-Microcontrollers/FLASH-Reprogramming-on-S12X/td-p/7805


Hope I could be of some help atleast this way.

__________________
Sunny.


Guru

Status: Offline
Posts: 2338
Date:

Excellent !!! Will try this http://sourceforge.net/projects/hcs12mem/ out soon.

Do you have recommendations how to get or generate 9S12T64 configuration file like mc9s12t64.dat ???



__________________

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

http://www.facebook.com/ecueditorcom



Guru

Status: Offline
Posts: 2338
Date:

Yes, need mc9s12t64.dat

The current additional issues:
- All software give information that RESET line is stuck, moved wire to directly to processor pin also, no change.
- As the pin SPMODE is on the ecu connector, I would assume that it has an yet to be defined meaning that may be important




__________________

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

http://www.facebook.com/ecueditorcom



Veteran Member

Status: Offline
Posts: 68
Date:

Check this link for information about the "reset" option. Check "Note 4" in Page-1.

__________________
Sunny.


Veteran Member

Status: Offline
Posts: 68
Date:

Check this link for information about the "reset" option. Check "Note 4" in Page-1

LINK: http://www.nohau.com/appnotes/hc9s12t64appnote_v2.2.pdf

__________________
Sunny.


Veteran Member

Status: Offline
Posts: 68
Date:

PetriK wrote:

Yes, need mc9s12t64.dat

The current additional issues:
- All software give information that RESET line is stuck, moved wire to directly to processor pin also, no change.
- As the pin SPMODE is on the ecu connector, I would assume that it has an yet to be defined meaning that may be important




Here, I tried making the mc9s12t64.dat file for you:

http://www.box.net/shared/mfyfoiq8cj

Download the file from the above link. Use it with caution, probably on the old ECu which you reflashed with codewarrior. Tell me if it works.


And, check the following link for information about the "reset" option. Check "Note 4" in Page-1

LINK: http://www.nohau.com/appnotes/hc9s12t64appnote_v2.2.pdf

 

 

Regarding SPMODE, I think it should be Serial Peripheral Interface,..maybe unrelevant to us if so. Or else, could it mean System Programming? Did you find out which pin the Yamaha Diagnostic wire connects to on the ECU connector?




-- Edited by digislayer on Monday 16th of August 2010 10:01:36 AM

__________________
Sunny.


Veteran Member

Status: Offline
Posts: 49
Date:

see if this help
http://cid-9c36ba752beb2397.office.live.com/self.aspx/.Public/9S12T64AF16V1.pdf

Modified a diagram of FBDM data transfer in SPI mode

-- Edited by mikaspt on Sunday 15th of August 2010 08:52:16 PM

__________________


Veteran Member

Status: Offline
Posts: 68
Date:

@Petrik:
And I forgot including something:

I have some experience with microcontrollers, and many usually require to be "reset" while the flashing is going to begin. This is because, the microcontrolelr will then boot and detect the signal waiting to access its memory, and hence change its mode as necessary. This "resetting" can be done by turning the microcontroller ON just while the computer begins to search for the microcontroller after the "write" or "read" command.


So, you must try keeping the ECU turned off, and power it ON just as the software begins to try accessing the CPU. This is how it is done with the Yamaha Diagnostic Tool too. You first need to connect the tool through a single wire(probably FBDM) to the ECU, and then turn the ignition ON(thus powering the ECU), while holding down the MODE button on diagnostic tool. So, try this sequence.

__________________
Sunny.


Guru

Status: Offline
Posts: 2338
Date:

Thx - just realized that I have FI tool connected to workbench ECU. That may send some confusing signals too...

If FI tool uses processor memory to a protected ecu there may be a backdoor there too...

How did you generate the .dat ? Have not found any descriptions of it yet.


__________________

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

http://www.facebook.com/ecueditorcom



Veteran Member

Status: Offline
Posts: 68
Date:

Then there's one thing i need to tell you. If you select "DIAG" mode on FI tool, the engine doesn't start on the bike. That means, ECU might be set into a different mode if the FI tool is set into "DIAG" mode. Check that.


And about the config file, I opened the one of the included files with notepad, and found it only contains the information about the location of RAM, FLASH, their sizes, a little general stuff about S12 core. So, I studied the differences between different types of this microcontroller and found how the T64 is different from the others like A64,etc. I then made the required changes in an already included config file and resaved it. Did you try it out?

__________________
Sunny.


Guru

Status: Offline
Posts: 2338
Date:


Reset seems to be the problem ... all software packages give the hint that reset line is not
working.



__________________

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

http://www.facebook.com/ecueditorcom



Veteran Member

Status: Offline
Posts: 68
Date:

Try what I said Petrik.

Try connecting the ECU to the BDM interface with the power supply OFF. Then, power ON the ECU while the interface is trying to access the flash memory.

BTW, can I have your IM ID? Either yahoo or gtalk,etc? I'm not able to wait so long for replies :P We can talk and discuss quicker and work faster that way..we can still post the progress on this thread.

-- Edited by digislayer on Monday 16th of August 2010 05:57:34 PM

__________________
Sunny.


Guru

Status: Offline
Posts: 2338
Date:

Yep - tried resetting the ecu using PSU on trick- but no luck with some 5 retries. There must be more into this. Right now very busy with some other stuff so need to wait for a couple of weeks to get my brains around this really.

I am sorry, but dont have any IM packages in active use, well - skype for voice, but nothing for text. You can drop me an email to ecuhacking@tikkari.net.



__________________

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

http://www.facebook.com/ecueditorcom



Veteran Member

Status: Offline
Posts: 68
Date:

Yeah..I can understand, have seen your other projects too! Plus you have a life.. :)

Anyways, I think the PSU ON trick is what should work. Make sure there's no power leaking from BDM connector into the ECU. I'm sure about this trick because this is how the FI tool works. Even the FI tool requires the ECU to be reset before getting a connection to its flash and sensor data. So, while the ECU is still connected to the bike, we turn the ignition key OFF, connect the FI tool via the ECU's FBDM wire, and the FI tool keeps waiting for connection at this time. Now, the ignition key has to be turned to ON position, and this is when a connection is established and the FI tool's screen displays "connection established" status. Otherwise, if we connect the FI tool to an already ON ecu, the connection will not be established.


So, maybe you're just doing it a little wrong, cos you've never used the FI tool on an ECU connected to the bike.


And well, please do consider registering to an IM service if possible..it'd really help make things better as we can discuss better in lesser time. And please do let me know if you ever register to any IM services.

__________________
Sunny.


Newbie

Status: Offline
Posts: 4
Date:

hi
as i mention earlier that i am an embedded engineer and now with small electric/electronics parts maker (for automobile ) company in india
i had been make various cdi unit and bcu for indian bike now i am going to work on ECU FOR YAMAHA R15 .

i purchase original ECU unit from market and after that i have remove epoxy and clean pcb There are MC9S12T64MPK16   16-bit Microcontroller ....
now my problem is software supporting this MCU
I contact freescale there are codewarrior software but It is not suitable for processor expert  so now this is in pending ...

and if u have any tool to read the program from inside the MCU and reprogram on same fresh MCU tell me
i conveince all of u that i am really interested on same
and u should know i am also BTECH final year student but doing from correspondence

-- Edited by sahil on Tuesday 17th of August 2010 10:13:00 AM

-- Edited by sahil on Tuesday 17th of August 2010 10:29:04 AM

Attachments
__________________


Veteran Member

Status: Offline
Posts: 68
Date:

You mean you make "aftermarket" CDIs? Your mail ID made me think you work for Infosys.. :P

Anyways, maybe you should stop trying to do things all by yourself and participate in the project here. We've made a little progress and are almost at the brink of reading the ECU's contents. Read this thread from the beginning. And yes, Petrik has already achieved establishing connection to the ECU using the BDM interface, but that's only for writing to the ECU.

__________________
Sunny.


Newbie

Status: Offline
Posts: 4
Date:

dear sunny
yep its ok
have u eeprom/flash reading code of ecu YZF R125(orginal) (MC9S12T64MPK16)?
OR u are making the code yourself?

__________________


Veteran Member

Status: Offline
Posts: 49
Date:

PetriK wrote:

Yep - tried resetting the ecu using PSU on trick- but no luck with some 5 retries. There must be more into this. Right now very busy with some other stuff so need to wait for a couple of weeks to get my brains around this really.

I am sorry, but dont have any IM packages in active use, well - skype for voice, but nothing for text. You can drop me an email to ecuhacking@tikkari.net.



Hello, Can you tell me if you use USBDM-JM60 reader and the wires that i post here so i can try the reset mod because i can connect my spare ecu to motorcycle and trying to make reset work.
thanks

 



__________________


Guru

Status: Offline
Posts: 2338
Date:

I am using Univelop HCS12 BDM v1.1. www.cncgeeker.com which is TBDML compatible, the other unit works with codewarrior but not with HCS12 programmer.

The pins are the ones posted above, apparently freescale has a standard pinout that is used on the board too.


__________________

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

http://www.facebook.com/ecueditorcom



Veteran Member

Status: Offline
Posts: 68
Date:

@Petrik:

If this is the interface you're using: http://www.cncgeeker.com/index.php?main_page=product_info&cPath=7_4&products_id=11


Check these points:

1) BDM can power the Target board(in small current) or Target board self-powered.

2) BDM supports target VCC from 3V to 15V.


That means your interface is powering the ECU. This is not what we want initially, I think this is why you're having trouble with reset. Maybe you have an option of disabling this feature in your interface..cos they say "CAN power". If you find such an option, enable it and make sure the interface doesn't power the ECU anymore, then power the ECU directly from a 12V source using the wire harness that you have. Switch on this power supply only when trying to access the FLASH (PSU ON trick).

Alternatively, disconnect the interface and ECU, and connect them only while trying to access the FLASH. Not sure if this will work, just giving you my ideas.


Also, the feature list of this debugger says BDM can use a single wire to connect to the ECU for debugging and still use Codewarrior. If that's true, why dont you try using this feature to connect to the ECU's extarnal pin(the pin that connects to the FI tool, called SELF DIAG pin) ? Try this first.







@Sahil: I'm not trying that stuff, Petrik here is doing it. I dont have a spare ECU or a BDM interface to try it out. Petrik is trying to access the contents of the ECU currently.

__________________
Sunny.


Guru

Status: Offline
Posts: 2338
Date:

Sure - will test when have time.

The thing why not tested yet ist that after erasing the ecu the FI tool is not connecting which means that its not at least much flashing capable - but lets see.

In busa and most suzukis the external tools only change external eeprom, not flash.


__________________

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

http://www.facebook.com/ecueditorcom

1 2 36  >  Last»  | Page of 6  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